Commit dc23c7a93036f9339299cd63c9671424e26ab55e
1 parent
7dc2cfbc64
Exists in
master
creada la entidad para registrar las actividades que realizan los docentes segun reglamento
Showing
3 changed files
with
673 additions
and
0 deletions
Show diff stats
app/Resources/views/solicitudes/pida.html.twig
| @@ -0,0 +1,126 @@ | @@ -0,0 +1,126 @@ | ||
| 1 | +{% extends 'base_app.html.twig' %} | ||
| 2 | + | ||
| 3 | +{% block stylesheets %} | ||
| 4 | + {{ parent() }} | ||
| 5 | + | ||
| 6 | + <style> | ||
| 7 | + .esc_oposicion, .esc_asistente, .esc_agregado, .esc_asociado, .esc_titular{ | ||
| 8 | + display: none; | ||
| 9 | + } | ||
| 10 | + | ||
| 11 | + h1, h4{ | ||
| 12 | + margin:0; | ||
| 13 | + } | ||
| 14 | + | ||
| 15 | + .container{ | ||
| 16 | + margin-bottom: 0; | ||
| 17 | + } | ||
| 18 | + </style> | ||
| 19 | +{% endblock %} | ||
| 20 | + | ||
| 21 | + | ||
| 22 | + | ||
| 23 | +{% block body %} | ||
| 24 | + <div class="container"> | ||
| 25 | + <h4 class="alert alert-info"><i class="fa fa-info-circle"></i> | ||
| 26 | + Estimado (a) Docente | ||
| 27 | + <strong>{{app.user.idRolInstitucion.idRol.idPersona.primerNombre}} | ||
| 28 | + {{app.user.idRolInstitucion.idRol.idPersona.primerApellido}}</strong>, | ||
| 29 | + para poder gozar de los beneficios del sistema cea@ubv, primero debe | ||
| 30 | + formalizar su adscripción ante este centro de estudios, llenando los datos que a continuación | ||
| 31 | + se solicitan. Recuerde que debe tener a su alcance los digitales de los | ||
| 32 | + documentos descritos en el correo enviado. | ||
| 33 | + | ||
| 34 | + </h4> | ||
| 35 | + </div> | ||
| 36 | + <div class="account-container register"> | ||
| 37 | + <div class="content clearfix"> | ||
| 38 | + <h1>Formalización Adscripción</h1> | ||
| 39 | + {% form_theme form 'bootstrap_3_layout.html.twig' %} | ||
| 40 | + {{ form_start(form) }} | ||
| 41 | + {{ form_widget(form) }} | ||
| 42 | + {{ form_end(form) }} | ||
| 43 | + </div> | ||
| 44 | + | ||
| 45 | + </div> | ||
| 46 | + | ||
| 47 | + | ||
| 48 | +{% endblock %} | ||
| 49 | + | ||
| 50 | + | ||
| 51 | + | ||
| 52 | + | ||
| 53 | +{% block javascripts %} | ||
| 54 | + {{ parent() }} | ||
| 55 | + <script type="text/javascript"> | ||
| 56 | + $('#user_oposicion').click(function() { | ||
| 57 | + $('.esc_oposicion')[this.checked ? "show" : "hide"](); | ||
| 58 | + $("#user_escala").prop('required', $(this).prop("checked")); | ||
| 59 | + $("#user_fecha_oposicion_day").prop('required', $(this).prop("checked")); | ||
| 60 | + $("#user_fecha_oposicion_month").prop('required', $(this).prop("checked")); | ||
| 61 | + $("#user_fecha_oposicion_year").prop('required', $(this).prop("checked")); | ||
| 62 | + $("#user_documento_oposicion").prop('required', $(this).prop("checked")); | ||
| 63 | + $("#user_lineas_investigacion").prop('required', $(this).prop("checked")); | ||
| 64 | + $("#user_titulo_trabajo").prop('required', $(this).prop("checked")); | ||
| 65 | + }); | ||
| 66 | + | ||
| 67 | + $('#user_ascenso').click(function() { | ||
| 68 | + | ||
| 69 | + if($("#user_escala").val() == 1) | ||
| 70 | + $('.esc_asistente')[this.checked ? "show" : "hide"](); | ||
| 71 | + if($("#user_escala").val() == 2) | ||
| 72 | + $('.esc_asociado')[this.checked ? "show" : "hide"](); | ||
| 73 | + if($("#user_escala").val() == 3) | ||
| 74 | + $('.esc_agregado')[this.checked ? "show" : "hide"](); | ||
| 75 | + if($("#user_escala").val() == 4) | ||
| 76 | + $('.esc_titular')[this.checked ? "show" : "hide"](); | ||
| 77 | + | ||
| 78 | + }); | ||
| 79 | + | ||
| 80 | + | ||
| 81 | + | ||
| 82 | + | ||
| 83 | + | ||
| 84 | + $("#user_fecha_oposicion_year").change(function(){ | ||
| 85 | + if ($("#user_fecha_oposicion_year").val() < $("#user_fecha_ingreso_year").val()){ | ||
| 86 | + alert('la fecha de concurso debe ser mayor a la fecha de ingreso'); | ||
| 87 | + $("#user_fecha_oposicion_year").val(""); | ||
| 88 | + | ||
| 89 | + } | ||
| 90 | + }); | ||
| 91 | + | ||
| 92 | + $("#user_fecha_ascenso_asistente_year").change(function(){ | ||
| 93 | + if ($("#user_fecha_ascenso_asistente_year").val() < $("#user_fecha_oposicion_year").val()){ | ||
| 94 | + alert('la fecha de ascenso debe ser mayor a la del Concurso de oposición'); | ||
| 95 | + $("#user_fecha_asistente_year").val(""); | ||
| 96 | + | ||
| 97 | + } | ||
| 98 | + }); | ||
| 99 | + | ||
| 100 | + | ||
| 101 | + | ||
| 102 | + | ||
| 103 | + $('#user_ascenso2').click(function() { | ||
| 104 | + $('.esc_asociado')[this.checked ? "show" : "hide"](); | ||
| 105 | + | ||
| 106 | + }); | ||
| 107 | + | ||
| 108 | + $('#user_ascenso3').click(function() { | ||
| 109 | + | ||
| 110 | + $('.esc_agregado')[this.checked ? "show" : "hide"](); | ||
| 111 | + | ||
| 112 | + }); | ||
| 113 | + | ||
| 114 | + $('#user_ascenso4').click(function() { | ||
| 115 | + | ||
| 116 | + $('.esc_titular')[this.checked ? "show" : "hide"](); | ||
| 117 | + }); | ||
| 118 | + | ||
| 119 | + | ||
| 120 | + $('#user_escala').change(function(){ | ||
| 121 | + if ($('#user_escala').val() >= 1) $('#user_oposicion').attr('disabled',true); | ||
| 122 | + else $('#user_oposicion').attr('disabled',false); | ||
| 123 | + }); | ||
| 124 | + | ||
| 125 | + </script> | ||
| 126 | +{% endblock %} |
src/AppBundle/Entity/ActividadDocente.php
| @@ -0,0 +1,111 @@ | @@ -0,0 +1,111 @@ | ||
| 1 | +<?php | ||
| 2 | + | ||
| 3 | +namespace AppBundle\Entity; | ||
| 4 | + | ||
| 5 | +use Doctrine\ORM\Mapping as ORM; | ||
| 6 | + | ||
| 7 | +/** | ||
| 8 | + * ActividadDocente | ||
| 9 | + * | ||
| 10 | + * @ORM\Table(name="actividad_docente", uniqueConstraints={@ORM\UniqueConstraint(name="uq_actividad_docente", columns={"nombre"})}, indexes={@ORM\Index(name="idx_actividad_docente_estatus", columns={"id_estatus"})}) | ||
| 11 | + * @ORM\Entity | ||
| 12 | + */ | ||
| 13 | +class ActividadDocente | ||
| 14 | +{ | ||
| 15 | + /** | ||
| 16 | + * @var string | ||
| 17 | + * | ||
| 18 | + * @ORM\Column(name="nombre", type="string", nullable=false, options={"comment" = "Nombre de la actividad_docente"}) | ||
| 19 | + */ | ||
| 20 | + private $nombre; | ||
| 21 | + | ||
| 22 | + /** | ||
| 23 | + * @var integer | ||
| 24 | + * | ||
| 25 | + * @ORM\Column(name="id", type="integer", nullable=false, options={"comment" = "identificador de la actividad_docente"}) | ||
| 26 | + * @ORM\Id | ||
| 27 | + * @ORM\GeneratedValue(strategy="IDENTITY") | ||
| 28 | + * @ORM\SequenceGenerator(sequenceName="escala_id_seq", allocationSize=1, initialValue=1) | ||
| 29 | + */ | ||
| 30 | + private $id; | ||
| 31 | + | ||
| 32 | + /** | ||
| 33 | + * @var \AppBundle\Entity\Estatus | ||
| 34 | + * | ||
| 35 | + * @ORM\ManyToOne(targetEntity="AppBundle\Entity\Estatus") | ||
| 36 | + * @ORM\JoinColumns({ | ||
| 37 | + * @ORM\JoinColumn(name="id_estatus", referencedColumnName="id", nullable=false) | ||
| 38 | + * }) | ||
| 39 | + */ | ||
| 40 | + private $idEstatus; | ||
| 41 | + | ||
| 42 | + | ||
| 43 | + | ||
| 44 | + | ||
| 45 | + | ||
| 46 | + /** | ||
| 47 | + * Set nombre | ||
| 48 | + * | ||
| 49 | + * @param string $nombre | ||
| 50 | + * @return ActividadDocente | ||
| 51 | + */ | ||
| 52 | + public function setNombre($nombre) | ||
| 53 | + { | ||
| 54 | + $this->nombre = $nombre; | ||
| 55 | + | ||
| 56 | + return $this; | ||
| 57 | + } | ||
| 58 | + | ||
| 59 | + /** | ||
| 60 | + * Get nombre | ||
| 61 | + * | ||
| 62 | + * @return string | ||
| 63 | + */ | ||
| 64 | + public function getNombre() | ||
| 65 | + { | ||
| 66 | + return $this->nombre; | ||
| 67 | + } | ||
| 68 | + | ||
| 69 | + /** | ||
| 70 | + * Get id | ||
| 71 | + * | ||
| 72 | + * @return integer | ||
| 73 | + */ | ||
| 74 | + public function getId() | ||
| 75 | + { | ||
| 76 | + return $this->id; | ||
| 77 | + } | ||
| 78 | + | ||
| 79 | + /** | ||
| 80 | + * Set idEstatus | ||
| 81 | + * | ||
| 82 | + * @param \AppBundle\Entity\Estatus $idEstatus | ||
| 83 | + * @return ActividadDocente | ||
| 84 | + */ | ||
| 85 | + public function setIdEstatus(\AppBundle\Entity\Estatus $idEstatus) | ||
| 86 | + { | ||
| 87 | + $this->idEstatus = $idEstatus; | ||
| 88 | + | ||
| 89 | + return $this; | ||
| 90 | + } | ||
| 91 | + | ||
| 92 | + /** | ||
| 93 | + * Get idEstatus | ||
| 94 | + * | ||
| 95 | + * @return \AppBundle\Entity\Estatus | ||
| 96 | + */ | ||
| 97 | + public function getIdEstatus() | ||
| 98 | + { | ||
| 99 | + return $this->idEstatus; | ||
| 100 | + } | ||
| 101 | + | ||
| 102 | + | ||
| 103 | + /** | ||
| 104 | + * Get toString | ||
| 105 | + * | ||
| 106 | + * @return string | ||
| 107 | + */ | ||
| 108 | + public function __toString() { | ||
| 109 | + return $this->getNombre(); | ||
| 110 | + } | ||
| 111 | +} |
src/AppBundle/Entity/AdscripcionPida.php
| @@ -0,0 +1,436 @@ | @@ -0,0 +1,436 @@ | ||
| 1 | +<?php | ||
| 2 | +/** | ||
| 3 | + * Created by PhpStorm. | ||
| 4 | + * User: Wilmer Ramones | ||
| 5 | + * Date: 29/06/16 | ||
| 6 | + * Time: 07:52 AM | ||
| 7 | + */ | ||
| 8 | + | ||
| 9 | +namespace AppBundle\Entity; | ||
| 10 | + | ||
| 11 | +use Doctrine\ORM\Mapping as ORM; | ||
| 12 | +use Symfony\Component\Validator\Constraints as Assert; | ||
| 13 | +use Doctrine\Common\Collections\ArrayCollection; | ||
| 14 | + | ||
| 15 | +/** | ||
| 16 | + * Adscripcion | ||
| 17 | + * | ||
| 18 | + * @ORM\Table(name="solicitud_adscripcion", uniqueConstraints={@ORM\UniqueConstraint(name="adscripcion_id_rol_institucion_key", columns={"id_rol_institucion"})}) | ||
| 19 | + * @ORM\Entity | ||
| 20 | + * @ORM\HasLifecycleCallbacks() | ||
| 21 | + */ | ||
| 22 | +class Adscripcion | ||
| 23 | +{ | ||
| 24 | + | ||
| 25 | + /** | ||
| 26 | + * @var integer | ||
| 27 | + * | ||
| 28 | + * @ORM\Column(name="id", type="integer", nullable=false, options={"comment" = "Identificador de la Adscripcion"}) | ||
| 29 | + * @ORM\Id | ||
| 30 | + * @ORM\GeneratedValue(strategy="IDENTITY") | ||
| 31 | + * @ORM\SequenceGenerator(sequenceName="adscripcion_id_seq", allocationSize=1, initialValue=1) | ||
| 32 | + */ | ||
| 33 | + private $id; | ||
| 34 | + | ||
| 35 | + | ||
| 36 | + | ||
| 37 | + /** | ||
| 38 | + * @var \AppBundle\Entity\RolInstitucion | ||
| 39 | + * | ||
| 40 | + * @ORM\ManyToOne(targetEntity="AppBundle\Entity\RolInstitucion") | ||
| 41 | + * @ORM\JoinColumns({ | ||
| 42 | + * @ORM\JoinColumn(name="id_rol_institucion", referencedColumnName="id", nullable=false) | ||
| 43 | + * }) | ||
| 44 | + */ | ||
| 45 | + protected $idRolInstitucion; | ||
| 46 | + | ||
| 47 | + /** @ORM\Column(type="date", nullable=false, options={"comment" = "Fecha de de Ingreso a la Institucion"}) | ||
| 48 | + /** | ||
| 49 | + * @Assert\Date() | ||
| 50 | + */ | ||
| 51 | + private $fecha_ingreso; | ||
| 52 | + | ||
| 53 | + | ||
| 54 | + /** | ||
| 55 | + * @var \AppBundle\Entity\LineasInvestigacion | ||
| 56 | + * | ||
| 57 | + * @ORM\ManyToOne(targetEntity="AppBundle\Entity\LineasInvestigacion") | ||
| 58 | + * @ORM\JoinColumns({ | ||
| 59 | + * @ORM\JoinColumn(name="id_linea_investigacion", referencedColumnName="id", nullable=true) | ||
| 60 | + * }) | ||
| 61 | + */ | ||
| 62 | + protected $idLineaInvestigacion; | ||
| 63 | + | ||
| 64 | + | ||
| 65 | + /** | ||
| 66 | + * @ORM\Column(type="string", nullable=false, options={"comment" = "ubicacion de la constancia de trabajo"}) | ||
| 67 | + * | ||
| 68 | + * @Assert\NotBlank(message="Debe cargar su constancia de Trabajo, es obligatoria.") | ||
| 69 | + * @Assert\File(mimeTypes={ "application/pdf" }) | ||
| 70 | + */ | ||
| 71 | + private $trabajo; | ||
| 72 | + | ||
| 73 | + | ||
| 74 | + /** | ||
| 75 | + * @ORM\Column(type="string", nullable=false, options={"comment" = "ubicacion del titulo de pregrado"}) | ||
| 76 | + * | ||
| 77 | + * @Assert\NotBlank(message="debe cargar su título de pregrado en digital, es obligatorio.") | ||
| 78 | + * @Assert\File(mimeTypes={ "application/pdf" }) | ||
| 79 | + */ | ||
| 80 | + private $pregrado; | ||
| 81 | + | ||
| 82 | + | ||
| 83 | + /** | ||
| 84 | + * @ORM\Column(type="string", nullable=true, options={"comment" = "ubicacion del titulo de postgrado en caso de tenerlo"}) | ||
| 85 | + * | ||
| 86 | + * | ||
| 87 | + * @Assert\File(mimeTypes={ "application/pdf" }) | ||
| 88 | + */ | ||
| 89 | + private $postgrado; | ||
| 90 | + | ||
| 91 | + /** | ||
| 92 | + * @ORM\Column(type="string", nullable=true, options={"comment" = "digital del documento de aprobación del concurso de oposicion"}) | ||
| 93 | + * | ||
| 94 | + * | ||
| 95 | + * @Assert\File(mimeTypes={ "application/pdf" }) | ||
| 96 | + */ | ||
| 97 | + private $oposicion; | ||
| 98 | + | ||
| 99 | + /** | ||
| 100 | + * @ORM\Column(type="string", nullable=true, options={"comment" = "digital del documento de ascenso de Asistente"}) | ||
| 101 | + * | ||
| 102 | + * | ||
| 103 | + * @Assert\File(mimeTypes={ "application/pdf" }) | ||
| 104 | + */ | ||
| 105 | + private $asistente; | ||
| 106 | + | ||
| 107 | + /** | ||
| 108 | + * @ORM\Column(type="string", nullable=true, options={"comment" = "digital del documento de ascenso de Asociado"}) | ||
| 109 | + * | ||
| 110 | + * | ||
| 111 | + * @Assert\File(mimeTypes={ "application/pdf" }) | ||
| 112 | + */ | ||
| 113 | + private $asociado; | ||
| 114 | + | ||
| 115 | + | ||
| 116 | + | ||
| 117 | + | ||
| 118 | + /** | ||
| 119 | + * @ORM\Column(type="string", nullable=true, options={"comment" = "digital del documento de ascenso de agregado"}) | ||
| 120 | + * | ||
| 121 | + * | ||
| 122 | + * @Assert\File(mimeTypes={ "application/pdf" }) | ||
| 123 | + */ | ||
| 124 | + private $agreado; | ||
| 125 | + | ||
| 126 | + | ||
| 127 | + /** | ||
| 128 | + * @ORM\Column(type="string", nullable=true, options={"comment" = "digital del documento de ascenso de titular"}) | ||
| 129 | + * | ||
| 130 | + * | ||
| 131 | + * @Assert\File(mimeTypes={ "application/pdf" }) | ||
| 132 | + */ | ||
| 133 | + private $titular; | ||
| 134 | + | ||
| 135 | + | ||
| 136 | + | ||
| 137 | + /** | ||
| 138 | + * @ORM\Column(name="titulo_trabajo", type="string", nullable=true, options={"comment" = "titulo del trabajo de investigacion"}) | ||
| 139 | + */ | ||
| 140 | + private $tituloTrabajo; | ||
| 141 | + | ||
| 142 | + | ||
| 143 | + /** @ORM\Column(type="datetime", nullable=false, options={"comment" = "Fecha de creación de la solicitud"}) | ||
| 144 | + | ||
| 145 | + */ | ||
| 146 | + | ||
| 147 | + private $fecha_creacion; | ||
| 148 | + | ||
| 149 | + | ||
| 150 | + /** @ORM\Column(type="datetime", nullable=false, options={"comment" = "Fecha de actualizacion de la solicitud"}) | ||
| 151 | + | ||
| 152 | + */ | ||
| 153 | + | ||
| 154 | + private $fecha_ultima_actualizacion; | ||
| 155 | + | ||
| 156 | + /** | ||
| 157 | + * @var \AppBundle\Entity\Estatus | ||
| 158 | + * | ||
| 159 | + * @ORM\ManyToOne(targetEntity="AppBundle\Entity\Estatus") | ||
| 160 | + * @ORM\JoinColumns({ | ||
| 161 | + * @ORM\JoinColumn(name="id_estatus", referencedColumnName="id", nullable=false) | ||
| 162 | + * }) | ||
| 163 | + */ | ||
| 164 | + protected $idEstatus; | ||
| 165 | + | ||
| 166 | + | ||
| 167 | + | ||
| 168 | + | ||
| 169 | + | ||
| 170 | + public function getTrabajo() | ||
| 171 | + { | ||
| 172 | + return $this->trabajo; | ||
| 173 | + } | ||
| 174 | + | ||
| 175 | + public function setTrabajo($trabajo) | ||
| 176 | + { | ||
| 177 | + $this->trabajo = $trabajo; | ||
| 178 | + | ||
| 179 | + return $this; | ||
| 180 | + } | ||
| 181 | + | ||
| 182 | + public function getPregrado() | ||
| 183 | + { | ||
| 184 | + return $this->pregrado; | ||
| 185 | + } | ||
| 186 | + | ||
| 187 | + public function setPregrado($pregrado) | ||
| 188 | + { | ||
| 189 | + $this->pregrado = $pregrado; | ||
| 190 | + | ||
| 191 | + return $this; | ||
| 192 | + } | ||
| 193 | + | ||
| 194 | + public function getPostgrado() | ||
| 195 | + { | ||
| 196 | + return $this->postgrado; | ||
| 197 | + } | ||
| 198 | + | ||
| 199 | + public function setPostgrado($postgrado) | ||
| 200 | + { | ||
| 201 | + $this->postgrado = $postgrado; | ||
| 202 | + | ||
| 203 | + return $this; | ||
| 204 | + } | ||
| 205 | + | ||
| 206 | + public function getAsistente() | ||
| 207 | + { | ||
| 208 | + return $this->asistente; | ||
| 209 | + } | ||
| 210 | + | ||
| 211 | + public function setAsistente($asistente) | ||
| 212 | + { | ||
| 213 | + $this->asistente = $asistente; | ||
| 214 | + | ||
| 215 | + return $this; | ||
| 216 | + } | ||
| 217 | + | ||
| 218 | + /** | ||
| 219 | + * @return mixed | ||
| 220 | + */ | ||
| 221 | + public function getOposicion() | ||
| 222 | + { | ||
| 223 | + return $this->oposicion; | ||
| 224 | + } | ||
| 225 | + | ||
| 226 | + /** | ||
| 227 | + * @param mixed $oposicion | ||
| 228 | + */ | ||
| 229 | + public function setOposicion($oposicion) | ||
| 230 | + { | ||
| 231 | + $this->oposicion = $oposicion; | ||
| 232 | + } | ||
| 233 | + | ||
| 234 | + /** | ||
| 235 | + * @return mixed | ||
| 236 | + */ | ||
| 237 | + public function getAsociado() | ||
| 238 | + { | ||
| 239 | + return $this->asociado; | ||
| 240 | + } | ||
| 241 | + | ||
| 242 | + /** | ||
| 243 | + * @param mixed $asociado | ||
| 244 | + */ | ||
| 245 | + public function setAsociado($asociado) | ||
| 246 | + { | ||
| 247 | + $this->asociado = $asociado; | ||
| 248 | + } | ||
| 249 | + | ||
| 250 | + /** | ||
| 251 | + * @return mixed | ||
| 252 | + */ | ||
| 253 | + public function getAgreado() | ||
| 254 | + { | ||
| 255 | + return $this->agreado; | ||
| 256 | + } | ||
| 257 | + | ||
| 258 | + /** | ||
| 259 | + * @param mixed $agreado | ||
| 260 | + */ | ||
| 261 | + public function setAgreado($agreado) | ||
| 262 | + { | ||
| 263 | + $this->agreado = $agreado; | ||
| 264 | + } | ||
| 265 | + | ||
| 266 | + /** | ||
| 267 | + * @return mixed | ||
| 268 | + */ | ||
| 269 | + public function getTitular() | ||
| 270 | + { | ||
| 271 | + return $this->titular; | ||
| 272 | + } | ||
| 273 | + | ||
| 274 | + /** | ||
| 275 | + * @param mixed $titular | ||
| 276 | + */ | ||
| 277 | + public function setTitular($titular) | ||
| 278 | + { | ||
| 279 | + $this->titular = $titular; | ||
| 280 | + } | ||
| 281 | + | ||
| 282 | + /** | ||
| 283 | + * Get id | ||
| 284 | + * | ||
| 285 | + * @return integer | ||
| 286 | + */ | ||
| 287 | + public function getId() | ||
| 288 | + { | ||
| 289 | + return $this->id; | ||
| 290 | + } | ||
| 291 | + | ||
| 292 | + | ||
| 293 | + /** | ||
| 294 | + * Set idRolInstitucion | ||
| 295 | + * | ||
| 296 | + * @param \AppBundle\Entity\RolInstitucion $idRolInstitucion | ||
| 297 | + * @return Usuarios | ||
| 298 | + */ | ||
| 299 | + public function setIdRolInstitucion(\AppBundle\Entity\RolInstitucion $idRolInstitucion = null) | ||
| 300 | + { | ||
| 301 | + $this->idRolInstitucion = $idRolInstitucion; | ||
| 302 | + | ||
| 303 | + return $this; | ||
| 304 | + } | ||
| 305 | + | ||
| 306 | + /** | ||
| 307 | + * Get idRolInstitucion | ||
| 308 | + * | ||
| 309 | + * @return \AppBundle\Entity\RolInstitucion | ||
| 310 | + */ | ||
| 311 | + public function getIdRolInstitucion() | ||
| 312 | + { | ||
| 313 | + return $this->idRolInstitucion; | ||
| 314 | + } | ||
| 315 | + | ||
| 316 | + | ||
| 317 | + | ||
| 318 | + /** | ||
| 319 | + * Set idLineaInvestigacion | ||
| 320 | + * | ||
| 321 | + * @param \AppBundle\Entity\LineasInvestigacion $idLineaInvestigacion | ||
| 322 | + * @return LineasInvestigacion | ||
| 323 | + */ | ||
| 324 | + public function setIdLineaInvestigacion(\AppBundle\Entity\LineasInvestigacion $idLineaInvestigacion = null) | ||
| 325 | + { | ||
| 326 | + $this->idLineaInvestigacion = $idLineaInvestigacion; | ||
| 327 | + | ||
| 328 | + return $this; | ||
| 329 | + } | ||
| 330 | + | ||
| 331 | + /** | ||
| 332 | + * Get idLineaIvestigacion | ||
| 333 | + * | ||
| 334 | + * @return \AppBundle\Entity\LineasInvestigacion | ||
| 335 | + */ | ||
| 336 | + public function getIdLineaInvestigacion() | ||
| 337 | + { | ||
| 338 | + return $this->idLineaInvestigacion; | ||
| 339 | + } | ||
| 340 | + | ||
| 341 | + | ||
| 342 | + | ||
| 343 | + /** | ||
| 344 | + * Set idEstatus | ||
| 345 | + * | ||
| 346 | + * @param \AppBundle\Entity\Estatus $idEstatus | ||
| 347 | + * @return Estatus | ||
| 348 | + */ | ||
| 349 | + public function setIdEstatus(\AppBundle\Entity\Estatus $idEstatus = null) | ||
| 350 | + { | ||
| 351 | + $this->idEstatus = $idEstatus; | ||
| 352 | + | ||
| 353 | + return $this; | ||
| 354 | + } | ||
| 355 | + | ||
| 356 | + /** | ||
| 357 | + * Get idEstatus | ||
| 358 | + * | ||
| 359 | + * @return \AppBundle\Entity\Estatus | ||
| 360 | + */ | ||
| 361 | + public function getIdEstatus() | ||
| 362 | + { | ||
| 363 | + return $this->idEstatus; | ||
| 364 | + } | ||
| 365 | + | ||
| 366 | + | ||
| 367 | + | ||
| 368 | + /** | ||
| 369 | + * @ORM\PrePersist | ||
| 370 | + */ | ||
| 371 | + public function setFechaCreacion() | ||
| 372 | + { | ||
| 373 | + $this->fecha_creacion = new \DateTime(); | ||
| 374 | + $this->fecha_ultima_actualizacion = new \DateTime(); | ||
| 375 | + } | ||
| 376 | + | ||
| 377 | + public function getFechaCreacion() | ||
| 378 | + { | ||
| 379 | + return $this->fecha_creacion; | ||
| 380 | + | ||
| 381 | + } | ||
| 382 | + | ||
| 383 | + | ||
| 384 | + /** | ||
| 385 | + * @ORM\PreUpdate | ||
| 386 | + */ | ||
| 387 | + public function setFechaUltimaActualizacion() | ||
| 388 | + { | ||
| 389 | + $this->fecha_utlima_actualizacion = new \DateTime(); | ||
| 390 | + } | ||
| 391 | + | ||
| 392 | + | ||
| 393 | + | ||
| 394 | + /** | ||
| 395 | + * @return mixed | ||
| 396 | + */ | ||
| 397 | + public function getTituloTrabajo() | ||
| 398 | + { | ||
| 399 | + return $this->tituloTrabajo; | ||
| 400 | + } | ||
| 401 | + | ||
| 402 | + | ||
| 403 | + /** | ||
| 404 | + * @param mixed $tituloTrabajo | ||
| 405 | + */ | ||
| 406 | + public function setTituloTrabajo($tituloTrabajo) | ||
| 407 | + { | ||
| 408 | + $this->tituloTrabajo = $tituloTrabajo; | ||
| 409 | + } | ||
| 410 | + | ||
| 411 | + | ||
| 412 | + /** | ||
| 413 | + * Set fecha_escala | ||
| 414 | + * | ||
| 415 | + * @param \DateTime $fecha_escala | ||
| 416 | + * @return Comment | ||
| 417 | + */ | ||
| 418 | + public function setFechaIngreso($fecha_ingreso) | ||
| 419 | + { | ||
| 420 | + $this->fecha_ingreso = $fecha_ingreso; | ||
| 421 | + | ||
| 422 | + return $this; | ||
| 423 | + } | ||
| 424 | + | ||
| 425 | + /** | ||
| 426 | + * Get fecha_escala | ||
| 427 | + * | ||
| 428 | + * @return \DateTime | ||
| 429 | + */ | ||
| 430 | + public function getFechaIngreso() | ||
| 431 | + { | ||
| 432 | + return $this->fecha_ingreso; | ||
| 433 | + } | ||
| 434 | + | ||
| 435 | + | ||
| 436 | +} |