mirror of
https://github.com/silverstripe/silverstripe-tagfield
synced 2024-10-22 11:05:32 +02:00
23 lines
541 B
PHP
23 lines
541 B
PHP
|
<?php
|
||
|
|
||
|
namespace SilverStripe\TagField\Tests\Stub;
|
||
|
|
||
|
use SilverStripe\Dev\TestOnly;
|
||
|
use SilverStripe\ORM\DataObject;
|
||
|
use SilverStripe\TagField\Tests\Stub\TagFieldTestBlogPost;
|
||
|
|
||
|
class TagFieldTestBlogTag extends DataObject implements TestOnly
|
||
|
{
|
||
|
private static $table_name = 'TagFieldTestBlogTag';
|
||
|
|
||
|
private static $default_sort = '"TagFieldTestBlogTag"."ID" ASC';
|
||
|
|
||
|
private static $db = [
|
||
|
'Title' => 'Varchar(200)'
|
||
|
];
|
||
|
|
||
|
private static $belongs_many_many = [
|
||
|
'BlogPosts' => TagFieldTestBlogPost::class
|
||
|
];
|
||
|
}
|