silverstripe-framework/tests/php/ORM/DataObjectTest/CEO.php
2018-01-16 18:39:30 +00:00

15 lines
348 B
PHP

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