silverstripe-framework/tests/php/Dev/YamlFixtureTest/TestDataObject.php
2016-12-19 16:08:19 +13:00

20 lines
425 B
PHP

<?php
namespace SilverStripe\Dev\Tests\YamlFixtureTest;
use SilverStripe\Dev\TestOnly;
use SilverStripe\ORM\DataObject;
class TestDataObject extends DataObject implements TestOnly
{
private static $table_name = 'YamlFixtureTest_TestDataObject';
private static $db = array(
"Name" => "Varchar"
);
private static $many_many = array(
"ManyManyRelation" => DataObjectRelation::class
);
}