mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-09-06 09:41:36 +02:00
22 lines
579 B
PHP
22 lines
579 B
PHP
<?php
|
|
|
|
namespace SilverStripe\Forms\Tests\FormScaffolderTest;
|
|
|
|
use SilverStripe\Assets\Image;
|
|
use SilverStripe\Dev\TestOnly;
|
|
use SilverStripe\Security\Member;
|
|
|
|
class Author extends Member implements TestOnly
|
|
{
|
|
private static $table_name = 'FormScaffolderTest_Author';
|
|
|
|
private static $has_one = [
|
|
'ProfileImage' => Image::class
|
|
];
|
|
|
|
private static $has_many = [
|
|
'Articles' => 'SilverStripe\\Forms\\Tests\\FormScaffolderTest\\Article.Author',
|
|
'SubjectOfArticles' => 'SilverStripe\\Forms\\Tests\\FormScaffolderTest\\Article.Subject'
|
|
];
|
|
}
|