mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
22 lines
618 B
PHP
22 lines
618 B
PHP
<?php
|
|
|
|
namespace SilverStripe\ORM\Tests\DataQueryTest;
|
|
|
|
use SilverStripe\Dev\TestOnly;
|
|
use SilverStripe\ORM\DataObject;
|
|
|
|
class ObjectHasMultiRelationalHasMany extends DataObject implements TestOnly
|
|
{
|
|
private static string $table_name = 'DataQueryTest_ObjectHasMultiRelationalHasMany';
|
|
|
|
private static array $db = [
|
|
'Name' => 'Varchar',
|
|
'SortOrder' => 'Int',
|
|
];
|
|
|
|
private static array $has_many = [
|
|
'MultiRelational1' => ObjectHasMultiRelationalHasOne::class . '.MultiRelational',
|
|
'MultiRelational2' => ObjectHasMultiRelationalHasOne::class . '.MultiRelational',
|
|
];
|
|
}
|