silverstripe-framework/tests/php/ORM/DataObjectSchemaGenerationTest/SortedObject.php
2018-01-16 11:47:39 +00:00

19 lines
414 B
PHP

<?php
namespace SilverStripe\ORM\Tests\DataObjectSchemaGenerationTest;
use SilverStripe\Dev\TestOnly;
use SilverStripe\ORM\DataObject;
class SortedObject extends DataObject implements TestOnly
{
private static $table_name = 'DataObjectSchemaGenerationTest_SortedObject';
private static $db = [
'Title' => 'Varchar',
'Sort' => 'Int',
];
private static $default_sort = 'Sort';
}