diff options
Diffstat (limited to 'library/Director/Objects/IcingaUserGroup.php')
-rw-r--r-- | library/Director/Objects/IcingaUserGroup.php | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/library/Director/Objects/IcingaUserGroup.php b/library/Director/Objects/IcingaUserGroup.php new file mode 100644 index 0000000..656235a --- /dev/null +++ b/library/Director/Objects/IcingaUserGroup.php @@ -0,0 +1,29 @@ +<?php + +namespace Icinga\Module\Director\Objects; + +class IcingaUserGroup extends IcingaObjectGroup +{ + protected $table = 'icinga_usergroup'; + + protected $uuidColumn = 'uuid'; + + protected $defaultProperties = [ + 'id' => null, + 'uuid' => null, + 'object_name' => null, + 'object_type' => null, + 'disabled' => 'n', + 'display_name' => null, + 'zone_id' => null, + ]; + + protected $relations = [ + 'zone' => 'IcingaZone', + ]; + + protected function prefersGlobalZone() + { + return false; + } +} |