Test Setup Failed
Push — master ( 940fec...0a7a66 )
by Vragov
02:48
created

Message::getStaffId()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
eloc 2
nc 1
nop 0
1
<?php
2
3
namespace OmnideskBundle\Entity;
4
5
/**
6
 * Class Message
7
 * @package OmnideskBundle\Entity
8
 */
9
class Message
10
{
11
    /**
12
     * @var int
13
     */
14
    private $id;
15
16
    /**
17
     * @var int
18
     */
19
    private $userId;
20
21
    /**
22
     * @var int
23
     */
24
    private $staffId;
25
26
    /**
27
     * @var string
28
     */
29
    private $content;
30
31
    /**
32
     * @var string
33
     */
34
    private $contentHtml;
35
36
    /**
37
     * @var array
38
     */
39
    private $attachments;
40
41
    /**
42
     * @var string
43
     */
44
    private $note;
45
46
    /**
47
     * @var \DateTime
48
     */
49
    private $createdAt;
50
51
    /**
52
     * @return int
53
     */
54
    public function getId()
55
    {
56
        return $this->id;
57
    }
58
59
    /**
60
     * @param int $id
61
     * @return $this
62
     */
63
    public function setId($id)
64
    {
65
        $this->id = $id;
66
67
        return $this;
68
    }
69
70
    /**
71
     * @return int
72
     */
73
    public function getUserId()
74
    {
75
        return $this->userId;
76
    }
77
78
    /**
79
     * @param int $userId
80
     * @return $this
81
     */
82
    public function setUserId($userId)
83
    {
84
        $this->userId = $userId;
85
86
        return $this;
87
    }
88
89
    /**
90
     * @return int
91
     */
92
    public function getStaffId()
93
    {
94
        return $this->staffId;
95
    }
96
97
    /**
98
     * @param int $staffId
99
     * @return $this
100
     */
101
    public function setStaffId($staffId)
102
    {
103
        $this->staffId = $staffId;
104
105
        return $this;
106
    }
107
108
    /**
109
     * @return string
110
     */
111
    public function getContent()
112
    {
113
        return $this->content;
114
    }
115
116
    /**
117
     * @param string $content
118
     * @return $this
119
     */
120
    public function setContent($content)
121
    {
122
        $this->content = $content;
123
124
        return $this;
125
    }
126
127
    /**
128
     * @return string
129
     */
130
    public function getContentHtml()
131
    {
132
        return $this->contentHtml;
133
    }
134
135
    /**
136
     * @param string $contentHtml
137
     * @return $this
138
     */
139
    public function setContentHtml($contentHtml)
140
    {
141
        $this->contentHtml = $contentHtml;
142
143
        return $this;
144
    }
145
146
    /**
147
     * @return array
148
     */
149
    public function getAttachments()
150
    {
151
        return $this->attachments;
152
    }
153
154
    /**
155
     * @param array $attachments
156
     * @return $this
157
     */
158
    public function setAttachments($attachments)
159
    {
160
        $this->attachments = $attachments;
161
162
        return $this;
163
    }
164
165
    /**
166
     * @return string
167
     */
168
    public function getNote()
169
    {
170
        return $this->note;
171
    }
172
173
    /**
174
     * @param string $note
175
     * @return $this
176
     */
177
    public function setNote($note)
178
    {
179
        $this->note = $note;
180
181
        return $this;
182
    }
183
184
    /**
185
     * @return \DateTime
186
     */
187
    public function getCreatedAt()
188
    {
189
        return $this->createdAt;
190
    }
191
192
    /**
193
     * @param \DateTime $createdAt
194
     * @return $this
195
     */
196
    public function setCreatedAt(\DateTime $createdAt)
197
    {
198
        $this->createdAt = $createdAt;
199
200
        return $this;
201
    }
202
}
203