silverstripe-framework/tests/php/ORM/DataObjectTest/EquipmentCompany.php

22 lines
475 B
PHP
Raw Normal View History

2016-10-14 03:30:05 +02:00
<?php
namespace SilverStripe\ORM\Tests\DataObjectTest;
use SilverStripe\Dev\TestOnly;
class EquipmentCompany extends Company implements TestOnly
{
private static $table_name = 'DataObjectTest_EquipmentCompany';
2016-10-14 03:30:05 +02:00
private static $many_many = [
'SponsoredTeams' => Team::class,
'EquipmentCustomers' => Team::class
];
2016-10-14 03:30:05 +02:00
private static $many_many_extraFields = [
'SponsoredTeams' => [
'SponsorFee' => 'Int'
]
];
2016-10-14 03:30:05 +02:00
}