silverstripe-framework/tests/php/ORM/DataListTest/EagerLoading/MixedHasManyEagerLoadObject.php
2023-07-17 12:03:09 +12:00

21 lines
531 B
PHP

<?php
namespace SilverStripe\ORM\Tests\DataListTest\EagerLoading;
use SilverStripe\ORM\DataObject;
use SilverStripe\Dev\TestOnly;
class MixedHasManyEagerLoadObject extends DataObject implements TestOnly
{
private static $table_name = 'MixedHasManyEagerLoadObject';
private static $db = [
'Title' => 'Varchar'
];
private static $has_one = [
'MixedManyManyEagerLoadObject' => MixedManyManyEagerLoadObject::class,
'MixedHasOneEagerLoadObject' => MixedHasOneEagerLoadObject::class
];
}