1 | <?php |
||
8 | class Group |
||
9 | { |
||
10 | /** |
||
11 | * @var integer |
||
12 | */ |
||
13 | private $id; |
||
14 | |||
15 | /** |
||
16 | * @var string |
||
17 | */ |
||
18 | private $title; |
||
19 | |||
20 | /** |
||
21 | * @var string|null |
||
22 | */ |
||
23 | private $fromName; |
||
24 | |||
25 | /** |
||
26 | * @var string|null |
||
27 | */ |
||
28 | private $signature; |
||
29 | |||
30 | /** |
||
31 | * @var bool |
||
32 | */ |
||
33 | private $active; |
||
34 | |||
35 | /** |
||
36 | * @var \DateTime |
||
37 | */ |
||
38 | private $createdAt; |
||
39 | |||
40 | /** |
||
41 | * @var \DateTime |
||
42 | */ |
||
43 | private $updatedAt; |
||
44 | |||
45 | /** |
||
46 | * @return int |
||
47 | */ |
||
48 | public function getId() |
||
52 | |||
53 | /** |
||
54 | * @param int $id |
||
55 | * @return $this |
||
56 | */ |
||
57 | public function setId(int $id) |
||
63 | |||
64 | /** |
||
65 | * @return string |
||
66 | */ |
||
67 | public function getTitle(): string |
||
71 | |||
72 | /** |
||
73 | * @param string $title |
||
74 | * @return $this |
||
75 | */ |
||
76 | public function setTitle(string $title) |
||
82 | |||
83 | /** |
||
84 | * @return null|string |
||
85 | */ |
||
86 | public function getFromName() |
||
90 | |||
91 | /** |
||
92 | * @param null|string $fromName |
||
93 | * @return $this |
||
94 | */ |
||
95 | public function setFromName(string $fromName = null) |
||
101 | |||
102 | /** |
||
103 | * @return null|string |
||
104 | */ |
||
105 | public function getSignature() |
||
109 | |||
110 | /** |
||
111 | * @param null|string $signature |
||
112 | * @return $this |
||
113 | */ |
||
114 | public function setSignature(string $signature = null) |
||
120 | |||
121 | /** |
||
122 | * @return bool |
||
123 | */ |
||
124 | public function isActive() |
||
128 | |||
129 | /** |
||
130 | * @param bool $active |
||
131 | * @return $this |
||
132 | */ |
||
133 | public function setActive(bool $active) |
||
139 | |||
140 | /** |
||
141 | * @return \DateTime |
||
142 | */ |
||
143 | public function getCreatedAt() |
||
147 | |||
148 | /** |
||
149 | * @param \DateTime $createdAt |
||
150 | * @return $this |
||
151 | */ |
||
152 | public function setCreatedAt(\DateTime $createdAt) |
||
158 | |||
159 | /** |
||
160 | * @return \DateTime |
||
161 | */ |
||
162 | public function getUpdatedAt() |
||
166 | |||
167 | /** |
||
168 | * @param \DateTime $updatedAt |
||
169 | * @return $this |
||
170 | */ |
||
171 | public function setUpdatedAt(\DateTime $updatedAt) |
||
177 | } |
||
178 |