silverstripe-dms/code/DMSTag.php

15 lines
274 B
PHP
Raw Normal View History

<?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'
);
}