mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-09-06 09:41:36 +02:00
24 lines
530 B
PHP
24 lines
530 B
PHP
<?php
|
|
|
|
namespace SilverStripe\Forms\Tests\FormScaffolderTest;
|
|
|
|
use SilverStripe\Dev\TestOnly;
|
|
use SilverStripe\ORM\DataObject;
|
|
|
|
class Tag extends DataObject implements TestOnly
|
|
{
|
|
private static $table_name = 'FormScaffolderTest_Tag';
|
|
|
|
private static $db = [
|
|
'Title' => 'Varchar',
|
|
];
|
|
|
|
private static $belongs_many_many = [
|
|
'Articles' => Article::class
|
|
];
|
|
|
|
private static $has_many = [
|
|
'SubjectOfArticles' => 'SilverStripe\\Forms\\Tests\\FormScaffolderTest\\Article.Subject'
|
|
];
|
|
}
|