silverstripe-framework/tests/php/ORM/RelatedDataServiceTest/SelfReferentialNode.php

19 lines
426 B
PHP
Raw Normal View History

2020-10-28 21:29:26 +01:00
<?php
namespace SilverStripe\ORM\Tests\RelatedDataServiceTest;
class SelfReferentialNode extends Node
{
private static $table_name = 'TestOnly_RelatedDataServiceTest_SelfReferentialNode';
private static $has_one = [
'HOA' => Node::class,
'HOB' => SelfReferentialNode::class
];
private static $many_many = [
'MMA' => Node::class,
'MMB' => SelfReferentialNode::class
];
}