silverstripe-framework/tests/php/Forms/CheckboxFieldtest/MutiEnumArticle.php
2020-04-20 18:58:09 +01:00

17 lines
386 B
PHP

<?php
namespace SilverStripe\Forms\Tests\CheckboxSetFieldTest;
use SilverStripe\Dev\TestOnly;
use SilverStripe\ORM\DataObject;
class MultiEnumArticle extends DataObject implements TestOnly
{
private static $table_name = 'CheckboxSetFieldTest_MultiEnumArticle';
private static $db = [
"Content" => "Text",
"Colours" => "MultiEnum('Red,Blue,Green')",
];
}