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

20 lines
415 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 TestDataObject extends DataObject implements TestOnly
{
private static $table_name = 'YamlFixtureTest_TestDataObject';
2016-10-14 03:30:05 +02:00
private static $db = [
"Name" => "Varchar"
];
2016-10-14 03:30:05 +02:00
private static $many_many = [
"ManyManyRelation" => DataObjectRelation::class
];
2016-10-14 03:30:05 +02:00
}