TutorInstitucional.php
3.47 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
<?php
namespace UBV\SurUbvBundle\Entity;
use Doctrine\ORM\Mapping as ORM;
/**
* UBV\SurUbvBundle\Entity\TutorInstitucional
*
* @ORM\Entity(repositoryClass="UBV\SurUbvBundle\Repository\TutorInstitucionalRepository")
* @ORM\Table(name="tutor_institucional", indexes={@ORM\Index(name="fk_tutor_institucional_proyecto1_idx", columns={"proyecto_id"}), @ORM\Index(name="fk_tutor_institucional_persona_proyecto1_idx", columns={"persona_proyecto_id"})}, uniqueConstraints={@ORM\UniqueConstraint(name="id_tutor_institucional_UNIQUE", columns={"id"})})
*/
class TutorInstitucional
{
/**
* @ORM\Id
* @ORM\Column(type="integer")
* @ORM\GeneratedValue(strategy="AUTO")
* @ORM\SequenceGenerator(sequenceName="tutor_institucional_id_seq", allocationSize=1, initialValue=1)
*/
protected $id;
/**
* @ORM\Column(type="text")
*/
protected $carta_aceptacion_ruta;
/**
* @ORM\ManyToOne(targetEntity="Proyecto", inversedBy="tutorInstitucionals")
* @ORM\JoinColumn(name="proyecto_id", referencedColumnName="id", nullable=false)
*/
protected $proyecto;
/**
* @ORM\ManyToOne(targetEntity="PersonaProyecto", inversedBy="tutorInstitucionals")
* @ORM\JoinColumn(name="persona_proyecto_id", referencedColumnName="id", nullable=false)
*/
protected $personaProyecto;
public function __construct()
{
}
/**
* Set the value of id.
*
* @param integer $id
* @return \UBV\SurUbvBundle\Entity\TutorInstitucional
*/
public function setId($id)
{
$this->id = $id;
return $this;
}
/**
* Get the value of id.
*
* @return integer
*/
public function getId()
{
return $this->id;
}
/**
* Set the value of carta_aceptacion_ruta.
*
* @param string $carta_aceptacion_ruta
* @return \UBV\SurUbvBundle\Entity\TutorInstitucional
*/
public function setCartaAceptacionRuta($carta_aceptacion_ruta)
{
$this->carta_aceptacion_ruta = $carta_aceptacion_ruta;
return $this;
}
/**
* Get the value of carta_aceptacion_ruta.
*
* @return string
*/
public function getCartaAceptacionRuta()
{
return $this->carta_aceptacion_ruta;
}
/**
* Set Proyecto entity (many to one).
*
* @param \UBV\SurUbvBundle\Entity\Proyecto $proyecto
* @return \UBV\SurUbvBundle\Entity\TutorInstitucional
*/
public function setProyecto(Proyecto $proyecto = null)
{
$this->proyecto = $proyecto;
return $this;
}
/**
* Get Proyecto entity (many to one).
*
* @return \UBV\SurUbvBundle\Entity\Proyecto
*/
public function getProyecto()
{
return $this->proyecto;
}
/**
* Set PersonaProyecto entity (many to one).
*
* @param \UBV\SurUbvBundle\Entity\PersonaProyecto $personaProyecto
* @return \UBV\SurUbvBundle\Entity\TutorInstitucional
*/
public function setPersonaProyecto(PersonaProyecto $personaProyecto = null)
{
$this->personaProyecto = $personaProyecto;
return $this;
}
/**
* Get PersonaProyecto entity (many to one).
*
* @return \UBV\SurUbvBundle\Entity\PersonaProyecto
*/
public function getPersonaProyecto()
{
return $this->personaProyecto;
}
public function __sleep()
{
return array('id', 'proyecto_id', 'persona_proyecto_id', 'carta_aceptacion_ruta');
}
}