NotificationLog::setTriggerId()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %
Metric Value
dl 0
loc 4
rs 10
cc 1
eloc 2
nc 1
nop 1
1
<?php
2
namespace Monitor\Model;
3
4
/**
5
 * @Entity @Table(name="notification_logs")
6
 **/
7
class NotificationLog
8
{
9
    /**
10
     * @Id @Column(type="integer") @GeneratedValue
11
     **/
12
    private $id;
13
    /**
14
     * @Column(type="integer")
15
     **/
16
    private $trigger_id;
17
    /**
18
     * @Column(type="integer")
19
     **/
20
    private $server_id;
21
    /**
22
     * @Column(type="string")
23
     **/
24
    private $message;
25
    /**
26
     * @Column(type="integer")
27
     **/
28
    private $created;
29
30
    public function getId()
31
    {
32
        return $this->id;
33
    }
34
35
    public function getTriggerId()
36
    {
37
        return $this->trigger_id;
38
    }
39
40
    public function getServerId()
41
    {
42
        return $this->server_id;
43
    }
44
45
    public function getMessage()
46
    {
47
        return $this->message;
48
    }
49
50
    public function setTriggerId($triggerId)
51
    {
52
        $this->trigger_id = $triggerId;
53
    }
54
55
    public function setServerId($serverId)
56
    {
57
        $this->server_id = $serverId;
58
    }
59
    public function setMessage($text)
60
    {
61
        $this->message = $text;
62
    }
63
64
    public function setCreated($created)
65
    {
66
        $this->created = $created;
67
    }
68
}
69