1 | <?php |
||
7 | class Trigger |
||
8 | { |
||
9 | /** |
||
10 | * @Id @Column(type="integer") @GeneratedValue |
||
11 | **/ |
||
12 | private $id; |
||
13 | /** |
||
14 | * @Column(type="integer") |
||
15 | **/ |
||
16 | private $notification_id; |
||
17 | /** |
||
18 | * @Column(type="string") |
||
19 | **/ |
||
20 | private $value; |
||
21 | /** |
||
22 | * @Column(type="string") |
||
23 | **/ |
||
24 | private $name; |
||
25 | /** |
||
26 | * @Column(type="string") |
||
27 | **/ |
||
28 | private $serviceName; |
||
29 | /** |
||
30 | * @Column(type="string") |
||
31 | **/ |
||
32 | private $operator; |
||
33 | /** |
||
34 | * @Column(type="string") |
||
35 | **/ |
||
36 | private $type; |
||
37 | |||
38 | /** |
||
39 | * Return properties |
||
40 | * |
||
41 | * @return array |
||
42 | */ |
||
43 | public function toArray() |
||
52 | |||
53 | public function getId() |
||
57 | |||
58 | public function setName($name) |
||
62 | |||
63 | public function getNotificationId() |
||
67 | |||
68 | public function getServiceName() |
||
72 | |||
73 | public function getType() |
||
77 | |||
78 | public function getValue() |
||
82 | |||
83 | public function getOperator() |
||
87 | } |
||
88 |