silverstripe-framework/tests/php/ORM/DBCompositeTest/TestObject.php

18 lines
380 B
PHP
Raw Normal View History

2016-10-14 03:30:05 +02:00
<?php
namespace SilverStripe\ORM\Tests\DBCompositeTest;
use SilverStripe\Dev\TestOnly;
use SilverStripe\ORM\DataObject;
class TestObject extends DataObject implements TestOnly
{
private static $table_name = 'DBCompositeTest_DataObject';
2016-10-14 03:30:05 +02:00
private static $db = array(
'Title' => 'Text',
'MyMoney' => 'Money',
'OverriddenMoney' => 'Money'
);
2016-10-14 03:30:05 +02:00
}