1 | <?php |
||
18 | class Birthday |
||
19 | { |
||
20 | /** |
||
21 | * @ORM\Id |
||
22 | * @ORM\GeneratedValue(strategy="CUSTOM") |
||
23 | * @ORM\CustomIdGenerator(class="MpaCustomDoctrineHydratorTest\Assets\Entity\CustomGenerator") |
||
24 | * @ORM\Column(type="integer") |
||
25 | */ |
||
26 | protected $identifier; |
||
27 | |||
28 | /** |
||
29 | * @var \DateTime |
||
30 | * |
||
31 | * @ORM\Column(type="date", nullable=false) |
||
32 | */ |
||
33 | protected $date; |
||
34 | |||
35 | /** |
||
36 | * @var \DateTime |
||
37 | * |
||
38 | * @ORM\Column(type="datetimetz", nullable=false) |
||
39 | */ |
||
40 | protected $datetimetz; |
||
41 | |||
42 | /** |
||
43 | * @var \DateTime |
||
44 | * |
||
45 | * @ORM\Column(type="datetime", nullable=false) |
||
46 | */ |
||
47 | protected $meeting; |
||
48 | |||
49 | /** |
||
50 | * @var \DateTime |
||
51 | * |
||
52 | * @ORM\Column(type="time", nullable=false) |
||
53 | */ |
||
54 | protected $time; |
||
55 | |||
56 | /** |
||
57 | * @var string |
||
58 | * |
||
59 | * @ORM\Column(type="string", nullable=true, length=23) |
||
60 | */ |
||
61 | protected $name; |
||
62 | |||
63 | /** |
||
64 | * @var int |
||
65 | * |
||
66 | * @ORM\Column(type="integer", nullable=true) |
||
67 | */ |
||
68 | protected $age; |
||
69 | |||
70 | /** |
||
71 | * @var int |
||
72 | * |
||
73 | * @ORM\Column(type="bool", nullable=true) |
||
74 | */ |
||
75 | protected $canDrinkMojito; |
||
76 | |||
77 | /** |
||
78 | * @var int |
||
79 | * |
||
80 | * @ORM\Column(type="float", nullable=true) |
||
81 | */ |
||
82 | protected $weight; |
||
83 | |||
84 | /** |
||
85 | * @param int $age |
||
86 | * @return self |
||
87 | */ |
||
88 | public function setAge($age) |
||
89 | { |
||
90 | $this->age = $age; |
||
91 | |||
92 | return $this; |
||
93 | } |
||
94 | |||
95 | /** |
||
96 | * @return int |
||
97 | */ |
||
98 | public function getAge() |
||
99 | { |
||
100 | return $this->age; |
||
101 | } |
||
102 | |||
103 | /** |
||
104 | * @param int $canDrinkMojito |
||
105 | * @return self |
||
106 | */ |
||
107 | public function setCanDrinkMojito($canDrinkMojito) |
||
108 | { |
||
109 | $this->canDrinkMojito = $canDrinkMojito; |
||
110 | |||
111 | return $this; |
||
112 | } |
||
113 | |||
114 | /** |
||
115 | * @return int |
||
116 | */ |
||
117 | public function getCanDrinkMojito() |
||
118 | { |
||
119 | return $this->canDrinkMojito; |
||
120 | } |
||
121 | |||
122 | /** |
||
123 | * @param \DateTime $date |
||
124 | * @return self |
||
125 | */ |
||
126 | public function setDate($date) |
||
127 | { |
||
128 | $this->date = $date; |
||
129 | |||
130 | return $this; |
||
131 | } |
||
132 | |||
133 | /** |
||
134 | * @return \DateTime |
||
135 | */ |
||
136 | public function getDate() |
||
137 | { |
||
138 | return $this->date; |
||
139 | } |
||
140 | |||
141 | /** |
||
142 | * @return \DateTime |
||
143 | */ |
||
144 | public function getDatetimetz() |
||
145 | { |
||
146 | return $this->datetimetz; |
||
147 | } |
||
148 | |||
149 | /** |
||
150 | * @param \DateTime $datetimetz |
||
151 | * @return self |
||
152 | */ |
||
153 | public function setDatetimetz($datetimetz) |
||
154 | { |
||
155 | $this->datetimetz = $datetimetz; |
||
156 | |||
157 | return $this; |
||
158 | } |
||
159 | |||
160 | /** |
||
161 | * @param mixed $identifier |
||
162 | * @return self |
||
163 | */ |
||
164 | public function setIdentifier($identifier) |
||
165 | { |
||
166 | $this->identifier = $identifier; |
||
167 | |||
168 | return $this; |
||
169 | } |
||
170 | |||
171 | /** |
||
172 | * @return mixed |
||
173 | */ |
||
174 | public function getIdentifier() |
||
178 | |||
179 | /** |
||
180 | * @param string $name |
||
181 | * @return self |
||
182 | */ |
||
183 | public function setName($name) |
||
184 | { |
||
185 | $this->name = $name; |
||
186 | |||
187 | return $this; |
||
189 | |||
190 | /** |
||
191 | * @return string |
||
192 | */ |
||
193 | public function getName() |
||
197 | |||
198 | /** |
||
199 | * @param \DateTime $time |
||
200 | * @return self |
||
201 | */ |
||
202 | public function setTime($time) |
||
208 | |||
209 | /** |
||
210 | * @return \DateTime |
||
211 | */ |
||
212 | public function getTime() |
||
216 | |||
217 | /** |
||
218 | * @param int $weight |
||
219 | * @return self |
||
220 | */ |
||
221 | public function setWeight($weight) |
||
227 | |||
228 | /** |
||
229 | * @return int |
||
230 | */ |
||
231 | public function getWeight() |
||
235 | |||
236 | /** |
||
237 | * @return \DateTime |
||
238 | */ |
||
239 | public function getMeeting() |
||
243 | |||
244 | /** |
||
245 | * @param \DateTime $meeting |
||
246 | * @return self |
||
247 | */ |
||
248 | public function setMeeting($meeting) |
||
254 | } |
||
255 |