silverstripe-dms/code/DMSTag.php
2012-07-17 17:58:33 +12:00

15 lines
274 B
PHP

<?php
/**
* Hold a set of metadata category/value tags associated with a DMSDocument
*/
class DMSTag extends DataObject {
static $db = array(
'Category' => 'varchar(1024)',
'Value' => 'varchar(1024)'
);
static $has_one = array(
'Document' => 'DMSDocument'
);
}