mirror of
https://github.com/silverstripe/silverstripe-tagfield
synced 2024-10-22 11:05:32 +02:00
22 lines
481 B
PHP
22 lines
481 B
PHP
|
<?php
|
||
|
|
||
|
namespace SilverStripe\TagField\Tests\Stub;
|
||
|
|
||
|
use SilverStripe\Dev\TestOnly;
|
||
|
use SilverStripe\ORM\DataObject;
|
||
|
use SilverStripe\TagField\Tests\Stub\TagFieldTestBlogTag;
|
||
|
|
||
|
class TagFieldTestBlogPost extends DataObject implements TestOnly
|
||
|
{
|
||
|
private static $table_name = 'TagFieldTestBlogPost';
|
||
|
|
||
|
private static $db = [
|
||
|
'Title' => 'Text',
|
||
|
'Content' => 'Text'
|
||
|
];
|
||
|
|
||
|
private static $many_many = [
|
||
|
'Tags' => TagFieldTestBlogTag::class
|
||
|
];
|
||
|
}
|