mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-27 07:44:05 +02:00
IcingaServiceAssignment: new dedicated object type
This commit is contained in:
parent
51916192a9
commit
cef7090666
18
library/Director/Objects/IcingaServiceAssignment.php
Normal file
18
library/Director/Objects/IcingaServiceAssignment.php
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
namespace Icinga\Module\Director\Objects;
|
||||||
|
|
||||||
|
class IcingaServiceAssignment extends IcingaObject
|
||||||
|
{
|
||||||
|
protected $table = 'icinga_service_assignment';
|
||||||
|
|
||||||
|
protected $defaultProperties = array(
|
||||||
|
'id' => null,
|
||||||
|
'service_id' => null,
|
||||||
|
'filter_string' => null,
|
||||||
|
);
|
||||||
|
|
||||||
|
protected $relations = array(
|
||||||
|
'service' => 'IcingaService',
|
||||||
|
);
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user