mirror of
https://github.com/silverstripe/silverstripe-comments
synced 2024-10-22 11:05:49 +02:00
20 lines
375 B
PHP
20 lines
375 B
PHP
|
<?php
|
||
|
|
||
|
namespace SilverStripe\Comments\Tests\Stubs;
|
||
|
|
||
|
use SilverStripe\Dev\TestOnly;
|
||
|
use SilverStripe\ORM\DataObject;
|
||
|
|
||
|
class Cheerleader extends DataObject implements TestOnly
|
||
|
{
|
||
|
private static $table_name = 'CommentsTest_Cheerleader';
|
||
|
|
||
|
private static $db = [
|
||
|
'Name' => 'Varchar',
|
||
|
];
|
||
|
|
||
|
private static $has_one = [
|
||
|
'Team' => Team::class,
|
||
|
];
|
||
|
}
|