mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-09-06 01:31:22 +02:00
22 lines
413 B
PHP
22 lines
413 B
PHP
<?php
|
|
|
|
namespace SilverStripe\ORM\Tests\DataExtensionTest;
|
|
|
|
use SilverStripe\Dev\TestOnly;
|
|
use SilverStripe\ORM\DataObject;
|
|
|
|
class RelatedObject extends DataObject implements TestOnly
|
|
{
|
|
private static $table_name = 'DataExtensionTest_RelatedObject';
|
|
|
|
private static $db = array(
|
|
"FieldOne" => "Varchar",
|
|
"FieldTwo" => "Varchar"
|
|
);
|
|
|
|
private static $has_one = array(
|
|
"Contact" => TestMember::class
|
|
);
|
|
|
|
}
|