silverstripe-framework/tests/php/ORM/DataObjectTest/EquipmentCompany.php
2016-12-19 16:08:19 +13:00

22 lines
490 B
PHP

<?php
namespace SilverStripe\ORM\Tests\DataObjectTest;
use SilverStripe\Dev\TestOnly;
class EquipmentCompany extends Company implements TestOnly
{
private static $table_name = 'DataObjectTest_EquipmentCompany';
private static $many_many = array(
'SponsoredTeams' => Team::class,
'EquipmentCustomers' => Team::class
);
private static $many_many_extraFields = array(
'SponsoredTeams' => array(
'SponsorFee' => 'Int'
)
);
}