silverstripe-frameworktest/code/fields/NestedGridField/RootNode.php
2024-05-24 15:50:18 +12:00

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,
];
}