silverstripe-framework/tests/php/Model/List/MapTest/TeamComment.php
Guy Sartorelli e2e32317d6
API Move various classes to more appropriate namespaces (#11370)
Also rename ViewableData to ModelData ahead of the template layer
lift-and-shift
2024-09-23 14:31:50 +12:00

23 lines
451 B
PHP

<?php
namespace SilverStripe\Model\Tests\List\MapTest;
use SilverStripe\Dev\TestOnly;
use SilverStripe\ORM\DataObject;
class TeamComment extends DataObject implements TestOnly
{
private static $table_name = 'MapTest_TeamComment';
private static $db = [
'Name' => 'Varchar',
'Comment' => 'Text'
];
private static $has_one = [
'Team' => Team::class
];
private static $default_sort = '"Name" ASC';
}