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

15 lines
343 B
PHP
Raw Normal View History

2016-10-14 03:30:05 +02:00
<?php
namespace SilverStripe\ORM\Tests\DataObjectTest;
class CEO extends Staff
{
private static $table_name = 'DataObjectTest_CEO';
2016-10-14 03:30:05 +02:00
private static $belongs_to = [
2018-01-16 19:39:30 +01:00
'Company' => Company::class . '.CEO',
'PreviousCompany' => Company::class . '.PreviousCEO',
'CompanyOwned' => Company::class . '.Owner'
];
2016-10-14 03:30:05 +02:00
}