mirror of
https://github.com/symbiote/silverstripe-gridfieldextensions.git
synced 2024-10-22 17:05:39 +02:00
22 lines
489 B
PHP
22 lines
489 B
PHP
|
<?php
|
||
|
|
||
|
namespace Symbiote\GridFieldExtensions\Tests\Stub;
|
||
|
|
||
|
use SilverStripe\ORM\DataObject;
|
||
|
use SilverStripe\ORM\FieldType\DBInt;
|
||
|
use SilverStripe\Dev\TestOnly;
|
||
|
|
||
|
class ThroughIntermediary extends DataObject implements TestOnly
|
||
|
{
|
||
|
private static $table_name = 'IntermediaryThrough';
|
||
|
|
||
|
private static $db = [
|
||
|
'Sort' => DBInt::class,
|
||
|
];
|
||
|
|
||
|
private static $has_one = [
|
||
|
'Defining' => ThroughDefiner::class,
|
||
|
'Belonging' => ThroughBelongs::class,
|
||
|
];
|
||
|
}
|