2015-06-02 08:19:05 -04:00
|
|
|
<?php
|
|
|
|
|
|
|
|
|
|
namespace Icinga\Module\Director\Objects;
|
|
|
|
|
|
2016-03-09 14:53:57 -05:00
|
|
|
class IcingaUserGroup extends IcingaObjectGroup
|
2015-06-02 08:19:05 -04:00
|
|
|
{
|
|
|
|
|
protected $table = 'icinga_usergroup';
|
2016-05-02 04:26:41 -04:00
|
|
|
|
2021-10-05 12:19:01 -04:00
|
|
|
protected $uuidColumn = 'uuid';
|
|
|
|
|
|
2018-06-08 14:45:02 -04:00
|
|
|
protected $defaultProperties = [
|
2016-10-28 19:29:33 -04:00
|
|
|
'id' => null,
|
2021-10-05 12:19:01 -04:00
|
|
|
'uuid' => null,
|
2016-10-28 19:29:33 -04:00
|
|
|
'object_name' => null,
|
|
|
|
|
'object_type' => null,
|
|
|
|
|
'disabled' => 'n',
|
|
|
|
|
'display_name' => null,
|
2018-07-13 04:35:28 -04:00
|
|
|
'zone_id' => null,
|
2018-06-08 14:45:02 -04:00
|
|
|
];
|
2016-10-28 19:29:33 -04:00
|
|
|
|
2018-07-13 04:35:28 -04:00
|
|
|
protected $relations = [
|
|
|
|
|
'zone' => 'IcingaZone',
|
|
|
|
|
];
|
2018-11-13 09:32:53 -05:00
|
|
|
|
|
|
|
|
protected function prefersGlobalZone()
|
|
|
|
|
{
|
|
|
|
|
return false;
|
|
|
|
|
}
|
2015-06-02 08:19:05 -04:00
|
|
|
}
|