mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-09-06 01:31:22 +02:00
18 lines
353 B
PHP
18 lines
353 B
PHP
|
<?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';
|
||
|
|
||
|
private static $db = array(
|
||
|
'Title' => 'Text',
|
||
|
'MyMoney' => 'Money',
|
||
|
'OverriddenMoney' => 'Money'
|
||
|
);
|
||
|
}
|