summaryrefslogtreecommitdiffstats
path: root/library/Director/Objects/IcingaUserField.php
diff options
context:
space:
mode:
Diffstat (limited to 'library/Director/Objects/IcingaUserField.php')
-rw-r--r--library/Director/Objects/IcingaUserField.php17
1 files changed, 17 insertions, 0 deletions
diff --git a/library/Director/Objects/IcingaUserField.php b/library/Director/Objects/IcingaUserField.php
new file mode 100644
index 0000000..4a6432c
--- /dev/null
+++ b/library/Director/Objects/IcingaUserField.php
@@ -0,0 +1,17 @@
+<?php
+
+namespace Icinga\Module\Director\Objects;
+
+class IcingaUserField extends IcingaObjectField
+{
+ protected $keyName = array('user_id', 'datafield_id');
+
+ protected $table = 'icinga_user_field';
+
+ protected $defaultProperties = array(
+ 'user_id' => null,
+ 'datafield_id' => null,
+ 'is_required' => null,
+ 'var_filter' => null,
+ );
+}