AscensoPertinencia.php
3.3 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
<?php
/**
* Created by PhpStorm.
* User: Wilmer Ramones
* Date: 29/06/16
* Time: 07:52 AM
*/
namespace AppBundle\Entity;
use Doctrine\ORM\Mapping as ORM;
use Symfony\Component\Validator\Constraints as Assert;
/**
* AscensoPertinencia
*
* @ORM\Table(name="ascenso_pertinencia")
* @ORM\Entity
*/
class AscensoPertinencia
{
/**
* @var integer
*
* @ORM\Column(name="id", type="integer", nullable=false, options={"comment" = "Identificador de la Tabla"})
* @ORM\Id
* @ORM\GeneratedValue(strategy="IDENTITY")
* @ORM\SequenceGenerator(sequenceName="adscripcion_id_seq", allocationSize=1, initialValue=1)
*/
private $id;
/**
* @var \AppBundle\Entity\Ascenso
*
* @ORM\ManyToOne(targetEntity="AppBundle\Entity\Ascenso", inversedBy="tutores")
* @ORM\JoinColumns({
* @ORM\JoinColumn(name="id_ascenso", referencedColumnName="id", nullable=false)
* })
*/
protected $idAscenso;
/**
* @ORM\Column(name="titulo_pertinencia", type="string", nullable=false, options={"comment" = "Título del informe de pertinencia"})
*/
private $tituloPertinencia;
/**
* @ORM\Column(name="lugar_pertinencia", type="string", nullable=false, options={"comment" = "Lugar donde defendió"})
*/
private $lugarPertinencia;
/** @ORM\Column(type="date", name="fecha_defensa", nullable=false, options={"comment" = "Fecha de la defensa"})
* @Assert\Date()
*/
private $fechaDefensa;
/**
* Get id
*
* @return integer
*/
public function getId()
{
return $this->id;
}
/**
* Set tituloPertinencia
*
* @param string $tituloPertinencia
* @return AscensoPertinencia
*/
public function setTituloPertinencia($tituloPertinencia)
{
$this->tituloPertinencia = $tituloPertinencia;
return $this;
}
/**
* Get tituloPertinencia
*
* @return string
*/
public function getTituloPertinencia()
{
return $this->tituloPertinencia;
}
/**
* Set lugarPertinencia
*
* @param string $lugarPertinencia
* @return AscensoPertinencia
*/
public function setLugarPertinencia($lugarPertinencia)
{
$this->lugarPertinencia = $lugarPertinencia;
return $this;
}
/**
* Get lugarPertinencia
*
* @return string
*/
public function getLugarPertinencia()
{
return $this->lugarPertinencia;
}
/**
* Set fechaDefensa
*
* @param \DateTime $fechaDefensa
* @return AscensoPertinencia
*/
public function setFechaDefensa($fechaDefensa)
{
$this->fechaDefensa = $fechaDefensa;
return $this;
}
/**
* Get fechaDefensa
*
* @return \DateTime
*/
public function getFechaDefensa()
{
return $this->fechaDefensa;
}
/**
* Set idAscenso
*
* @param \AppBundle\Entity\Ascenso $idAscenso
* @return AscensoPertinencia
*/
public function setIdAscenso(\AppBundle\Entity\Ascenso $idAscenso)
{
$this->idAscenso = $idAscenso;
return $this;
}
/**
* Get idAscenso
*
* @return \AppBundle\Entity\Ascenso
*/
public function getIdAscenso()
{
return $this->idAscenso;
}
}