From 1625c61aaa5d17a39580c6e67a264282aa42a1e1 Mon Sep 17 00:00:00 2001 From: Wilmer Ramones Date: Mon, 25 Jul 2016 14:45:35 -0400 Subject: [PATCH] creado el modelo de la planificacion docente --- src/AppBundle/Entity/OfertaAcademica.php | 82 ++++- src/AppBundle/Entity/OfertaAcademica.php~ | 149 +++++++- src/AppBundle/Entity/Periodo.php | 62 ++++ src/AppBundle/Entity/Periodo.php~ | 74 +++- src/AppBundle/Entity/PlanificacionSeccion.php | 400 +++++++++++++++++++++ src/AppBundle/Entity/PlanificacionSeccion.php~ | 110 ++++++ .../Entity/PlanificacionSeccionContenido.php | 174 +++++++++ .../Entity/PlanificacionSeccionContenido.php~ | 72 ++++ .../Entity/PlanificacionSeccionEspecifico.php | 112 ++++++ .../Entity/PlanificacionSeccionEspecifico.php~ | 56 +++ .../Entity/PlanificacionSeccionEstrategia.php | 140 ++++++++ .../Entity/PlanificacionSeccionEstrategia.php~ | 61 ++++ .../Entity/PlanificacionSeccionEvaluacion.php | 249 +++++++++++++ .../Entity/PlanificacionSeccionEvaluacion.php~ | 101 ++++++ src/AppBundle/Entity/Seccion.php | 39 ++ src/AppBundle/Entity/Seccion.php~ | 216 ++++++++++- src/AppBundle/Entity/TipoEvaluacion.php | 88 +++++ src/AppBundle/Entity/TipoEvaluacion.php~ | 55 +++ src/AppBundle/Entity/TipoInstrumentoEvaluacion.php | 81 +++++ .../Entity/TipoInstrumentoEvaluacion.php~ | 48 +++ src/AppBundle/Entity/UnidadCurricularVolumen.php | 46 +++ src/AppBundle/Entity/UnidadCurricularVolumen.php~ | 108 +++++- .../Entity/UnidadCurricularVolumenTema.php | 172 +++++++++ .../Entity/UnidadCurricularVolumenTema.php~ | 149 ++++++++ 24 files changed, 2834 insertions(+), 10 deletions(-) create mode 100644 src/AppBundle/Entity/PlanificacionSeccion.php create mode 100644 src/AppBundle/Entity/PlanificacionSeccion.php~ create mode 100644 src/AppBundle/Entity/PlanificacionSeccionContenido.php create mode 100644 src/AppBundle/Entity/PlanificacionSeccionContenido.php~ create mode 100644 src/AppBundle/Entity/PlanificacionSeccionEspecifico.php create mode 100644 src/AppBundle/Entity/PlanificacionSeccionEspecifico.php~ create mode 100644 src/AppBundle/Entity/PlanificacionSeccionEstrategia.php create mode 100644 src/AppBundle/Entity/PlanificacionSeccionEstrategia.php~ create mode 100644 src/AppBundle/Entity/PlanificacionSeccionEvaluacion.php create mode 100644 src/AppBundle/Entity/PlanificacionSeccionEvaluacion.php~ create mode 100644 src/AppBundle/Entity/TipoEvaluacion.php create mode 100644 src/AppBundle/Entity/TipoEvaluacion.php~ create mode 100644 src/AppBundle/Entity/TipoInstrumentoEvaluacion.php create mode 100644 src/AppBundle/Entity/TipoInstrumentoEvaluacion.php~ create mode 100644 src/AppBundle/Entity/UnidadCurricularVolumenTema.php create mode 100644 src/AppBundle/Entity/UnidadCurricularVolumenTema.php~ diff --git a/src/AppBundle/Entity/OfertaAcademica.php b/src/AppBundle/Entity/OfertaAcademica.php index a4232d5..4b0c063 100644 --- a/src/AppBundle/Entity/OfertaAcademica.php +++ b/src/AppBundle/Entity/OfertaAcademica.php @@ -20,6 +20,7 @@ use Doctrine\ORM\Mapping as ORM; * } * ) * @ORM\Entity + * @ORM\HasLifecycleCallbacks() */ class OfertaAcademica { @@ -53,7 +54,20 @@ class OfertaAcademica * @ORM\OneToMany(targetEntity="Seccion", mappedBy="ofertaAcademica") */ private $seccion; - + + + /** @ORM\Column(name="fecha_creacion", type="datetime", nullable=false, options={"comment" = "Fecha de creación de la solicitud"}) + + */ + + private $fechaCreacion; + + + /** @ORM\Column(name="fecha_actualizacion", type="datetime", nullable=false, options={"comment" = "Fecha de actualizacion de la solicitud"}) + + */ + + private $fechaActualizacion; /** @@ -163,7 +177,73 @@ class OfertaAcademica return $this->idOfertaMallaCurricular; } + + /** + * @ORM\PrePersist() + */ + public function prePersist() + { + $this->fechaCreacion = new \DateTime(); + $this->fechaActualizacion = new \DateTime(); + } + + + /** + * @ORM\PreUpdate() + */ + public function preUpdate() + { + $this->fechaActualizacion = new \DateTime(); + } + + public function __toString() { return $this->getIdMallaCurricularUc()->getIdUnidadCurricularVolumen()->getIdUnidadCurricular()->getNombre(); } + + /** + * Set fechaCreacion + * + * @param \DateTime $fechaCreacion + * @return OfertaAcademica + */ + public function setFechaCreacion($fechaCreacion) + { + $this->fechaCreacion = $fechaCreacion; + + return $this; + } + + /** + * Get fechaCreacion + * + * @return \DateTime + */ + public function getFechaCreacion() + { + return $this->fechaCreacion; + } + + /** + * Set fechaActualizacion + * + * @param \DateTime $fechaActualizacion + * @return OfertaAcademica + */ + public function setFechaActualizacion($fechaActualizacion) + { + $this->fechaActualizacion = $fechaActualizacion; + + return $this; + } + + /** + * Get fechaActualizacion + * + * @return \DateTime + */ + public function getFechaActualizacion() + { + return $this->fechaActualizacion; + } } diff --git a/src/AppBundle/Entity/OfertaAcademica.php~ b/src/AppBundle/Entity/OfertaAcademica.php~ index 71af7a7..415b206 100644 --- a/src/AppBundle/Entity/OfertaAcademica.php~ +++ b/src/AppBundle/Entity/OfertaAcademica.php~ @@ -7,8 +7,20 @@ use Doctrine\ORM\Mapping as ORM; /** * OfertaAcademica * - * @ORM\Table(name="oferta_academica", uniqueConstraints={@ORM\UniqueConstraint(name="i_oferta_academica", columns={"id_malla_curricular_uc", "id_seccion", "id_oferta_malla_curricular"})}, indexes={@ORM\Index(name="fki_oferta_malla_curricular_oferta_academica", columns={"id_oferta_malla_curricular"}), @ORM\Index(name="fki_seccion_oferta_academica", columns={"id_seccion"}), @ORM\Index(name="fki_turno_oferta_academica", columns={"id_turno"}), @ORM\Index(name="fki_rol_institucion_oferta_academica", columns={"id_rol_institucion"}), @ORM\Index(name="fki_malla_curricular_uc_oferta_academica", columns={"id_malla_curricular_uc"})}) + * @ORM\Table(name="oferta_academica", + * uniqueConstraints= + * {@ORM\UniqueConstraint(name="i_oferta_academica", + * columns={"id_malla_curricular_uc", "id_oferta_malla_curricular"}) + * }, + * indexes={ + * @ORM\Index(name="fki_oferta_malla_curricular_oferta_academica", + * columns={"id_oferta_malla_curricular"}), + * @ORM\Index(name="fki_malla_curricular_uc_oferta_academica", + * columns={"id_malla_curricular_uc"}) + * } + * ) * @ORM\Entity + * @ORM\HasLifecycleCallbacks() */ class OfertaAcademica { @@ -42,7 +54,20 @@ class OfertaAcademica * @ORM\OneToMany(targetEntity="Seccion", mappedBy="ofertaAcademica") */ private $seccion; - + + + /** @ORM\Column(name="fecha_creacion", type="datetime", nullable=false, options={"comment" = "Fecha de creación de la solicitud"}) + + */ + + private $fechaCreacion; + + + /** @ORM\Column(name="fecha_actualizacion", type="datetime", nullable=false, options={"comment" = "Fecha de actualizacion de la solicitud"}) + + */ + + private $fechaActualizacion; /** @@ -55,4 +80,124 @@ class OfertaAcademica */ private $idOfertaMallaCurricular; + /** + * Constructor + */ + public function __construct() + { + $this->seccion = new \Doctrine\Common\Collections\ArrayCollection(); + } + + /** + * Get id + * + * @return integer + */ + public function getId() + { + return $this->id; + } + + /** + * Set idMallaCurricularUc + * + * @param \AppBundle\Entity\MallaCurricularUc $idMallaCurricularUc + * @return OfertaAcademica + */ + public function setIdMallaCurricularUc(\AppBundle\Entity\MallaCurricularUc $idMallaCurricularUc) + { + $this->idMallaCurricularUc = $idMallaCurricularUc; + + return $this; + } + + /** + * Get idMallaCurricularUc + * + * @return \AppBundle\Entity\MallaCurricularUc + */ + public function getIdMallaCurricularUc() + { + return $this->idMallaCurricularUc; + } + + /** + * Add seccion + * + * @param \AppBundle\Entity\Seccion $seccion + * @return OfertaAcademica + */ + public function addSeccion(\AppBundle\Entity\Seccion $seccion) + { + $this->seccion[] = $seccion; + + return $this; + } + + /** + * Remove seccion + * + * @param \AppBundle\Entity\Seccion $seccion + */ + public function removeSeccion(\AppBundle\Entity\Seccion $seccion) + { + $this->seccion->removeElement($seccion); + } + + /** + * Get seccion + * + * @return \Doctrine\Common\Collections\Collection + */ + public function getSeccion() + { + return $this->seccion; + } + + /** + * Set idOfertaMallaCurricular + * + * @param \AppBundle\Entity\OfertaMallaCurricular $idOfertaMallaCurricular + * @return OfertaAcademica + */ + public function setIdOfertaMallaCurricular(\AppBundle\Entity\OfertaMallaCurricular $idOfertaMallaCurricular) + { + $this->idOfertaMallaCurricular = $idOfertaMallaCurricular; + + return $this; + } + + /** + * Get idOfertaMallaCurricular + * + * @return \AppBundle\Entity\OfertaMallaCurricular + */ + public function getIdOfertaMallaCurricular() + { + return $this->idOfertaMallaCurricular; + } + + + /** + * @ORM\PrePersist() + */ + public function prePersist() + { + $this->fechaCreacion = new \DateTime(); + $this->fechaActualizacion = new \DateTime(); + } + + + /** + * @ORM\PreUpdate() + */ + public function preUpdate() + { + $this->fechaActualizacion = new \DateTime(); + } + + + public function __toString() { + return $this->getIdMallaCurricularUc()->getIdUnidadCurricularVolumen()->getIdUnidadCurricular()->getNombre(); + } } diff --git a/src/AppBundle/Entity/Periodo.php b/src/AppBundle/Entity/Periodo.php index 3946014..3387efb 100644 --- a/src/AppBundle/Entity/Periodo.php +++ b/src/AppBundle/Entity/Periodo.php @@ -38,6 +38,22 @@ class Periodo * @ORM\SequenceGenerator(sequenceName="periodo_id_seq", allocationSize=1, initialValue=1) */ private $id; + + + /** @ORM\Column(name="fecha_inicio", type="datetime", nullable=false, options={"comment" = "Fecha de creación de la solicitud"}) + + */ + + private $fechaInicio; + + + /** @ORM\Column(name="fecha_fin", type="datetime", nullable=false, options={"comment" = "Fecha de actualizacion de la solicitud"}) + + */ + + private $fechaFin; + + /** * Set nombre @@ -98,4 +114,50 @@ class Periodo public function __toString() { return $this->getNombre(); } + + /** + * Set fechaInicio + * + * @param \DateTime $fechaInicio + * @return Periodo + */ + public function setFechaInicio($fechaInicio) + { + $this->fechaInicio = $fechaInicio; + + return $this; + } + + /** + * Get fechaInicio + * + * @return \DateTime + */ + public function getFechaInicio() + { + return $this->fechaInicio; + } + + /** + * Set fechaFin + * + * @param \DateTime $fechaFin + * @return Periodo + */ + public function setFechaFin($fechaFin) + { + $this->fechaFin = $fechaFin; + + return $this; + } + + /** + * Get fechaFin + * + * @return \DateTime + */ + public function getFechaFin() + { + return $this->fechaFin; + } } diff --git a/src/AppBundle/Entity/Periodo.php~ b/src/AppBundle/Entity/Periodo.php~ index 03d446a..a349cc9 100644 --- a/src/AppBundle/Entity/Periodo.php~ +++ b/src/AppBundle/Entity/Periodo.php~ @@ -38,8 +38,80 @@ class Periodo * @ORM\SequenceGenerator(sequenceName="periodo_id_seq", allocationSize=1, initialValue=1) */ private $id; + + + /** @ORM\Column(name="fecha_inicio", type="datetime", nullable=false, options={"comment" = "Fecha de creación de la solicitud"}) + + */ + + private $fechaInicio; + + + /** @ORM\Column(name="fecha_fin", type="datetime", nullable=false, options={"comment" = "Fecha de actualizacion de la solicitud"}) + + */ + + private $fechaFin; + + + /** + * Set nombre + * + * @param string $nombre + * @return Periodo + */ + public function setNombre($nombre) + { + $this->nombre = $nombre; + return $this; + } + /** + * Get nombre + * + * @return string + */ + public function getNombre() + { + return $this->nombre; + } + + /** + * Get id + * + * @return integer + */ + public function getId() + { + return $this->id; + } + + /** + * Set idEstatus + * + * @param \AppBundle\Entity\Estatus $idEstatus + * @return Periodo + */ + public function setIdEstatus(\AppBundle\Entity\Estatus $idEstatus) + { + $this->idEstatus = $idEstatus; + + return $this; + } + + /** + * Get idEstatus + * + * @return \AppBundle\Entity\Estatus + */ + public function getIdEstatus() + { + return $this->idEstatus; + } -} \ No newline at end of file + public function __toString() { + return $this->getNombre(); + } +} diff --git a/src/AppBundle/Entity/PlanificacionSeccion.php b/src/AppBundle/Entity/PlanificacionSeccion.php new file mode 100644 index 0000000..b98b6c7 --- /dev/null +++ b/src/AppBundle/Entity/PlanificacionSeccion.php @@ -0,0 +1,400 @@ +idObjetivoEspecifico = new \Doctrine\Common\Collections\ArrayCollection(); + $this->idPlanificacionSeccionContenido = new \Doctrine\Common\Collections\ArrayCollection(); + $this->idPlanificacionSeccionEstrategia = new \Doctrine\Common\Collections\ArrayCollection(); + $this->idPlanificacionSeccionEvaluacion = new \Doctrine\Common\Collections\ArrayCollection(); + } + + /** + * Set fecha_creacion + * + * @param \DateTime $fechaCreacion + * @return PlanificacionSeccion + */ + public function setFechaCreacion($fechaCreacion) + { + $this->fecha_creacion = $fechaCreacion; + + return $this; + } + + /** + * Get fecha_creacion + * + * @return \DateTime + */ + public function getFechaCreacion() + { + return $this->fecha_creacion; + } + + /** + * Set fecha_ultima_actualizacion + * + * @param \DateTime $fechaUltimaActualizacion + * @return PlanificacionSeccion + */ + public function setFechaUltimaActualizacion($fechaUltimaActualizacion) + { + $this->fecha_ultima_actualizacion = $fechaUltimaActualizacion; + + return $this; + } + + /** + * Get fecha_ultima_actualizacion + * + * @return \DateTime + */ + public function getFechaUltimaActualizacion() + { + return $this->fecha_ultima_actualizacion; + } + + /** + * Set observacion + * + * @param string $observacion + * @return PlanificacionSeccion + */ + public function setObservacion($observacion) + { + $this->observacion = $observacion; + + return $this; + } + + /** + * Get observacion + * + * @return string + */ + public function getObservacion() + { + return $this->observacion; + } + + /** + * Get id + * + * @return integer + */ + public function getId() + { + return $this->id; + } + + /** + * Set objetivo + * + * @param string $objetivo + * @return PlanificacionSeccion + */ + public function setObjetivo($objetivo) + { + $this->objetivo = $objetivo; + + return $this; + } + + /** + * Get objetivo + * + * @return string + */ + public function getObjetivo() + { + return $this->objetivo; + } + + /** + * Set idtemaUc + * + * @param \AppBundle\Entity\UnidadCurricularVolumenTema $idtemaUc + * @return PlanificacionSeccion + */ + public function setIdtemaUc(\AppBundle\Entity\UnidadCurricularVolumenTema $idtemaUc) + { + $this->idtemaUc = $idtemaUc; + + return $this; + } + + /** + * Get idtemaUc + * + * @return \AppBundle\Entity\UnidadCurricularVolumenTema + */ + public function getIdtemaUc() + { + return $this->idtemaUc; + } + + /** + * Add idObjetivoEspecifico + * + * @param \AppBundle\Entity\PlanificacionSeccionEspecifico $idObjetivoEspecifico + * @return PlanificacionSeccion + */ + public function addIdObjetivoEspecifico(\AppBundle\Entity\PlanificacionSeccionEspecifico $idObjetivoEspecifico) + { + $this->idObjetivoEspecifico[] = $idObjetivoEspecifico; + + return $this; + } + + /** + * Remove idObjetivoEspecifico + * + * @param \AppBundle\Entity\PlanificacionSeccionEspecifico $idObjetivoEspecifico + */ + public function removeIdObjetivoEspecifico(\AppBundle\Entity\PlanificacionSeccionEspecifico $idObjetivoEspecifico) + { + $this->idObjetivoEspecifico->removeElement($idObjetivoEspecifico); + } + + /** + * Get idObjetivoEspecifico + * + * @return \Doctrine\Common\Collections\Collection + */ + public function getIdObjetivoEspecifico() + { + return $this->idObjetivoEspecifico; + } + + /** + * Add idPlanificacionSeccionContenido + * + * @param \AppBundle\Entity\PlanificacionSeccionContenido $idPlanificacionSeccionContenido + * @return PlanificacionSeccion + */ + public function addIdPlanificacionSeccionContenido(\AppBundle\Entity\PlanificacionSeccionContenido $idPlanificacionSeccionContenido) + { + $this->idPlanificacionSeccionContenido[] = $idPlanificacionSeccionContenido; + + return $this; + } + + /** + * Remove idPlanificacionSeccionContenido + * + * @param \AppBundle\Entity\PlanificacionSeccionContenido $idPlanificacionSeccionContenido + */ + public function removeIdPlanificacionSeccionContenido(\AppBundle\Entity\PlanificacionSeccionContenido $idPlanificacionSeccionContenido) + { + $this->idPlanificacionSeccionContenido->removeElement($idPlanificacionSeccionContenido); + } + + /** + * Get idPlanificacionSeccionContenido + * + * @return \Doctrine\Common\Collections\Collection + */ + public function getIdPlanificacionSeccionContenido() + { + return $this->idPlanificacionSeccionContenido; + } + + /** + * Add idPlanificacionSeccionEstrategia + * + * @param \AppBundle\Entity\PlanificacionSeccionEstrategia $idPlanificacionSeccionEstrategia + * @return PlanificacionSeccion + */ + public function addIdPlanificacionSeccionEstrategium(\AppBundle\Entity\PlanificacionSeccionEstrategia $idPlanificacionSeccionEstrategia) + { + $this->idPlanificacionSeccionEstrategia[] = $idPlanificacionSeccionEstrategia; + + return $this; + } + + /** + * Remove idPlanificacionSeccionEstrategia + * + * @param \AppBundle\Entity\PlanificacionSeccionEstrategia $idPlanificacionSeccionEstrategia + */ + public function removeIdPlanificacionSeccionEstrategium(\AppBundle\Entity\PlanificacionSeccionEstrategia $idPlanificacionSeccionEstrategia) + { + $this->idPlanificacionSeccionEstrategia->removeElement($idPlanificacionSeccionEstrategia); + } + + /** + * Get idPlanificacionSeccionEstrategia + * + * @return \Doctrine\Common\Collections\Collection + */ + public function getIdPlanificacionSeccionEstrategia() + { + return $this->idPlanificacionSeccionEstrategia; + } + + /** + * Add idPlanificacionSeccionEvaluacion + * + * @param \AppBundle\Entity\PlanificacionSeccionEvaluacion $idPlanificacionSeccionEvaluacion + * @return PlanificacionSeccion + */ + public function addIdPlanificacionSeccionEvaluacion(\AppBundle\Entity\PlanificacionSeccionEvaluacion $idPlanificacionSeccionEvaluacion) + { + $this->idPlanificacionSeccionEvaluacion[] = $idPlanificacionSeccionEvaluacion; + + return $this; + } + + /** + * Remove idPlanificacionSeccionEvaluacion + * + * @param \AppBundle\Entity\PlanificacionSeccionEvaluacion $idPlanificacionSeccionEvaluacion + */ + public function removeIdPlanificacionSeccionEvaluacion(\AppBundle\Entity\PlanificacionSeccionEvaluacion $idPlanificacionSeccionEvaluacion) + { + $this->idPlanificacionSeccionEvaluacion->removeElement($idPlanificacionSeccionEvaluacion); + } + + /** + * Get idPlanificacionSeccionEvaluacion + * + * @return \Doctrine\Common\Collections\Collection + */ + public function getIdPlanificacionSeccionEvaluacion() + { + return $this->idPlanificacionSeccionEvaluacion; + } + + /** + * Set seccion + * + * @param \AppBundle\Entity\Seccion $seccion + * @return PlanificacionSeccion + */ + public function setSeccion(\AppBundle\Entity\Seccion $seccion = null) + { + $this->seccion = $seccion; + + return $this; + } + + /** + * Get seccion + * + * @return \AppBundle\Entity\Seccion + */ + public function getSeccion() + { + return $this->seccion; + } +} diff --git a/src/AppBundle/Entity/PlanificacionSeccion.php~ b/src/AppBundle/Entity/PlanificacionSeccion.php~ new file mode 100644 index 0000000..ac81545 --- /dev/null +++ b/src/AppBundle/Entity/PlanificacionSeccion.php~ @@ -0,0 +1,110 @@ +conceptual = $conceptual; + + return $this; + } + + /** + * Get conceptual + * + * @return string + */ + public function getConceptual() + { + return $this->conceptual; + } + + /** + * Set procedimental + * + * @param string $procedimental + * @return PlanificacionSeccionContenido + */ + public function setProcedimental($procedimental) + { + $this->procedimental = $procedimental; + + return $this; + } + + /** + * Get procedimental + * + * @return string + */ + public function getProcedimental() + { + return $this->procedimental; + } + + /** + * Set actitudinal + * + * @param string $actitudinal + * @return PlanificacionSeccionContenido + */ + public function setActitudinal($actitudinal) + { + $this->actitudinal = $actitudinal; + + return $this; + } + + /** + * Get actitudinal + * + * @return string + */ + public function getActitudinal() + { + return $this->actitudinal; + } + + /** + * Get id + * + * @return integer + */ + public function getId() + { + return $this->id; + } + + /** + * Set idPlanificacionSeccion + * + * @param \AppBundle\Entity\PlanificacionSeccion $idPlanificacionSeccion + * @return PlanificacionSeccionContenido + */ + public function setIdPlanificacionSeccion(\AppBundle\Entity\PlanificacionSeccion $idPlanificacionSeccion) + { + $this->idPlanificacionSeccion = $idPlanificacionSeccion; + + return $this; + } + + /** + * Get idPlanificacionSeccion + * + * @return \AppBundle\Entity\PlanificacionSeccion + */ + public function getIdPlanificacionSeccion() + { + return $this->idPlanificacionSeccion; + } +} diff --git a/src/AppBundle/Entity/PlanificacionSeccionContenido.php~ b/src/AppBundle/Entity/PlanificacionSeccionContenido.php~ new file mode 100644 index 0000000..85125e1 --- /dev/null +++ b/src/AppBundle/Entity/PlanificacionSeccionContenido.php~ @@ -0,0 +1,72 @@ +objetivoEspecifico = $objetivoEspecifico; + + return $this; + } + + /** + * Get objetivoEspecifico + * + * @return string + */ + public function getObjetivoEspecifico() + { + return $this->objetivoEspecifico; + } + + /** + * Get id + * + * @return integer + */ + public function getId() + { + return $this->id; + } + + /** + * Set idPlanificacionSeccion + * + * @param \AppBundle\Entity\PlanificacionSeccion $idPlanificacionSeccion + * @return PlanificacionSeccionEspecifico + */ + public function setIdPlanificacionSeccion(\AppBundle\Entity\PlanificacionSeccion $idPlanificacionSeccion) + { + $this->idPlanificacionSeccion = $idPlanificacionSeccion; + + return $this; + } + + /** + * Get idPlanificacionSeccion + * + * @return \AppBundle\Entity\PlanificacionSeccion + */ + public function getIdPlanificacionSeccion() + { + return $this->idPlanificacionSeccion; + } +} diff --git a/src/AppBundle/Entity/PlanificacionSeccionEspecifico.php~ b/src/AppBundle/Entity/PlanificacionSeccionEspecifico.php~ new file mode 100644 index 0000000..a2a0b67 --- /dev/null +++ b/src/AppBundle/Entity/PlanificacionSeccionEspecifico.php~ @@ -0,0 +1,56 @@ +id; + } + + /** + * Set tipoEstrategia + * + * @param string $tipoEstrategia + * @return PlanificacionSeccionEstrategia + */ + public function setTipoEstrategia($tipoEstrategia) + { + $this->tipoEstrategia = $tipoEstrategia; + + return $this; + } + + /** + * Get tipoEstrategia + * + * @return string + */ + public function getTipoEstrategia() + { + return $this->tipoEstrategia; + } + + /** + * Set tipoRecurso + * + * @param string $tipoRecurso + * @return PlanificacionSeccionEstrategia + */ + public function setTipoRecurso($tipoRecurso) + { + $this->tipoRecurso = $tipoRecurso; + + return $this; + } + + /** + * Get tipoRecurso + * + * @return string + */ + public function getTipoRecurso() + { + return $this->tipoRecurso; + } + + /** + * Set idPlanificacionSeccion + * + * @param \AppBundle\Entity\PlanificacionSeccion $idPlanificacionSeccion + * @return PlanificacionSeccionEstrategia + */ + public function setIdPlanificacionSeccion(\AppBundle\Entity\PlanificacionSeccion $idPlanificacionSeccion) + { + $this->idPlanificacionSeccion = $idPlanificacionSeccion; + + return $this; + } + + /** + * Get idPlanificacionSeccion + * + * @return \AppBundle\Entity\PlanificacionSeccion + */ + public function getIdPlanificacionSeccion() + { + return $this->idPlanificacionSeccion; + } +} diff --git a/src/AppBundle/Entity/PlanificacionSeccionEstrategia.php~ b/src/AppBundle/Entity/PlanificacionSeccionEstrategia.php~ new file mode 100644 index 0000000..c5af2ca --- /dev/null +++ b/src/AppBundle/Entity/PlanificacionSeccionEstrategia.php~ @@ -0,0 +1,61 @@ +id; + } + + /** + * Set tipoInstrumentoEvaluacion + * + * @param string $tipoInstrumentoEvaluacion + * @return PlanificacionSeccionEvaluacion + */ + public function setTipoInstrumentoEvaluacion($tipoInstrumentoEvaluacion) + { + $this->tipoInstrumentoEvaluacion = $tipoInstrumentoEvaluacion; + + return $this; + } + + /** + * Get tipoInstrumentoEvaluacion + * + * @return string + */ + public function getTipoInstrumentoEvaluacion() + { + return $this->tipoInstrumentoEvaluacion; + } + + /** + * Set ponderacion + * + * @param integer $ponderacion + * @return PlanificacionSeccionEvaluacion + */ + public function setPonderacion($ponderacion) + { + $this->ponderacion = $ponderacion; + + return $this; + } + + /** + * Get ponderacion + * + * @return integer + */ + public function getPonderacion() + { + return $this->ponderacion; + } + + /** + * Set fechaEvaluacion + * + * @param \DateTime $fechaEvaluacion + * @return PlanificacionSeccionEvaluacion + */ + public function setFechaEvaluacion($fechaEvaluacion) + { + $this->fechaEvaluacion = $fechaEvaluacion; + + return $this; + } + + /** + * Get fechaEvaluacion + * + * @return \DateTime + */ + public function getFechaEvaluacion() + { + return $this->fechaEvaluacion; + } + + /** + * Set idPlanificacionSeccion + * + * @param \AppBundle\Entity\PlanificacionSeccion $idPlanificacionSeccion + * @return PlanificacionSeccionEvaluacion + */ + public function setIdPlanificacionSeccion(\AppBundle\Entity\PlanificacionSeccion $idPlanificacionSeccion) + { + $this->idPlanificacionSeccion = $idPlanificacionSeccion; + + return $this; + } + + /** + * Get idPlanificacionSeccion + * + * @return \AppBundle\Entity\PlanificacionSeccion + */ + public function getIdPlanificacionSeccion() + { + return $this->idPlanificacionSeccion; + } + + /** + * Set idTipoEvaluacion + * + * @param \AppBundle\Entity\TipoEvaluacion $idTipoEvaluacion + * @return PlanificacionSeccionEvaluacion + */ + public function setIdTipoEvaluacion(\AppBundle\Entity\TipoEvaluacion $idTipoEvaluacion) + { + $this->idTipoEvaluacion = $idTipoEvaluacion; + + return $this; + } + + /** + * Get idTipoEvaluacion + * + * @return \AppBundle\Entity\TipoEvaluacion + */ + public function getIdTipoEvaluacion() + { + return $this->idTipoEvaluacion; + } + + /** + * Set idEstatus + * + * @param \AppBundle\Entity\Estatus $idEstatus + * @return PlanificacionSeccionEvaluacion + */ + public function setIdEstatus(\AppBundle\Entity\Estatus $idEstatus) + { + $this->idEstatus = $idEstatus; + + return $this; + } + + /** + * Get idEstatus + * + * @return \AppBundle\Entity\Estatus + */ + public function getIdEstatus() + { + return $this->idEstatus; + } +} diff --git a/src/AppBundle/Entity/PlanificacionSeccionEvaluacion.php~ b/src/AppBundle/Entity/PlanificacionSeccionEvaluacion.php~ new file mode 100644 index 0000000..ec7f094 --- /dev/null +++ b/src/AppBundle/Entity/PlanificacionSeccionEvaluacion.php~ @@ -0,0 +1,101 @@ +hasInscripcion = new \Doctrine\Common\Collections\ArrayCollection(); + $this->planificacion = new \Doctrine\Common\Collections\ArrayCollection(); } /** @@ -287,4 +293,37 @@ class Seccion { return $this->getNombre(); } + + /** + * Add planificacion + * + * @param \AppBundle\Entity\PlanificacionSeccion $planificacion + * @return Seccion + */ + public function addPlanificacion(\AppBundle\Entity\PlanificacionSeccion $planificacion) + { + $this->planificacion[] = $planificacion; + + return $this; + } + + /** + * Remove planificacion + * + * @param \AppBundle\Entity\PlanificacionSeccion $planificacion + */ + public function removePlanificacion(\AppBundle\Entity\PlanificacionSeccion $planificacion) + { + $this->planificacion->removeElement($planificacion); + } + + /** + * Get planificacion + * + * @return \Doctrine\Common\Collections\Collection + */ + public function getPlanificacion() + { + return $this->planificacion; + } } diff --git a/src/AppBundle/Entity/Seccion.php~ b/src/AppBundle/Entity/Seccion.php~ index 7e5aa9c..769b2a5 100644 --- a/src/AppBundle/Entity/Seccion.php~ +++ b/src/AppBundle/Entity/Seccion.php~ @@ -7,7 +7,19 @@ use Doctrine\ORM\Mapping as ORM; /** * Seccion * - * @ORM\Table(name="seccion", uniqueConstraints={@ORM\UniqueConstraint(name="uq_seccion", columns={"nombre"})}) + * @ORM\Table(name="seccion", + * uniqueConstraints= + * {@ORM\UniqueConstraint(name="uq_seccion", + * columns={"nombre", "id_turno"}) + * }, + * indexes={ + * @ORM\Index(name="fki_turno_oferta_academica", + * columns={"id_turno"}), + * @ORM\Index(name="fki_rol_institucion_oferta_academica", + * columns={"id_rol_institucion"}), + + * } + * ) * @ORM\Entity */ class Seccion @@ -34,7 +46,7 @@ class Seccion private $cupo; /** - * @ORM\OneToMany(targetEntity="AppBundle\Entity\Inscripcion" , mappedBy="idOfertaAcademica" , cascade={"all"}) + * @ORM\OneToMany(targetEntity="AppBundle\Entity\Inscripcion" , mappedBy="idSeccion" , cascade={"all"}) * */ protected $hasInscripcion; @@ -74,17 +86,211 @@ class Seccion * @ORM\JoinColumn(name="oferta_academica_id", referencedColumnName="id") */ private $ofertaAcademica; - + + /** + * @ORM\OneToMany(targetEntity="PlanificacionSeccion", mappedBy="planificacion") + */ + private $planificacion; + /** + * Constructor + */ + public function __construct() + { + $this->hasInscripcion = new \Doctrine\Common\Collections\ArrayCollection(); + $this->planificacion = new \Doctrine\Common\Collections\ArrayCollection(); + } + + /** + * Set nombre + * + * @param string $nombre + * @return Seccion + */ + public function setNombre($nombre) + { + $this->nombre = $nombre; + + return $this; + } + + /** + * Get nombre + * + * @return string + */ + public function getNombre() + { + return $this->nombre; + } + + /** + * Set aula + * + * @param string $aula + * @return Seccion + */ + public function setAula($aula) + { + $this->aula = $aula; + + return $this; + } + + /** + * Get aula + * + * @return string + */ + public function getAula() + { + return $this->aula; + } + + /** + * Set cupo + * + * @param string $cupo + * @return Seccion + */ + public function setCupo($cupo) + { + $this->cupo = $cupo; + + return $this; + } + + /** + * Get cupo + * + * @return string + */ + public function getCupo() + { + return $this->cupo; + } + + /** + * Get id + * + * @return integer + */ + public function getId() + { + return $this->id; + } + + /** + * Add hasInscripcion + * + * @param \AppBundle\Entity\Inscripcion $hasInscripcion + * @return Seccion + */ + public function addHasInscripcion(\AppBundle\Entity\Inscripcion $hasInscripcion) + { + $this->hasInscripcion[] = $hasInscripcion; + + return $this; + } + + /** + * Remove hasInscripcion + * + * @param \AppBundle\Entity\Inscripcion $hasInscripcion + */ + public function removeHasInscripcion(\AppBundle\Entity\Inscripcion $hasInscripcion) + { + $this->hasInscripcion->removeElement($hasInscripcion); + } + + /** + * Get hasInscripcion + * + * @return \Doctrine\Common\Collections\Collection + */ + public function getHasInscripcion() + { + return $this->hasInscripcion; + } + + /** + * Set idTurno + * + * @param \AppBundle\Entity\Turno $idTurno + * @return Seccion + */ + public function setIdTurno(\AppBundle\Entity\Turno $idTurno) + { + $this->idTurno = $idTurno; + + return $this; + } + + /** + * Get idTurno + * + * @return \AppBundle\Entity\Turno + */ + public function getIdTurno() + { + return $this->idTurno; + } + + /** + * Set idRolInstitucion + * + * @param \AppBundle\Entity\RolInstitucion $idRolInstitucion + * @return Seccion + */ + public function setIdRolInstitucion(\AppBundle\Entity\RolInstitucion $idRolInstitucion) + { + $this->idRolInstitucion = $idRolInstitucion; + + return $this; + } + + /** + * Get idRolInstitucion + * + * @return \AppBundle\Entity\RolInstitucion + */ + public function getIdRolInstitucion() + { + return $this->idRolInstitucion; + } + + /** + * Set ofertaAcademica + * + * @param \AppBundle\Entity\OfertaAcademica $ofertaAcademica + * @return Seccion + */ + public function setOfertaAcademica(\AppBundle\Entity\OfertaAcademica $ofertaAcademica = null) + { + $this->ofertaAcademica = $ofertaAcademica; + + return $this; + } + + /** + * Get ofertaAcademica + * + * @return \AppBundle\Entity\OfertaAcademica + */ + public function getOfertaAcademica() + { + return $this->ofertaAcademica; + } /** * * @return string */ - public function __toString() { + public function __toString() + { return $this->getNombre(); } -} \ No newline at end of file +} diff --git a/src/AppBundle/Entity/TipoEvaluacion.php b/src/AppBundle/Entity/TipoEvaluacion.php new file mode 100644 index 0000000..6e00aab --- /dev/null +++ b/src/AppBundle/Entity/TipoEvaluacion.php @@ -0,0 +1,88 @@ +nombre; + } + + + + /** + * Set nombre + * + * @param string $nombre + * @return TipoEvaluacion + */ + public function setNombre($nombre) + { + $this->nombre = $nombre; + + return $this; + } + + /** + * Get nombre + * + * @return string + */ + public function getNombre() + { + return $this->nombre; + } + + /** + * Get id + * + * @return integer + */ + public function getId() + { + return $this->id; + } +} diff --git a/src/AppBundle/Entity/TipoEvaluacion.php~ b/src/AppBundle/Entity/TipoEvaluacion.php~ new file mode 100644 index 0000000..53b24de --- /dev/null +++ b/src/AppBundle/Entity/TipoEvaluacion.php~ @@ -0,0 +1,55 @@ +nombre; + } + + +} \ No newline at end of file diff --git a/src/AppBundle/Entity/TipoInstrumentoEvaluacion.php b/src/AppBundle/Entity/TipoInstrumentoEvaluacion.php new file mode 100644 index 0000000..5b24a60 --- /dev/null +++ b/src/AppBundle/Entity/TipoInstrumentoEvaluacion.php @@ -0,0 +1,81 @@ +nombre; + } + + + + /** + * Set nombre + * + * @param string $nombre + * @return TipoInstrumentoEvaluacion + */ + public function setNombre($nombre) + { + $this->nombre = $nombre; + + return $this; + } + + /** + * Get nombre + * + * @return string + */ + public function getNombre() + { + return $this->nombre; + } + + /** + * Get id + * + * @return integer + */ + public function getId() + { + return $this->id; + } +} diff --git a/src/AppBundle/Entity/TipoInstrumentoEvaluacion.php~ b/src/AppBundle/Entity/TipoInstrumentoEvaluacion.php~ new file mode 100644 index 0000000..f6e8537 --- /dev/null +++ b/src/AppBundle/Entity/TipoInstrumentoEvaluacion.php~ @@ -0,0 +1,48 @@ +nombre; + } + + +} \ No newline at end of file diff --git a/src/AppBundle/Entity/UnidadCurricularVolumen.php b/src/AppBundle/Entity/UnidadCurricularVolumen.php index e7ea482..a97150e 100644 --- a/src/AppBundle/Entity/UnidadCurricularVolumen.php +++ b/src/AppBundle/Entity/UnidadCurricularVolumen.php @@ -41,6 +41,12 @@ class UnidadCurricularVolumen * }) */ private $idUnidadCurricular; + + + /** + * @ORM\OneToMany(targetEntity="UnidadCurricularVolumenTema", mappedBy="idUnidadCurricularVolumen") + */ + private $temas; @@ -105,4 +111,44 @@ class UnidadCurricularVolumen public function __toString() { return $this->getIdUnidadCurricular(); } + /** + * Constructor + */ + public function __construct() + { + $this->temas = new \Doctrine\Common\Collections\ArrayCollection(); + } + + /** + * Add temas + * + * @param \AppBundle\Entity\UnidadCurricularVolumenTema $temas + * @return UnidadCurricularVolumen + */ + public function addTema(\AppBundle\Entity\UnidadCurricularVolumenTema $temas) + { + $this->temas[] = $temas; + + return $this; + } + + /** + * Remove temas + * + * @param \AppBundle\Entity\UnidadCurricularVolumenTema $temas + */ + public function removeTema(\AppBundle\Entity\UnidadCurricularVolumenTema $temas) + { + $this->temas->removeElement($temas); + } + + /** + * Get temas + * + * @return \Doctrine\Common\Collections\Collection + */ + public function getTemas() + { + return $this->temas; + } } diff --git a/src/AppBundle/Entity/UnidadCurricularVolumen.php~ b/src/AppBundle/Entity/UnidadCurricularVolumen.php~ index 28565e3..a97150e 100644 --- a/src/AppBundle/Entity/UnidadCurricularVolumen.php~ +++ b/src/AppBundle/Entity/UnidadCurricularVolumen.php~ @@ -41,8 +41,114 @@ class UnidadCurricularVolumen * }) */ private $idUnidadCurricular; + + + /** + * @ORM\OneToMany(targetEntity="UnidadCurricularVolumenTema", mappedBy="idUnidadCurricularVolumen") + */ + private $temas; -} \ No newline at end of file + + /** + * Get id + * + * @return integer + */ + public function getId() + { + return $this->id; + } + + /** + * Set idVolumen + * + * @param \AppBundle\Entity\Volumen $idVolumen + * @return UnidadCurricularVolumen + */ + public function setIdVolumen(\AppBundle\Entity\Volumen $idVolumen) + { + $this->idVolumen = $idVolumen; + + return $this; + } + + /** + * Get idVolumen + * + * @return \AppBundle\Entity\Volumen + */ + public function getIdVolumen() + { + return $this->idVolumen; + } + + /** + * Set idUnidadCurricular + * + * @param \AppBundle\Entity\UnidadCurricular $idUnidadCurricular + * @return UnidadCurricularVolumen + */ + public function setIdUnidadCurricular(\AppBundle\Entity\UnidadCurricular $idUnidadCurricular) + { + $this->idUnidadCurricular = $idUnidadCurricular; + + return $this; + } + + /** + * Get idUnidadCurricular + * + * @return \AppBundle\Entity\UnidadCurricular + */ + public function getIdUnidadCurricular() + { + return $this->idUnidadCurricular; + } + + public function __toString() { + return $this->getIdUnidadCurricular(); + } + /** + * Constructor + */ + public function __construct() + { + $this->temas = new \Doctrine\Common\Collections\ArrayCollection(); + } + + /** + * Add temas + * + * @param \AppBundle\Entity\UnidadCurricularVolumenTema $temas + * @return UnidadCurricularVolumen + */ + public function addTema(\AppBundle\Entity\UnidadCurricularVolumenTema $temas) + { + $this->temas[] = $temas; + + return $this; + } + + /** + * Remove temas + * + * @param \AppBundle\Entity\UnidadCurricularVolumenTema $temas + */ + public function removeTema(\AppBundle\Entity\UnidadCurricularVolumenTema $temas) + { + $this->temas->removeElement($temas); + } + + /** + * Get temas + * + * @return \Doctrine\Common\Collections\Collection + */ + public function getTemas() + { + return $this->temas; + } +} diff --git a/src/AppBundle/Entity/UnidadCurricularVolumenTema.php b/src/AppBundle/Entity/UnidadCurricularVolumenTema.php new file mode 100644 index 0000000..b87fd39 --- /dev/null +++ b/src/AppBundle/Entity/UnidadCurricularVolumenTema.php @@ -0,0 +1,172 @@ +nombre; + } + + + + + + /** + * Set nombre + * + * @param string $nombre + * @return UnidadCurricularVolumenTema + */ + public function setNombre($nombre) + { + $this->nombre = $nombre; + + return $this; + } + + /** + * Get nombre + * + * @return string + */ + public function getNombre() + { + return $this->nombre; + } + + /** + * Get id + * + * @return integer + */ + public function getId() + { + return $this->id; + } + + /** + * Set idUnidadCurricularVolumen + * + * @param \AppBundle\Entity\UnidadCurricularVolumen $idUnidadCurricularVolumen + * @return UnidadCurricularVolumenTema + */ + public function setIdUnidadCurricularVolumen(\AppBundle\Entity\UnidadCurricularVolumen $idUnidadCurricularVolumen = null) + { + $this->idUnidadCurricularVolumen = $idUnidadCurricularVolumen; + + return $this; + } + + /** + * Get idUnidadCurricularVolumen + * + * @return \AppBundle\Entity\UnidadCurricularVolumen + */ + public function getIdUnidadCurricularVolumen() + { + return $this->idUnidadCurricularVolumen; + } + + /** + * Set objetivoGeneral + * + * @param string $objetivoGeneral + * @return UnidadCurricularVolumenTema + */ + public function setObjetivoGeneral($objetivoGeneral) + { + $this->objetivoGeneral = $objetivoGeneral; + + return $this; + } + + /** + * Get objetivoGeneral + * + * @return string + */ + public function getObjetivoGeneral() + { + return $this->objetivoGeneral; + } + + /** + * Set orden + * + * @param integer $orden + * @return UnidadCurricularVolumenTema + */ + public function setOrden($orden) + { + $this->orden = $orden; + + return $this; + } + + /** + * Get orden + * + * @return integer + */ + public function getOrden() + { + return $this->orden; + } +} diff --git a/src/AppBundle/Entity/UnidadCurricularVolumenTema.php~ b/src/AppBundle/Entity/UnidadCurricularVolumenTema.php~ new file mode 100644 index 0000000..75ef176 --- /dev/null +++ b/src/AppBundle/Entity/UnidadCurricularVolumenTema.php~ @@ -0,0 +1,149 @@ +nombre; + } + + + + + + /** + * Set nombre + * + * @param string $nombre + * @return UnidadCurricularVolumenTema + */ + public function setNombre($nombre) + { + $this->nombre = $nombre; + + return $this; + } + + /** + * Get nombre + * + * @return string + */ + public function getNombre() + { + return $this->nombre; + } + + /** + * Get id + * + * @return integer + */ + public function getId() + { + return $this->id; + } + + /** + * Set idUnidadCurricularVolumen + * + * @param \AppBundle\Entity\UnidadCurricularVolumen $idUnidadCurricularVolumen + * @return UnidadCurricularVolumenTema + */ + public function setIdUnidadCurricularVolumen(\AppBundle\Entity\UnidadCurricularVolumen $idUnidadCurricularVolumen = null) + { + $this->idUnidadCurricularVolumen = $idUnidadCurricularVolumen; + + return $this; + } + + /** + * Get idUnidadCurricularVolumen + * + * @return \AppBundle\Entity\UnidadCurricularVolumen + */ + public function getIdUnidadCurricularVolumen() + { + return $this->idUnidadCurricularVolumen; + } + + /** + * Set objetivoGeneral + * + * @param string $objetivoGeneral + * @return UnidadCurricularVolumenTema + */ + public function setObjetivoGeneral($objetivoGeneral) + { + $this->objetivoGeneral = $objetivoGeneral; + + return $this; + } + + /** + * Get objetivoGeneral + * + * @return string + */ + public function getObjetivoGeneral() + { + return $this->objetivoGeneral; + } +} -- 2.0.0