silverstripe-framework/tests/php/ORM/DataObjectSchemaGenerationTest/SortedObject.php

19 lines
414 B
PHP
Raw Normal View History

2018-01-16 11:31:50 +01:00
<?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';
}