Skip to content

Commit

Permalink
fixed ServiceJobTemplate scopeType column
Browse files Browse the repository at this point in the history
  • Loading branch information
Mararok committed Oct 5, 2018
1 parent 511664e commit ba7ba55
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
17 changes: 17 additions & 0 deletions src/SAREhub/Servitiom/Entity/Service/ServiceJobScopeType.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<?php
/**
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/

namespace SAREhub\Servitiom\Entity\Service;


use MyCLabs\Enum\Enum;

class ServiceJobScopeType extends Enum
{
const SERVICE = "service";
const INSTANCE = "instance";
}
5 changes: 5 additions & 0 deletions src/SAREhub/Servitiom/Entity/Service/ServiceJobTemplate.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,11 @@ class ServiceJobTemplate
* @var string
*/
private $name;

/**
* @Column(type=ServiceJobScopeType::class, length=255)
* @var ServiceJobScopeType
*/
private $scopeType;

/**
Expand Down

0 comments on commit ba7ba55

Please sign in to comment.