|
1
|
|
|
<?php |
|
2
|
|
|
/* |
|
3
|
|
|
GESTCONV - Aplicación web para la gestión de la convivencia en centros educativos |
|
4
|
|
|
|
|
5
|
|
|
Copyright (C) 2015: Luis Ramón López López |
|
6
|
|
|
|
|
7
|
|
|
This program is free software: you can redistribute it and/or modify |
|
8
|
|
|
it under the terms of the GNU Affero General Public License as published by |
|
9
|
|
|
the Free Software Foundation, either version 3 of the License, or |
|
10
|
|
|
(at your option) any later version. |
|
11
|
|
|
|
|
12
|
|
|
This program is distributed in the hope that it will be useful, |
|
13
|
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
14
|
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
15
|
|
|
GNU Affero General Public License for more details. |
|
16
|
|
|
|
|
17
|
|
|
You should have received a copy of the GNU Affero General Public License |
|
18
|
|
|
along with this program. If not, see [http://www.gnu.org/licenses/]. |
|
19
|
|
|
*/ |
|
20
|
|
|
|
|
21
|
|
|
namespace AppBundle\Entity; |
|
22
|
|
|
|
|
23
|
|
|
|
|
24
|
|
|
use Doctrine\Common\Collections\ArrayCollection; |
|
25
|
|
|
use Doctrine\Common\Collections\Collection; |
|
26
|
|
|
use Doctrine\ORM\Mapping as ORM; |
|
27
|
|
|
use Symfony\Component\Validator\Constraints as Assert; |
|
28
|
|
|
|
|
29
|
|
|
/** |
|
30
|
|
|
* @ORM\Entity(repositoryClass="AppBundle\Entity\SancionRepository") |
|
31
|
|
|
*/ |
|
32
|
|
|
class Sancion |
|
33
|
|
|
{ |
|
34
|
|
|
/** |
|
35
|
|
|
* @ORM\Id |
|
36
|
|
|
* @ORM\Column(type="integer") |
|
37
|
|
|
* @ORM\GeneratedValue |
|
38
|
|
|
*/ |
|
39
|
|
|
protected $id; |
|
40
|
|
|
/** |
|
41
|
|
|
* @ORM\ManyToOne(targetEntity="Usuario", inversedBy="sanciones") |
|
42
|
|
|
* @ORM\JoinColumn(nullable=false) |
|
43
|
|
|
* @var Usuario |
|
44
|
|
|
*/ |
|
45
|
|
|
protected $usuario; |
|
46
|
|
|
/** |
|
47
|
|
|
* @ORM\Column(type="text", nullable=true) |
|
48
|
|
|
* @var string |
|
49
|
|
|
*/ |
|
50
|
|
|
protected $anotacion; |
|
51
|
|
|
/** |
|
52
|
|
|
* @ORM\Column(type="datetime", nullable=true) |
|
53
|
|
|
* @var \DateTime |
|
54
|
|
|
*/ |
|
55
|
|
|
protected $fechaSancion; |
|
56
|
|
|
/** |
|
57
|
|
|
* @ORM\Column(type="datetime", nullable=true) |
|
58
|
|
|
* @var \DateTime |
|
59
|
|
|
*/ |
|
60
|
|
|
protected $fechaComunicado; |
|
61
|
|
|
/** |
|
62
|
|
|
* @ORM\Column(type="datetime", nullable=true) |
|
63
|
|
|
* @var \DateTime |
|
64
|
|
|
*/ |
|
65
|
|
|
protected $fechaRegistro; |
|
66
|
|
|
/** |
|
67
|
|
|
* @ORM\Column(type="date", nullable=true) |
|
68
|
|
|
* @Assert\Blank(groups={"sin_sancion"}, message="sancion.sin_sancion.fecha") |
|
69
|
|
|
* @var \DateTime |
|
70
|
|
|
*/ |
|
71
|
|
|
protected $fechaInicioSancion; |
|
72
|
|
|
/** |
|
73
|
|
|
* @ORM\Column(type="date", nullable=true) |
|
74
|
|
|
* @Assert\Expression(expression="(this.getFechaInicioSancion() == null and this.getFechaFinSancion() == null) or (this.getFechaInicioSancion() != null and this.getFechaFinSancion() >= this.getFechaInicioSancion())", message="sancion.fecha_fin_sancion.min") |
|
75
|
|
|
* @Assert\Blank(groups={"sin_sancion"}, message="sancion.sin_sancion.fecha") |
|
76
|
|
|
* @var \DateTime |
|
77
|
|
|
*/ |
|
78
|
|
|
protected $fechaFinSancion; |
|
79
|
|
|
/** |
|
80
|
|
|
* @ORM\Column(type="boolean", nullable=true) |
|
81
|
|
|
* @var boolean |
|
82
|
|
|
*/ |
|
83
|
|
|
protected $medidasEfectivas; |
|
84
|
|
|
/** |
|
85
|
|
|
* @ORM\Column(type="boolean", nullable=true) |
|
86
|
|
|
* @var boolean |
|
87
|
|
|
*/ |
|
88
|
|
|
protected $reclamacion; |
|
89
|
|
|
/** |
|
90
|
|
|
* @ORM\Column(type="text", nullable=true) |
|
91
|
|
|
* @var string |
|
92
|
|
|
* |
|
93
|
|
|
* @Assert\NotBlank(groups={"sin_sancion"}, message="sancion.sin_sancion.motivos") |
|
94
|
|
|
*/ |
|
95
|
|
|
protected $motivosNoAplicacion; |
|
96
|
|
|
/** |
|
97
|
|
|
* @ORM\ManyToOne(targetEntity="ActitudFamiliaSancion") |
|
98
|
|
|
* @var ActitudFamiliaSancion |
|
99
|
|
|
*/ |
|
100
|
|
|
protected $actitudFamilia; |
|
101
|
|
|
/** |
|
102
|
|
|
* @ORM\Column(type="boolean", options={"default": false}) |
|
103
|
|
|
* @var boolean |
|
104
|
|
|
*/ |
|
105
|
|
|
protected $registradoEnSeneca; |
|
106
|
|
|
/** |
|
107
|
|
|
* @ORM\OneToMany(targetEntity="Parte", mappedBy="sancion") |
|
108
|
|
|
* @var Collection |
|
109
|
|
|
* |
|
110
|
|
|
* @Assert\Count(min="1", minMessage="sancion.partes.min") |
|
111
|
|
|
*/ |
|
112
|
|
|
protected $partes = null; |
|
113
|
|
|
/** |
|
114
|
|
|
* @ORM\ManyToMany(targetEntity="TipoMedida") |
|
115
|
|
|
* @var Collection |
|
116
|
|
|
* |
|
117
|
|
|
* @Assert\Count(min="1", minMessage="sancion.medidas.min") |
|
118
|
|
|
*/ |
|
119
|
|
|
protected $medidas = null; |
|
120
|
|
|
/** |
|
121
|
|
|
* @ORM\OneToMany(targetEntity="AvisoSancion", mappedBy="sancion") |
|
122
|
|
|
* @var Collection |
|
123
|
|
|
*/ |
|
124
|
|
|
protected $avisos = null; |
|
125
|
|
|
/** |
|
126
|
|
|
* @ORM\OneToMany(targetEntity="ObservacionSancion", mappedBy="sancion") |
|
127
|
|
|
* @var Collection |
|
128
|
|
|
*/ |
|
129
|
|
|
protected $observaciones = null; |
|
130
|
|
|
/** |
|
131
|
|
|
* Constructor |
|
132
|
|
|
*/ |
|
133
|
|
|
public function __construct() |
|
134
|
|
|
{ |
|
135
|
|
|
$this->partes = new ArrayCollection(); |
|
136
|
|
|
$this->medidas = new ArrayCollection(); |
|
137
|
|
|
$this->avisos = new ArrayCollection(); |
|
138
|
|
|
$this->observaciones = new ArrayCollection(); |
|
139
|
|
|
} |
|
140
|
|
|
|
|
141
|
|
|
/** |
|
142
|
|
|
* Get id |
|
143
|
|
|
* |
|
144
|
|
|
* @return integer |
|
145
|
|
|
*/ |
|
146
|
|
|
public function getId() |
|
147
|
|
|
{ |
|
148
|
|
|
return $this->id; |
|
149
|
|
|
} |
|
150
|
|
|
|
|
151
|
|
|
/** |
|
152
|
|
|
* Set anotacion |
|
153
|
|
|
* |
|
154
|
|
|
* @param string $anotacion |
|
155
|
|
|
* @return Sancion |
|
156
|
|
|
*/ |
|
157
|
|
|
public function setAnotacion($anotacion) |
|
158
|
|
|
{ |
|
159
|
|
|
$this->anotacion = $anotacion; |
|
160
|
|
|
|
|
161
|
|
|
return $this; |
|
162
|
|
|
} |
|
163
|
|
|
|
|
164
|
|
|
/** |
|
165
|
|
|
* Get anotacion |
|
166
|
|
|
* |
|
167
|
|
|
* @return string |
|
168
|
|
|
*/ |
|
169
|
|
|
public function getAnotacion() |
|
170
|
|
|
{ |
|
171
|
|
|
return $this->anotacion; |
|
172
|
|
|
} |
|
173
|
|
|
|
|
174
|
|
|
/** |
|
175
|
|
|
* Set fechaSancion |
|
176
|
|
|
* |
|
177
|
|
|
* @param \DateTime $fechaSancion |
|
178
|
|
|
* @return Sancion |
|
179
|
|
|
*/ |
|
180
|
|
|
public function setFechaSancion($fechaSancion) |
|
181
|
|
|
{ |
|
182
|
|
|
$this->fechaSancion = $fechaSancion; |
|
183
|
|
|
|
|
184
|
|
|
return $this; |
|
185
|
|
|
} |
|
186
|
|
|
|
|
187
|
|
|
/** |
|
188
|
|
|
* Get fechaSancion |
|
189
|
|
|
* |
|
190
|
|
|
* @return \DateTime |
|
191
|
|
|
*/ |
|
192
|
|
|
public function getFechaSancion() |
|
193
|
|
|
{ |
|
194
|
|
|
return $this->fechaSancion; |
|
195
|
|
|
} |
|
196
|
|
|
|
|
197
|
|
|
/** |
|
198
|
|
|
* Set fechaComunicado |
|
199
|
|
|
* |
|
200
|
|
|
* @param \DateTime $fechaComunicado |
|
201
|
|
|
* @return Sancion |
|
202
|
|
|
*/ |
|
203
|
|
|
public function setFechaComunicado($fechaComunicado) |
|
204
|
|
|
{ |
|
205
|
|
|
$this->fechaComunicado = $fechaComunicado; |
|
206
|
|
|
|
|
207
|
|
|
return $this; |
|
208
|
|
|
} |
|
209
|
|
|
|
|
210
|
|
|
/** |
|
211
|
|
|
* Get fechaComunicado |
|
212
|
|
|
* |
|
213
|
|
|
* @return \DateTime |
|
214
|
|
|
*/ |
|
215
|
|
|
public function getFechaComunicado() |
|
216
|
|
|
{ |
|
217
|
|
|
return $this->fechaComunicado; |
|
218
|
|
|
} |
|
219
|
|
|
|
|
220
|
|
|
/** |
|
221
|
|
|
* Set fechaRegistro |
|
222
|
|
|
* |
|
223
|
|
|
* @param \DateTime $fechaRegistro |
|
224
|
|
|
* @return Sancion |
|
225
|
|
|
*/ |
|
226
|
|
|
public function setFechaRegistro($fechaRegistro) |
|
227
|
|
|
{ |
|
228
|
|
|
$this->fechaRegistro = $fechaRegistro; |
|
229
|
|
|
|
|
230
|
|
|
return $this; |
|
231
|
|
|
} |
|
232
|
|
|
|
|
233
|
|
|
/** |
|
234
|
|
|
* Get fechaRegistro |
|
235
|
|
|
* |
|
236
|
|
|
* @return \DateTime |
|
237
|
|
|
*/ |
|
238
|
|
|
public function getFechaRegistro() |
|
239
|
|
|
{ |
|
240
|
|
|
return $this->fechaRegistro; |
|
241
|
|
|
} |
|
242
|
|
|
|
|
243
|
|
|
/** |
|
244
|
|
|
* Set usuario |
|
245
|
|
|
* |
|
246
|
|
|
* @param Usuario $usuario |
|
247
|
|
|
* @return Sancion |
|
248
|
|
|
*/ |
|
249
|
|
|
public function setUsuario(Usuario $usuario = null) |
|
250
|
|
|
{ |
|
251
|
|
|
$this->usuario = $usuario; |
|
252
|
|
|
|
|
253
|
|
|
return $this; |
|
254
|
|
|
} |
|
255
|
|
|
|
|
256
|
|
|
/** |
|
257
|
|
|
* Get usuario |
|
258
|
|
|
* |
|
259
|
|
|
* @return Usuario |
|
260
|
|
|
*/ |
|
261
|
|
|
public function getUsuario() |
|
262
|
|
|
{ |
|
263
|
|
|
return $this->usuario; |
|
264
|
|
|
} |
|
265
|
|
|
|
|
266
|
|
|
/** |
|
267
|
|
|
* Add partes |
|
268
|
|
|
* |
|
269
|
|
|
* @param Parte $partes |
|
270
|
|
|
* @return Sancion |
|
271
|
|
|
*/ |
|
272
|
|
|
public function addParte(Parte $partes) |
|
273
|
|
|
{ |
|
274
|
|
|
$this->partes[] = $partes; |
|
275
|
|
|
|
|
276
|
|
|
return $this; |
|
277
|
|
|
} |
|
278
|
|
|
|
|
279
|
|
|
/** |
|
280
|
|
|
* Remove partes |
|
281
|
|
|
* |
|
282
|
|
|
* @param Parte $partes |
|
283
|
|
|
*/ |
|
284
|
|
|
public function removeParte(Parte $partes) |
|
285
|
|
|
{ |
|
286
|
|
|
$this->partes->removeElement($partes); |
|
287
|
|
|
} |
|
288
|
|
|
|
|
289
|
|
|
/** |
|
290
|
|
|
* Get partes |
|
291
|
|
|
* |
|
292
|
|
|
* @return \Doctrine\Common\Collections\Collection |
|
293
|
|
|
*/ |
|
294
|
|
|
public function getPartes() |
|
295
|
|
|
{ |
|
296
|
|
|
return $this->partes; |
|
297
|
|
|
} |
|
298
|
|
|
|
|
299
|
|
|
/** |
|
300
|
|
|
* Add medidas |
|
301
|
|
|
* |
|
302
|
|
|
* @param TipoMedida $medidas |
|
303
|
|
|
* @return Sancion |
|
304
|
|
|
*/ |
|
305
|
|
|
public function addMedida(TipoMedida $medidas) |
|
306
|
|
|
{ |
|
307
|
|
|
$this->medidas[] = $medidas; |
|
308
|
|
|
|
|
309
|
|
|
return $this; |
|
310
|
|
|
} |
|
311
|
|
|
|
|
312
|
|
|
/** |
|
313
|
|
|
* Remove medidas |
|
314
|
|
|
* |
|
315
|
|
|
* @param TipoMedida $medidas |
|
316
|
|
|
*/ |
|
317
|
|
|
public function removeMedida(TipoMedida $medidas) |
|
318
|
|
|
{ |
|
319
|
|
|
$this->medidas->removeElement($medidas); |
|
320
|
|
|
} |
|
321
|
|
|
|
|
322
|
|
|
/** |
|
323
|
|
|
* Get medidas |
|
324
|
|
|
* |
|
325
|
|
|
* @return \Doctrine\Common\Collections\Collection |
|
326
|
|
|
*/ |
|
327
|
|
|
public function getMedidas() |
|
328
|
|
|
{ |
|
329
|
|
|
return $this->medidas; |
|
330
|
|
|
} |
|
331
|
|
|
|
|
332
|
|
|
/** |
|
333
|
|
|
* Add avisos |
|
334
|
|
|
* |
|
335
|
|
|
* @param AvisoSancion $avisos |
|
336
|
|
|
* @return Sancion |
|
337
|
|
|
*/ |
|
338
|
|
|
public function addAviso(AvisoSancion $avisos) |
|
339
|
|
|
{ |
|
340
|
|
|
$this->avisos[] = $avisos; |
|
341
|
|
|
|
|
342
|
|
|
return $this; |
|
343
|
|
|
} |
|
344
|
|
|
|
|
345
|
|
|
/** |
|
346
|
|
|
* Remove avisos |
|
347
|
|
|
* |
|
348
|
|
|
* @param AvisoSancion $avisos |
|
349
|
|
|
*/ |
|
350
|
|
|
public function removeAviso(AvisoSancion $avisos) |
|
351
|
|
|
{ |
|
352
|
|
|
$this->avisos->removeElement($avisos); |
|
353
|
|
|
} |
|
354
|
|
|
|
|
355
|
|
|
/** |
|
356
|
|
|
* Get avisos |
|
357
|
|
|
* |
|
358
|
|
|
* @return \Doctrine\Common\Collections\Collection |
|
359
|
|
|
*/ |
|
360
|
|
|
public function getAvisos() |
|
361
|
|
|
{ |
|
362
|
|
|
return $this->avisos; |
|
363
|
|
|
} |
|
364
|
|
|
|
|
365
|
|
|
/** |
|
366
|
|
|
* Set medidasEfectivas |
|
367
|
|
|
* |
|
368
|
|
|
* @param boolean $medidasEfectivas |
|
369
|
|
|
* @return Sancion |
|
370
|
|
|
*/ |
|
371
|
|
|
public function setMedidasEfectivas($medidasEfectivas) |
|
372
|
|
|
{ |
|
373
|
|
|
$this->medidasEfectivas = $medidasEfectivas; |
|
374
|
|
|
|
|
375
|
|
|
return $this; |
|
376
|
|
|
} |
|
377
|
|
|
|
|
378
|
|
|
/** |
|
379
|
|
|
* Get registradoEnSeneca |
|
380
|
|
|
* |
|
381
|
|
|
* @return boolean |
|
382
|
|
|
*/ |
|
383
|
|
|
public function getRegistradoEnSeneca() |
|
384
|
|
|
{ |
|
385
|
|
|
return $this->registradoEnSeneca; |
|
386
|
|
|
} |
|
387
|
|
|
|
|
388
|
|
|
|
|
389
|
|
|
/** |
|
390
|
|
|
* Set registradoEnSeneca |
|
391
|
|
|
* |
|
392
|
|
|
* @param boolean $registradoEnSeneca |
|
393
|
|
|
* @return Sancion |
|
394
|
|
|
*/ |
|
395
|
|
|
public function setRegistradoEnSeneca($registradoEnSeneca) |
|
396
|
|
|
{ |
|
397
|
|
|
$this->registradoEnSeneca = $registradoEnSeneca; |
|
398
|
|
|
|
|
399
|
|
|
return $this; |
|
400
|
|
|
} |
|
401
|
|
|
|
|
402
|
|
|
/** |
|
403
|
|
|
* Get medidasEfectivas |
|
404
|
|
|
* |
|
405
|
|
|
* @return boolean |
|
406
|
|
|
*/ |
|
407
|
|
|
public function getMedidasEfectivas() |
|
408
|
|
|
{ |
|
409
|
|
|
return $this->medidasEfectivas; |
|
410
|
|
|
} |
|
411
|
|
|
|
|
412
|
|
|
/** |
|
413
|
|
|
* Set reclamacion |
|
414
|
|
|
* |
|
415
|
|
|
* @param boolean $reclamacion |
|
416
|
|
|
* @return Sancion |
|
417
|
|
|
*/ |
|
418
|
|
|
public function setReclamacion($reclamacion) |
|
419
|
|
|
{ |
|
420
|
|
|
$this->reclamacion = $reclamacion; |
|
421
|
|
|
|
|
422
|
|
|
return $this; |
|
423
|
|
|
} |
|
424
|
|
|
|
|
425
|
|
|
/** |
|
426
|
|
|
* Get reclamacion |
|
427
|
|
|
* |
|
428
|
|
|
* @return boolean |
|
429
|
|
|
*/ |
|
430
|
|
|
public function getReclamacion() |
|
431
|
|
|
{ |
|
432
|
|
|
return $this->reclamacion; |
|
433
|
|
|
} |
|
434
|
|
|
|
|
435
|
|
|
/** |
|
436
|
|
|
* Set motivosNoAplicacion |
|
437
|
|
|
* |
|
438
|
|
|
* @param string $motivosNoAplicacion |
|
439
|
|
|
* @return Sancion |
|
440
|
|
|
*/ |
|
441
|
|
|
public function setMotivosNoAplicacion($motivosNoAplicacion) |
|
442
|
|
|
{ |
|
443
|
|
|
$this->motivosNoAplicacion = $motivosNoAplicacion; |
|
444
|
|
|
|
|
445
|
|
|
return $this; |
|
446
|
|
|
} |
|
447
|
|
|
|
|
448
|
|
|
/** |
|
449
|
|
|
* Get motivosNoAplicacion |
|
450
|
|
|
* |
|
451
|
|
|
* @return string |
|
452
|
|
|
*/ |
|
453
|
|
|
public function getMotivosNoAplicacion() |
|
454
|
|
|
{ |
|
455
|
|
|
return $this->motivosNoAplicacion; |
|
456
|
|
|
} |
|
457
|
|
|
|
|
458
|
|
|
/** |
|
459
|
|
|
* Set actitudFamilia |
|
460
|
|
|
* |
|
461
|
|
|
* @param ActitudFamiliaSancion $actitudFamilia |
|
462
|
|
|
* @return Sancion |
|
463
|
|
|
*/ |
|
464
|
|
|
public function setActitudFamilia(ActitudFamiliaSancion $actitudFamilia = null) |
|
465
|
|
|
{ |
|
466
|
|
|
$this->actitudFamilia = $actitudFamilia; |
|
467
|
|
|
|
|
468
|
|
|
return $this; |
|
469
|
|
|
} |
|
470
|
|
|
|
|
471
|
|
|
/** |
|
472
|
|
|
* Get actitudFamilia |
|
473
|
|
|
* |
|
474
|
|
|
* @return ActitudFamiliaSancion |
|
475
|
|
|
*/ |
|
476
|
|
|
public function getActitudFamilia() |
|
477
|
|
|
{ |
|
478
|
|
|
return $this->actitudFamilia; |
|
479
|
|
|
} |
|
480
|
|
|
|
|
481
|
|
|
/** |
|
482
|
|
|
* Add observaciones |
|
483
|
|
|
* |
|
484
|
|
|
* @param ObservacionSancion $observaciones |
|
485
|
|
|
* @return Sancion |
|
486
|
|
|
*/ |
|
487
|
|
|
public function addObservacion(ObservacionSancion $observaciones) |
|
488
|
|
|
{ |
|
489
|
|
|
$this->observaciones[] = $observaciones; |
|
490
|
|
|
|
|
491
|
|
|
return $this; |
|
492
|
|
|
} |
|
493
|
|
|
|
|
494
|
|
|
/** |
|
495
|
|
|
* Remove observaciones |
|
496
|
|
|
* |
|
497
|
|
|
* @param ObservacionSancion $observaciones |
|
498
|
|
|
*/ |
|
499
|
|
|
public function removeObservacion(ObservacionSancion $observaciones) |
|
500
|
|
|
{ |
|
501
|
|
|
$this->observaciones->removeElement($observaciones); |
|
502
|
|
|
} |
|
503
|
|
|
|
|
504
|
|
|
/** |
|
505
|
|
|
* Get observaciones |
|
506
|
|
|
* |
|
507
|
|
|
* @return Collection |
|
508
|
|
|
*/ |
|
509
|
|
|
public function getObservaciones() |
|
510
|
|
|
{ |
|
511
|
|
|
return $this->observaciones; |
|
512
|
|
|
} |
|
513
|
|
|
|
|
514
|
|
|
/** |
|
515
|
|
|
* Set fechaInicioSancion |
|
516
|
|
|
* |
|
517
|
|
|
* @param \DateTime $fechaInicioSancion |
|
518
|
|
|
* @return Sancion |
|
519
|
|
|
*/ |
|
520
|
|
|
public function setFechaInicioSancion($fechaInicioSancion) |
|
521
|
|
|
{ |
|
522
|
|
|
$this->fechaInicioSancion = $fechaInicioSancion; |
|
523
|
|
|
|
|
524
|
|
|
return $this; |
|
525
|
|
|
} |
|
526
|
|
|
|
|
527
|
|
|
/** |
|
528
|
|
|
* Get fechaInicioSancion |
|
529
|
|
|
* |
|
530
|
|
|
* @return \DateTime |
|
531
|
|
|
*/ |
|
532
|
|
|
public function getFechaInicioSancion() |
|
533
|
|
|
{ |
|
534
|
|
|
return $this->fechaInicioSancion; |
|
535
|
|
|
} |
|
536
|
|
|
|
|
537
|
|
|
/** |
|
538
|
|
|
* Set fechaFinSancion |
|
539
|
|
|
* |
|
540
|
|
|
* @param \DateTime $fechaFinSancion |
|
541
|
|
|
* @return Sancion |
|
542
|
|
|
*/ |
|
543
|
|
|
public function setFechaFinSancion($fechaFinSancion) |
|
544
|
|
|
{ |
|
545
|
|
|
$this->fechaFinSancion = $fechaFinSancion; |
|
546
|
|
|
|
|
547
|
|
|
return $this; |
|
548
|
|
|
} |
|
549
|
|
|
|
|
550
|
|
|
/** |
|
551
|
|
|
* Get fechaFinSancion |
|
552
|
|
|
* |
|
553
|
|
|
* @return \DateTime |
|
554
|
|
|
*/ |
|
555
|
|
|
public function getFechaFinSancion() |
|
556
|
|
|
{ |
|
557
|
|
|
return $this->fechaFinSancion; |
|
558
|
|
|
} |
|
559
|
|
|
|
|
560
|
|
|
} |
|
561
|
|
|
|