IcingaServiceAssignment: new dedicated object type
This commit is contained in:
parent
51916192a9
commit
cef7090666
|
@ -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…
Reference in New Issue