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