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

22 lines
490 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 = array(
'SponsoredTeams' => Team::class,
'EquipmentCustomers' => Team::class
);
2016-10-14 03:30:05 +02:00
private static $many_many_extraFields = array(
'SponsoredTeams' => array(
'SponsorFee' => 'Int'
)
);
2016-10-14 03:30:05 +02:00
}