silverstripe-framework/tests/php/ORM/DataObjectTest/EquipmentCompany.php
2016-11-23 19:25:12 +13:00

22 lines
442 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'
)
);
}