mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
22 lines
442 B
PHP
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'
|
|
)
|
|
);
|
|
}
|