silverstripe-framework/tests/php/ORM/DataObjectTest/CEO.php
2020-04-20 18:58:09 +01:00

15 lines
343 B
PHP

<?php
namespace SilverStripe\ORM\Tests\DataObjectTest;
class CEO extends Staff
{
private static $table_name = 'DataObjectTest_CEO';
private static $belongs_to = [
'Company' => Company::class . '.CEO',
'PreviousCompany' => Company::class . '.PreviousCEO',
'CompanyOwned' => Company::class . '.Owner'
];
}