mirror of
https://github.com/silverstripe/silverstripe-dms
synced 2024-10-22 14:05:56 +02:00
17 lines
334 B
PHP
17 lines
334 B
PHP
<?php
|
|
/**
|
|
* Hold a set of metadata category/value tags associated with a DMSDocument
|
|
*/
|
|
class DMSTag extends DataObject {
|
|
|
|
private static $db = array(
|
|
'Category' => 'Varchar(1024)',
|
|
'Value' => 'Varchar(1024)',
|
|
'MultiValue' => 'Boolean(1)'
|
|
);
|
|
|
|
private static $belongs_many_many = array(
|
|
'Documents' => 'DMSDocument'
|
|
);
|
|
}
|