mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
24 lines
487 B
PHP
24 lines
487 B
PHP
<?php
|
|
|
|
namespace SilverStripe\Dev\Tests\FixtureFactoryTest;
|
|
|
|
use SilverStripe\Dev\TestOnly;
|
|
use SilverStripe\ORM\DataObject;
|
|
|
|
class DataObjectRelation extends DataObject implements TestOnly
|
|
{
|
|
private static $db = array(
|
|
"Name" => "Varchar"
|
|
);
|
|
|
|
private static $table_name = 'FixtureFactoryTest_DataObjectRelation';
|
|
|
|
private static $belongs_many_many = array(
|
|
"TestParent" => TestDataObject::class
|
|
);
|
|
|
|
private static $has_one = array(
|
|
'MyParent' => TestDataObject::class
|
|
);
|
|
}
|