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

15 lines
342 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'
);
}