mirror of
https://github.com/silverstripe/silverstripe-frameworktest
synced 2024-10-22 11:06:02 +02:00
19 lines
337 B
PHP
19 lines
337 B
PHP
<?php
|
|
|
|
namespace SilverStripe\FrameworkTest\Fields\NestedGridField;
|
|
|
|
use SilverStripe\ORM\DataObject;
|
|
|
|
class RootNode extends DataObject
|
|
{
|
|
private static $table_name = 'NestedGridField_RootNode';
|
|
|
|
private static $db = [
|
|
'Name' => 'Varchar(50)',
|
|
];
|
|
|
|
private static $has_many = [
|
|
'BranchNodes' => BranchNode::class,
|
|
];
|
|
}
|