mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
19 lines
426 B
PHP
19 lines
426 B
PHP
<?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
|
|
];
|
|
}
|