mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
16 lines
413 B
PHP
16 lines
413 B
PHP
<?php
|
|
|
|
namespace SilverStripe\ORM\Tests\RelatedDataServiceTest;
|
|
|
|
use SilverStripe\ORM\DataObject;
|
|
|
|
class ThroughObjectPolymorphic extends Node
|
|
{
|
|
private static $table_name = 'TestOnly_RelatedDataServiceTest_ThroughObjectPolymorphic';
|
|
|
|
private static $has_one = [
|
|
'Parent' => DataObject::class, // Will create a ParentID column + ParentColumn Enum column
|
|
'NodeObj' => Node::class,
|
|
];
|
|
}
|