IcingaNotification: add related users and -_groups

This commit is contained in:
Thomas Gelf 2016-03-16 13:02:45 +01:00
parent 5861788420
commit 8336d16d98
1 changed files with 5 additions and 0 deletions

View File

@ -36,6 +36,11 @@ class IcingaNotification extends IcingaObject
'types' => 'TypeFilterSet',
);
protected $multiRelations = array(
'users' => 'IcingaUser',
'user_groups' => 'IcingaUserGroup',
);
protected $relations = array(
'zone' => 'IcingaZone',
'host' => 'IcingaHost',