silverstripe-framework/tests/php/Dev/YamlFixtureTest/DataObjectRelation.php

19 lines
430 B
PHP
Raw Normal View History

2016-10-14 03:30:05 +02:00
<?php
namespace SilverStripe\Dev\Tests\YamlFixtureTest;
use SilverStripe\Dev\TestOnly;
use SilverStripe\ORM\DataObject;
class DataObjectRelation extends DataObject implements TestOnly
{
private static $table_name = 'YamlFixtureTest_DataObjectRelation';
2016-10-14 03:30:05 +02:00
private static $db = array(
"Name" => "Varchar"
);
private static $belongs_many_many = array(
"TestParent" => TestDataObject::class
);
2016-10-14 03:30:05 +02:00
}