silverstripe-framework/tests/php/Forms/GridField/GridFieldTest/Cheerleader.php

20 lines
390 B
PHP
Raw Normal View History

2016-10-14 03:30:05 +02:00
<?php
namespace SilverStripe\Forms\Tests\GridField\GridFieldTest;
use SilverStripe\Dev\TestOnly;
use SilverStripe\ORM\DataObject;
class Cheerleader extends DataObject implements TestOnly
{
private static $table_name = 'GridFieldTest_Cheerleader';
2016-10-14 03:30:05 +02:00
private static $db = [
'Name' => 'Varchar'
];
2016-10-14 03:30:05 +02:00
private static $has_one = [
'Team' => Team::class,
];
2016-10-14 03:30:05 +02:00
}