IcingaServiceAssignment: new dedicated object type

This commit is contained in:
Thomas Gelf 2016-03-06 14:22:47 +01:00
parent 51916192a9
commit cef7090666
1 changed files with 18 additions and 0 deletions

View 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',
);
}