Commit 1625c61aaa5d17a39580c6e67a264282aa42a1e1
1 parent
de7d78bffe
Exists in
master
creado el modelo de la planificacion docente
Showing
24 changed files
with
2834 additions
and
10 deletions
Show diff stats
src/AppBundle/Entity/OfertaAcademica.php
| @@ -20,6 +20,7 @@ use Doctrine\ORM\Mapping as ORM; | @@ -20,6 +20,7 @@ use Doctrine\ORM\Mapping as ORM; | ||
| 20 | * } | 20 | * } |
| 21 | * ) | 21 | * ) |
| 22 | * @ORM\Entity | 22 | * @ORM\Entity |
| 23 | + * @ORM\HasLifecycleCallbacks() | ||
| 23 | */ | 24 | */ |
| 24 | class OfertaAcademica | 25 | class OfertaAcademica |
| 25 | { | 26 | { |
| @@ -53,7 +54,20 @@ class OfertaAcademica | @@ -53,7 +54,20 @@ class OfertaAcademica | ||
| 53 | * @ORM\OneToMany(targetEntity="Seccion", mappedBy="ofertaAcademica") | 54 | * @ORM\OneToMany(targetEntity="Seccion", mappedBy="ofertaAcademica") |
| 54 | */ | 55 | */ |
| 55 | private $seccion; | 56 | private $seccion; |
| 56 | - | 57 | + |
| 58 | + | ||
| 59 | + /** @ORM\Column(name="fecha_creacion", type="datetime", nullable=false, options={"comment" = "Fecha de creación de la solicitud"}) | ||
| 60 | + | ||
| 61 | + */ | ||
| 62 | + | ||
| 63 | + private $fechaCreacion; | ||
| 64 | + | ||
| 65 | + | ||
| 66 | + /** @ORM\Column(name="fecha_actualizacion", type="datetime", nullable=false, options={"comment" = "Fecha de actualizacion de la solicitud"}) | ||
| 67 | + | ||
| 68 | + */ | ||
| 69 | + | ||
| 70 | + private $fechaActualizacion; | ||
| 57 | 71 | ||
| 58 | 72 | ||
| 59 | /** | 73 | /** |
| @@ -163,7 +177,73 @@ class OfertaAcademica | @@ -163,7 +177,73 @@ class OfertaAcademica | ||
| 163 | return $this->idOfertaMallaCurricular; | 177 | return $this->idOfertaMallaCurricular; |
| 164 | } | 178 | } |
| 165 | 179 | ||
| 180 | + | ||
| 181 | + /** | ||
| 182 | + * @ORM\PrePersist() | ||
| 183 | + */ | ||
| 184 | + public function prePersist() | ||
| 185 | + { | ||
| 186 | + $this->fechaCreacion = new \DateTime(); | ||
| 187 | + $this->fechaActualizacion = new \DateTime(); | ||
| 188 | + } | ||
| 189 | + | ||
| 190 | + | ||
| 191 | + /** | ||
| 192 | + * @ORM\PreUpdate() | ||
| 193 | + */ | ||
| 194 | + public function preUpdate() | ||
| 195 | + { | ||
| 196 | + $this->fechaActualizacion = new \DateTime(); | ||
| 197 | + } | ||
| 198 | + | ||
| 199 | + | ||
| 166 | public function __toString() { | 200 | public function __toString() { |
| 167 | return $this->getIdMallaCurricularUc()->getIdUnidadCurricularVolumen()->getIdUnidadCurricular()->getNombre(); | 201 | return $this->getIdMallaCurricularUc()->getIdUnidadCurricularVolumen()->getIdUnidadCurricular()->getNombre(); |
| 168 | } | 202 | } |
| 203 | + | ||
| 204 | + /** | ||
| 205 | + * Set fechaCreacion | ||
| 206 | + * | ||
| 207 | + * @param \DateTime $fechaCreacion | ||
| 208 | + * @return OfertaAcademica | ||
| 209 | + */ | ||
| 210 | + public function setFechaCreacion($fechaCreacion) | ||
| 211 | + { | ||
| 212 | + $this->fechaCreacion = $fechaCreacion; | ||
| 213 | + | ||
| 214 | + return $this; | ||
| 215 | + } | ||
| 216 | + | ||
| 217 | + /** | ||
| 218 | + * Get fechaCreacion | ||
| 219 | + * | ||
| 220 | + * @return \DateTime | ||
| 221 | + */ | ||
| 222 | + public function getFechaCreacion() | ||
| 223 | + { | ||
| 224 | + return $this->fechaCreacion; | ||
| 225 | + } | ||
| 226 | + | ||
| 227 | + /** | ||
| 228 | + * Set fechaActualizacion | ||
| 229 | + * | ||
| 230 | + * @param \DateTime $fechaActualizacion | ||
| 231 | + * @return OfertaAcademica | ||
| 232 | + */ | ||
| 233 | + public function setFechaActualizacion($fechaActualizacion) | ||
| 234 | + { | ||
| 235 | + $this->fechaActualizacion = $fechaActualizacion; | ||
| 236 | + | ||
| 237 | + return $this; | ||
| 238 | + } | ||
| 239 | + | ||
| 240 | + /** | ||
| 241 | + * Get fechaActualizacion | ||
| 242 | + * | ||
| 243 | + * @return \DateTime | ||
| 244 | + */ | ||
| 245 | + public function getFechaActualizacion() | ||
| 246 | + { | ||
| 247 | + return $this->fechaActualizacion; | ||
| 248 | + } | ||
| 169 | } | 249 | } |
src/AppBundle/Entity/OfertaAcademica.php~
| @@ -7,8 +7,20 @@ use Doctrine\ORM\Mapping as ORM; | @@ -7,8 +7,20 @@ use Doctrine\ORM\Mapping as ORM; | ||
| 7 | /** | 7 | /** |
| 8 | * OfertaAcademica | 8 | * OfertaAcademica |
| 9 | * | 9 | * |
| 10 | - * @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"})}) | 10 | + * @ORM\Table(name="oferta_academica", |
| 11 | + * uniqueConstraints= | ||
| 12 | + * {@ORM\UniqueConstraint(name="i_oferta_academica", | ||
| 13 | + * columns={"id_malla_curricular_uc", "id_oferta_malla_curricular"}) | ||
| 14 | + * }, | ||
| 15 | + * indexes={ | ||
| 16 | + * @ORM\Index(name="fki_oferta_malla_curricular_oferta_academica", | ||
| 17 | + * columns={"id_oferta_malla_curricular"}), | ||
| 18 | + * @ORM\Index(name="fki_malla_curricular_uc_oferta_academica", | ||
| 19 | + * columns={"id_malla_curricular_uc"}) | ||
| 20 | + * } | ||
| 21 | + * ) | ||
| 11 | * @ORM\Entity | 22 | * @ORM\Entity |
| 23 | + * @ORM\HasLifecycleCallbacks() | ||
| 12 | */ | 24 | */ |
| 13 | class OfertaAcademica | 25 | class OfertaAcademica |
| 14 | { | 26 | { |
| @@ -42,7 +54,20 @@ class OfertaAcademica | @@ -42,7 +54,20 @@ class OfertaAcademica | ||
| 42 | * @ORM\OneToMany(targetEntity="Seccion", mappedBy="ofertaAcademica") | 54 | * @ORM\OneToMany(targetEntity="Seccion", mappedBy="ofertaAcademica") |
| 43 | */ | 55 | */ |
| 44 | private $seccion; | 56 | private $seccion; |
| 45 | - | 57 | + |
| 58 | + | ||
| 59 | + /** @ORM\Column(name="fecha_creacion", type="datetime", nullable=false, options={"comment" = "Fecha de creación de la solicitud"}) | ||
| 60 | + | ||
| 61 | + */ | ||
| 62 | + | ||
| 63 | + private $fechaCreacion; | ||
| 64 | + | ||
| 65 | + | ||
| 66 | + /** @ORM\Column(name="fecha_actualizacion", type="datetime", nullable=false, options={"comment" = "Fecha de actualizacion de la solicitud"}) | ||
| 67 | + | ||
| 68 | + */ | ||
| 69 | + | ||
| 70 | + private $fechaActualizacion; | ||
| 46 | 71 | ||
| 47 | 72 | ||
| 48 | /** | 73 | /** |
| @@ -55,4 +80,124 @@ class OfertaAcademica | @@ -55,4 +80,124 @@ class OfertaAcademica | ||
| 55 | */ | 80 | */ |
| 56 | private $idOfertaMallaCurricular; | 81 | private $idOfertaMallaCurricular; |
| 57 | 82 | ||
| 83 | + /** | ||
| 84 | + * Constructor | ||
| 85 | + */ | ||
| 86 | + public function __construct() | ||
| 87 | + { | ||
| 88 | + $this->seccion = new \Doctrine\Common\Collections\ArrayCollection(); | ||
| 89 | + } | ||
| 90 | + | ||
| 91 | + /** | ||
| 92 | + * Get id | ||
| 93 | + * | ||
| 94 | + * @return integer | ||
| 95 | + */ | ||
| 96 | + public function getId() | ||
| 97 | + { | ||
| 98 | + return $this->id; | ||
| 99 | + } | ||
| 100 | + | ||
| 101 | + /** | ||
| 102 | + * Set idMallaCurricularUc | ||
| 103 | + * | ||
| 104 | + * @param \AppBundle\Entity\MallaCurricularUc $idMallaCurricularUc | ||
| 105 | + * @return OfertaAcademica | ||
| 106 | + */ | ||
| 107 | + public function setIdMallaCurricularUc(\AppBundle\Entity\MallaCurricularUc $idMallaCurricularUc) | ||
| 108 | + { | ||
| 109 | + $this->idMallaCurricularUc = $idMallaCurricularUc; | ||
| 110 | + | ||
| 111 | + return $this; | ||
| 112 | + } | ||
| 113 | + | ||
| 114 | + /** | ||
| 115 | + * Get idMallaCurricularUc | ||
| 116 | + * | ||
| 117 | + * @return \AppBundle\Entity\MallaCurricularUc | ||
| 118 | + */ | ||
| 119 | + public function getIdMallaCurricularUc() | ||
| 120 | + { | ||
| 121 | + return $this->idMallaCurricularUc; | ||
| 122 | + } | ||
| 123 | + | ||
| 124 | + /** | ||
| 125 | + * Add seccion | ||
| 126 | + * | ||
| 127 | + * @param \AppBundle\Entity\Seccion $seccion | ||
| 128 | + * @return OfertaAcademica | ||
| 129 | + */ | ||
| 130 | + public function addSeccion(\AppBundle\Entity\Seccion $seccion) | ||
| 131 | + { | ||
| 132 | + $this->seccion[] = $seccion; | ||
| 133 | + | ||
| 134 | + return $this; | ||
| 135 | + } | ||
| 136 | + | ||
| 137 | + /** | ||
| 138 | + * Remove seccion | ||
| 139 | + * | ||
| 140 | + * @param \AppBundle\Entity\Seccion $seccion | ||
| 141 | + */ | ||
| 142 | + public function removeSeccion(\AppBundle\Entity\Seccion $seccion) | ||
| 143 | + { | ||
| 144 | + $this->seccion->removeElement($seccion); | ||
| 145 | + } | ||
| 146 | + | ||
| 147 | + /** | ||
| 148 | + * Get seccion | ||
| 149 | + * | ||
| 150 | + * @return \Doctrine\Common\Collections\Collection | ||
| 151 | + */ | ||
| 152 | + public function getSeccion() | ||
| 153 | + { | ||
| 154 | + return $this->seccion; | ||
| 155 | + } | ||
| 156 | + | ||
| 157 | + /** | ||
| 158 | + * Set idOfertaMallaCurricular | ||
| 159 | + * | ||
| 160 | + * @param \AppBundle\Entity\OfertaMallaCurricular $idOfertaMallaCurricular | ||
| 161 | + * @return OfertaAcademica | ||
| 162 | + */ | ||
| 163 | + public function setIdOfertaMallaCurricular(\AppBundle\Entity\OfertaMallaCurricular $idOfertaMallaCurricular) | ||
| 164 | + { | ||
| 165 | + $this->idOfertaMallaCurricular = $idOfertaMallaCurricular; | ||
| 166 | + | ||
| 167 | + return $this; | ||
| 168 | + } | ||
| 169 | + | ||
| 170 | + /** | ||
| 171 | + * Get idOfertaMallaCurricular | ||
| 172 | + * | ||
| 173 | + * @return \AppBundle\Entity\OfertaMallaCurricular | ||
| 174 | + */ | ||
| 175 | + public function getIdOfertaMallaCurricular() | ||
| 176 | + { | ||
| 177 | + return $this->idOfertaMallaCurricular; | ||
| 178 | + } | ||
| 179 | + | ||
| 180 | + | ||
| 181 | + /** | ||
| 182 | + * @ORM\PrePersist() | ||
| 183 | + */ | ||
| 184 | + public function prePersist() | ||
| 185 | + { | ||
| 186 | + $this->fechaCreacion = new \DateTime(); | ||
| 187 | + $this->fechaActualizacion = new \DateTime(); | ||
| 188 | + } | ||
| 189 | + | ||
| 190 | + | ||
| 191 | + /** | ||
| 192 | + * @ORM\PreUpdate() | ||
| 193 | + */ | ||
| 194 | + public function preUpdate() | ||
| 195 | + { | ||
| 196 | + $this->fechaActualizacion = new \DateTime(); | ||
| 197 | + } | ||
| 198 | + | ||
| 199 | + | ||
| 200 | + public function __toString() { | ||
| 201 | + return $this->getIdMallaCurricularUc()->getIdUnidadCurricularVolumen()->getIdUnidadCurricular()->getNombre(); | ||
| 202 | + } | ||
| 58 | } | 203 | } |
src/AppBundle/Entity/Periodo.php
| @@ -38,6 +38,22 @@ class Periodo | @@ -38,6 +38,22 @@ class Periodo | ||
| 38 | * @ORM\SequenceGenerator(sequenceName="periodo_id_seq", allocationSize=1, initialValue=1) | 38 | * @ORM\SequenceGenerator(sequenceName="periodo_id_seq", allocationSize=1, initialValue=1) |
| 39 | */ | 39 | */ |
| 40 | private $id; | 40 | private $id; |
| 41 | + | ||
| 42 | + | ||
| 43 | + /** @ORM\Column(name="fecha_inicio", type="datetime", nullable=false, options={"comment" = "Fecha de creación de la solicitud"}) | ||
| 44 | + | ||
| 45 | + */ | ||
| 46 | + | ||
| 47 | + private $fechaInicio; | ||
| 48 | + | ||
| 49 | + | ||
| 50 | + /** @ORM\Column(name="fecha_fin", type="datetime", nullable=false, options={"comment" = "Fecha de actualizacion de la solicitud"}) | ||
| 51 | + | ||
| 52 | + */ | ||
| 53 | + | ||
| 54 | + private $fechaFin; | ||
| 55 | + | ||
| 56 | + | ||
| 41 | 57 | ||
| 42 | /** | 58 | /** |
| 43 | * Set nombre | 59 | * Set nombre |
| @@ -98,4 +114,50 @@ class Periodo | @@ -98,4 +114,50 @@ class Periodo | ||
| 98 | public function __toString() { | 114 | public function __toString() { |
| 99 | return $this->getNombre(); | 115 | return $this->getNombre(); |
| 100 | } | 116 | } |
| 117 | + | ||
| 118 | + /** | ||
| 119 | + * Set fechaInicio | ||
| 120 | + * | ||
| 121 | + * @param \DateTime $fechaInicio | ||
| 122 | + * @return Periodo | ||
| 123 | + */ | ||
| 124 | + public function setFechaInicio($fechaInicio) | ||
| 125 | + { | ||
| 126 | + $this->fechaInicio = $fechaInicio; | ||
| 127 | + | ||
| 128 | + return $this; | ||
| 129 | + } | ||
| 130 | + | ||
| 131 | + /** | ||
| 132 | + * Get fechaInicio | ||
| 133 | + * | ||
| 134 | + * @return \DateTime | ||
| 135 | + */ | ||
| 136 | + public function getFechaInicio() | ||
| 137 | + { | ||
| 138 | + return $this->fechaInicio; | ||
| 139 | + } | ||
| 140 | + | ||
| 141 | + /** | ||
| 142 | + * Set fechaFin | ||
| 143 | + * | ||
| 144 | + * @param \DateTime $fechaFin | ||
| 145 | + * @return Periodo | ||
| 146 | + */ | ||
| 147 | + public function setFechaFin($fechaFin) | ||
| 148 | + { | ||
| 149 | + $this->fechaFin = $fechaFin; | ||
| 150 | + | ||
| 151 | + return $this; | ||
| 152 | + } | ||
| 153 | + | ||
| 154 | + /** | ||
| 155 | + * Get fechaFin | ||
| 156 | + * | ||
| 157 | + * @return \DateTime | ||
| 158 | + */ | ||
| 159 | + public function getFechaFin() | ||
| 160 | + { | ||
| 161 | + return $this->fechaFin; | ||
| 162 | + } | ||
| 101 | } | 163 | } |
src/AppBundle/Entity/Periodo.php~
| @@ -38,8 +38,80 @@ class Periodo | @@ -38,8 +38,80 @@ class Periodo | ||
| 38 | * @ORM\SequenceGenerator(sequenceName="periodo_id_seq", allocationSize=1, initialValue=1) | 38 | * @ORM\SequenceGenerator(sequenceName="periodo_id_seq", allocationSize=1, initialValue=1) |
| 39 | */ | 39 | */ |
| 40 | private $id; | 40 | private $id; |
| 41 | + | ||
| 42 | + | ||
| 43 | + /** @ORM\Column(name="fecha_inicio", type="datetime", nullable=false, options={"comment" = "Fecha de creación de la solicitud"}) | ||
| 44 | + | ||
| 45 | + */ | ||
| 46 | + | ||
| 47 | + private $fechaInicio; | ||
| 48 | + | ||
| 49 | + | ||
| 50 | + /** @ORM\Column(name="fecha_fin", type="datetime", nullable=false, options={"comment" = "Fecha de actualizacion de la solicitud"}) | ||
| 51 | + | ||
| 52 | + */ | ||
| 53 | + | ||
| 54 | + private $fechaFin; | ||
| 55 | + | ||
| 56 | + | ||
| 41 | 57 | ||
| 58 | + /** | ||
| 59 | + * Set nombre | ||
| 60 | + * | ||
| 61 | + * @param string $nombre | ||
| 62 | + * @return Periodo | ||
| 63 | + */ | ||
| 64 | + public function setNombre($nombre) | ||
| 65 | + { | ||
| 66 | + $this->nombre = $nombre; | ||
| 42 | 67 | ||
| 68 | + return $this; | ||
| 69 | + } | ||
| 43 | 70 | ||
| 71 | + /** | ||
| 72 | + * Get nombre | ||
| 73 | + * | ||
| 74 | + * @return string | ||
| 75 | + */ | ||
| 76 | + public function getNombre() | ||
| 77 | + { | ||
| 78 | + return $this->nombre; | ||
| 79 | + } | ||
| 80 | + | ||
| 81 | + /** | ||
| 82 | + * Get id | ||
| 83 | + * | ||
| 84 | + * @return integer | ||
| 85 | + */ | ||
| 86 | + public function getId() | ||
| 87 | + { | ||
| 88 | + return $this->id; | ||
| 89 | + } | ||
| 90 | + | ||
| 91 | + /** | ||
| 92 | + * Set idEstatus | ||
| 93 | + * | ||
| 94 | + * @param \AppBundle\Entity\Estatus $idEstatus | ||
| 95 | + * @return Periodo | ||
| 96 | + */ | ||
| 97 | + public function setIdEstatus(\AppBundle\Entity\Estatus $idEstatus) | ||
| 98 | + { | ||
| 99 | + $this->idEstatus = $idEstatus; | ||
| 100 | + | ||
| 101 | + return $this; | ||
| 102 | + } | ||
| 103 | + | ||
| 104 | + /** | ||
| 105 | + * Get idEstatus | ||
| 106 | + * | ||
| 107 | + * @return \AppBundle\Entity\Estatus | ||
| 108 | + */ | ||
| 109 | + public function getIdEstatus() | ||
| 110 | + { | ||
| 111 | + return $this->idEstatus; | ||
| 112 | + } | ||
| 44 | 113 | ||
| 45 | -} | ||
| 46 | \ No newline at end of file | 114 | \ No newline at end of file |
| 115 | + public function __toString() { | ||
| 116 | + return $this->getNombre(); | ||
| 117 | + } | ||
| 118 | +} |
src/AppBundle/Entity/PlanificacionSeccion.php
| @@ -0,0 +1,400 @@ | @@ -0,0 +1,400 @@ | ||
| 1 | +<?php | ||
| 2 | + | ||
| 3 | +namespace AppBundle\Entity; | ||
| 4 | + | ||
| 5 | +use Doctrine\ORM\Mapping as ORM; | ||
| 6 | + | ||
| 7 | +/** | ||
| 8 | + * PlanificacionSeccion | ||
| 9 | + * | ||
| 10 | + * @ORM\Table(name="planificacion_seccion", | ||
| 11 | + * uniqueConstraints= | ||
| 12 | + * {@ORM\UniqueConstraint(name="uq_tema_uc", | ||
| 13 | + * columns={"id_tema_uc"}) | ||
| 14 | + * }, | ||
| 15 | + * indexes={ | ||
| 16 | + * @ORM\Index(name="fki_id_tema_uc", | ||
| 17 | + * columns={"id_tema_uc"}) | ||
| 18 | + * } | ||
| 19 | + * ) | ||
| 20 | + * @ORM\Entity | ||
| 21 | + */ | ||
| 22 | +class PlanificacionSeccion | ||
| 23 | +{ | ||
| 24 | + | ||
| 25 | + /** | ||
| 26 | + * @var \AppBundle\Entity\UnidadCurricularVolumenTema | ||
| 27 | + * | ||
| 28 | + * @ORM\ManyToOne(targetEntity="AppBundle\Entity\UnidadCurricularVolumenTema") | ||
| 29 | + * @ORM\JoinColumns({ | ||
| 30 | + * @ORM\JoinColumn(name="id_tema_uc", referencedColumnName="id", nullable=false) | ||
| 31 | + * }) | ||
| 32 | + */ | ||
| 33 | + private $idtemaUc; | ||
| 34 | + | ||
| 35 | + | ||
| 36 | + /** | ||
| 37 | + * @ORM\OneToMany(targetEntity="PlanificacionSeccionEspecifico", mappedBy="idObjetivoEspecifico") | ||
| 38 | + */ | ||
| 39 | + private $idObjetivoEspecifico; | ||
| 40 | + | ||
| 41 | + | ||
| 42 | + /** | ||
| 43 | + * @ORM\OneToMany(targetEntity="PlanificacionSeccionContenido", mappedBy="idPlanificacionSeccionContenido") | ||
| 44 | + */ | ||
| 45 | + private $idPlanificacionSeccionContenido; | ||
| 46 | + | ||
| 47 | + | ||
| 48 | + /** | ||
| 49 | + * @ORM\OneToMany(targetEntity="PlanificacionSeccionEstrategia", mappedBy="idPlanificacionSeccionEstrategia") | ||
| 50 | + */ | ||
| 51 | + private $idPlanificacionSeccionEstrategia; | ||
| 52 | + | ||
| 53 | + | ||
| 54 | + /** | ||
| 55 | + * @ORM\OneToMany(targetEntity="PlanificacionSeccionEvaluacion", mappedBy="idPlanificacionSeccionEvaluacion") | ||
| 56 | + */ | ||
| 57 | + private $idPlanificacionSeccionEvaluacion; | ||
| 58 | + | ||
| 59 | + | ||
| 60 | + | ||
| 61 | + /** @ORM\Column(type="datetime", nullable=false, options={"comment" = "Fecha de creación de la solicitud"}) | ||
| 62 | + | ||
| 63 | + */ | ||
| 64 | + | ||
| 65 | + private $fecha_creacion; | ||
| 66 | + | ||
| 67 | + | ||
| 68 | + /** @ORM\Column(type="datetime", nullable=false, options={"comment" = "Fecha de actualizacion de la solicitud"}) | ||
| 69 | + | ||
| 70 | + */ | ||
| 71 | + | ||
| 72 | + private $fecha_ultima_actualizacion; | ||
| 73 | + | ||
| 74 | + | ||
| 75 | + /** @var text | ||
| 76 | + * | ||
| 77 | + * @ORM\Column(name="observacion", type="text", nullable=true, options={"comment" = "Observacion de la planificacion"}) | ||
| 78 | + */ | ||
| 79 | + private $observacion; | ||
| 80 | + | ||
| 81 | + | ||
| 82 | + | ||
| 83 | + /** | ||
| 84 | + * @var integer | ||
| 85 | + * | ||
| 86 | + * @ORM\Column(name="id", type="integer", nullable=false, options={"comment" = "Identificador de las seccion"}) | ||
| 87 | + * @ORM\Id | ||
| 88 | + * @ORM\GeneratedValue(strategy="IDENTITY") | ||
| 89 | + * @ORM\SequenceGenerator(sequenceName="seccion_id_seq", allocationSize=1, initialValue=1) | ||
| 90 | + */ | ||
| 91 | + private $id; | ||
| 92 | + | ||
| 93 | + /** | ||
| 94 | + * @ORM\ManyToOne(targetEntity="Seccion", inversedBy="planificacion") | ||
| 95 | + * @ORM\JoinColumn(name="seccion_id", referencedColumnName="id") | ||
| 96 | + */ | ||
| 97 | + private $seccion; | ||
| 98 | + | ||
| 99 | + | ||
| 100 | + /** | ||
| 101 | + * @var string | ||
| 102 | + * | ||
| 103 | + * @ORM\Column(name="objetivo", type="text", nullable=false, options={"comment" = "Objetivo de la seccion"}) | ||
| 104 | + */ | ||
| 105 | + private $objetivo; | ||
| 106 | + | ||
| 107 | + | ||
| 108 | + | ||
| 109 | + | ||
| 110 | + /** | ||
| 111 | + * Constructor | ||
| 112 | + */ | ||
| 113 | + public function __construct() | ||
| 114 | + { | ||
| 115 | + $this->idObjetivoEspecifico = new \Doctrine\Common\Collections\ArrayCollection(); | ||
| 116 | + $this->idPlanificacionSeccionContenido = new \Doctrine\Common\Collections\ArrayCollection(); | ||
| 117 | + $this->idPlanificacionSeccionEstrategia = new \Doctrine\Common\Collections\ArrayCollection(); | ||
| 118 | + $this->idPlanificacionSeccionEvaluacion = new \Doctrine\Common\Collections\ArrayCollection(); | ||
| 119 | + } | ||
| 120 | + | ||
| 121 | + /** | ||
| 122 | + * Set fecha_creacion | ||
| 123 | + * | ||
| 124 | + * @param \DateTime $fechaCreacion | ||
| 125 | + * @return PlanificacionSeccion | ||
| 126 | + */ | ||
| 127 | + public function setFechaCreacion($fechaCreacion) | ||
| 128 | + { | ||
| 129 | + $this->fecha_creacion = $fechaCreacion; | ||
| 130 | + | ||
| 131 | + return $this; | ||
| 132 | + } | ||
| 133 | + | ||
| 134 | + /** | ||
| 135 | + * Get fecha_creacion | ||
| 136 | + * | ||
| 137 | + * @return \DateTime | ||
| 138 | + */ | ||
| 139 | + public function getFechaCreacion() | ||
| 140 | + { | ||
| 141 | + return $this->fecha_creacion; | ||
| 142 | + } | ||
| 143 | + | ||
| 144 | + /** | ||
| 145 | + * Set fecha_ultima_actualizacion | ||
| 146 | + * | ||
| 147 | + * @param \DateTime $fechaUltimaActualizacion | ||
| 148 | + * @return PlanificacionSeccion | ||
| 149 | + */ | ||
| 150 | + public function setFechaUltimaActualizacion($fechaUltimaActualizacion) | ||
| 151 | + { | ||
| 152 | + $this->fecha_ultima_actualizacion = $fechaUltimaActualizacion; | ||
| 153 | + | ||
| 154 | + return $this; | ||
| 155 | + } | ||
| 156 | + | ||
| 157 | + /** | ||
| 158 | + * Get fecha_ultima_actualizacion | ||
| 159 | + * | ||
| 160 | + * @return \DateTime | ||
| 161 | + */ | ||
| 162 | + public function getFechaUltimaActualizacion() | ||
| 163 | + { | ||
| 164 | + return $this->fecha_ultima_actualizacion; | ||
| 165 | + } | ||
| 166 | + | ||
| 167 | + /** | ||
| 168 | + * Set observacion | ||
| 169 | + * | ||
| 170 | + * @param string $observacion | ||
| 171 | + * @return PlanificacionSeccion | ||
| 172 | + */ | ||
| 173 | + public function setObservacion($observacion) | ||
| 174 | + { | ||
| 175 | + $this->observacion = $observacion; | ||
| 176 | + | ||
| 177 | + return $this; | ||
| 178 | + } | ||
| 179 | + | ||
| 180 | + /** | ||
| 181 | + * Get observacion | ||
| 182 | + * | ||
| 183 | + * @return string | ||
| 184 | + */ | ||
| 185 | + public function getObservacion() | ||
| 186 | + { | ||
| 187 | + return $this->observacion; | ||
| 188 | + } | ||
| 189 | + | ||
| 190 | + /** | ||
| 191 | + * Get id | ||
| 192 | + * | ||
| 193 | + * @return integer | ||
| 194 | + */ | ||
| 195 | + public function getId() | ||
| 196 | + { | ||
| 197 | + return $this->id; | ||
| 198 | + } | ||
| 199 | + | ||
| 200 | + /** | ||
| 201 | + * Set objetivo | ||
| 202 | + * | ||
| 203 | + * @param string $objetivo | ||
| 204 | + * @return PlanificacionSeccion | ||
| 205 | + */ | ||
| 206 | + public function setObjetivo($objetivo) | ||
| 207 | + { | ||
| 208 | + $this->objetivo = $objetivo; | ||
| 209 | + | ||
| 210 | + return $this; | ||
| 211 | + } | ||
| 212 | + | ||
| 213 | + /** | ||
| 214 | + * Get objetivo | ||
| 215 | + * | ||
| 216 | + * @return string | ||
| 217 | + */ | ||
| 218 | + public function getObjetivo() | ||
| 219 | + { | ||
| 220 | + return $this->objetivo; | ||
| 221 | + } | ||
| 222 | + | ||
| 223 | + /** | ||
| 224 | + * Set idtemaUc | ||
| 225 | + * | ||
| 226 | + * @param \AppBundle\Entity\UnidadCurricularVolumenTema $idtemaUc | ||
| 227 | + * @return PlanificacionSeccion | ||
| 228 | + */ | ||
| 229 | + public function setIdtemaUc(\AppBundle\Entity\UnidadCurricularVolumenTema $idtemaUc) | ||
| 230 | + { | ||
| 231 | + $this->idtemaUc = $idtemaUc; | ||
| 232 | + | ||
| 233 | + return $this; | ||
| 234 | + } | ||
| 235 | + | ||
| 236 | + /** | ||
| 237 | + * Get idtemaUc | ||
| 238 | + * | ||
| 239 | + * @return \AppBundle\Entity\UnidadCurricularVolumenTema | ||
| 240 | + */ | ||
| 241 | + public function getIdtemaUc() | ||
| 242 | + { | ||
| 243 | + return $this->idtemaUc; | ||
| 244 | + } | ||
| 245 | + | ||
| 246 | + /** | ||
| 247 | + * Add idObjetivoEspecifico | ||
| 248 | + * | ||
| 249 | + * @param \AppBundle\Entity\PlanificacionSeccionEspecifico $idObjetivoEspecifico | ||
| 250 | + * @return PlanificacionSeccion | ||
| 251 | + */ | ||
| 252 | + public function addIdObjetivoEspecifico(\AppBundle\Entity\PlanificacionSeccionEspecifico $idObjetivoEspecifico) | ||
| 253 | + { | ||
| 254 | + $this->idObjetivoEspecifico[] = $idObjetivoEspecifico; | ||
| 255 | + | ||
| 256 | + return $this; | ||
| 257 | + } | ||
| 258 | + | ||
| 259 | + /** | ||
| 260 | + * Remove idObjetivoEspecifico | ||
| 261 | + * | ||
| 262 | + * @param \AppBundle\Entity\PlanificacionSeccionEspecifico $idObjetivoEspecifico | ||
| 263 | + */ | ||
| 264 | + public function removeIdObjetivoEspecifico(\AppBundle\Entity\PlanificacionSeccionEspecifico $idObjetivoEspecifico) | ||
| 265 | + { | ||
| 266 | + $this->idObjetivoEspecifico->removeElement($idObjetivoEspecifico); | ||
| 267 | + } | ||
| 268 | + | ||
| 269 | + /** | ||
| 270 | + * Get idObjetivoEspecifico | ||
| 271 | + * | ||
| 272 | + * @return \Doctrine\Common\Collections\Collection | ||
| 273 | + */ | ||
| 274 | + public function getIdObjetivoEspecifico() | ||
| 275 | + { | ||
| 276 | + return $this->idObjetivoEspecifico; | ||
| 277 | + } | ||
| 278 | + | ||
| 279 | + /** | ||
| 280 | + * Add idPlanificacionSeccionContenido | ||
| 281 | + * | ||
| 282 | + * @param \AppBundle\Entity\PlanificacionSeccionContenido $idPlanificacionSeccionContenido | ||
| 283 | + * @return PlanificacionSeccion | ||
| 284 | + */ | ||
| 285 | + public function addIdPlanificacionSeccionContenido(\AppBundle\Entity\PlanificacionSeccionContenido $idPlanificacionSeccionContenido) | ||
| 286 | + { | ||
| 287 | + $this->idPlanificacionSeccionContenido[] = $idPlanificacionSeccionContenido; | ||
| 288 | + | ||
| 289 | + return $this; | ||
| 290 | + } | ||
| 291 | + | ||
| 292 | + /** | ||
| 293 | + * Remove idPlanificacionSeccionContenido | ||
| 294 | + * | ||
| 295 | + * @param \AppBundle\Entity\PlanificacionSeccionContenido $idPlanificacionSeccionContenido | ||
| 296 | + */ | ||
| 297 | + public function removeIdPlanificacionSeccionContenido(\AppBundle\Entity\PlanificacionSeccionContenido $idPlanificacionSeccionContenido) | ||
| 298 | + { | ||
| 299 | + $this->idPlanificacionSeccionContenido->removeElement($idPlanificacionSeccionContenido); | ||
| 300 | + } | ||
| 301 | + | ||
| 302 | + /** | ||
| 303 | + * Get idPlanificacionSeccionContenido | ||
| 304 | + * | ||
| 305 | + * @return \Doctrine\Common\Collections\Collection | ||
| 306 | + */ | ||
| 307 | + public function getIdPlanificacionSeccionContenido() | ||
| 308 | + { | ||
| 309 | + return $this->idPlanificacionSeccionContenido; | ||
| 310 | + } | ||
| 311 | + | ||
| 312 | + /** | ||
| 313 | + * Add idPlanificacionSeccionEstrategia | ||
| 314 | + * | ||
| 315 | + * @param \AppBundle\Entity\PlanificacionSeccionEstrategia $idPlanificacionSeccionEstrategia | ||
| 316 | + * @return PlanificacionSeccion | ||
| 317 | + */ | ||
| 318 | + public function addIdPlanificacionSeccionEstrategium(\AppBundle\Entity\PlanificacionSeccionEstrategia $idPlanificacionSeccionEstrategia) | ||
| 319 | + { | ||
| 320 | + $this->idPlanificacionSeccionEstrategia[] = $idPlanificacionSeccionEstrategia; | ||
| 321 | + | ||
| 322 | + return $this; | ||
| 323 | + } | ||
| 324 | + | ||
| 325 | + /** | ||
| 326 | + * Remove idPlanificacionSeccionEstrategia | ||
| 327 | + * | ||
| 328 | + * @param \AppBundle\Entity\PlanificacionSeccionEstrategia $idPlanificacionSeccionEstrategia | ||
| 329 | + */ | ||
| 330 | + public function removeIdPlanificacionSeccionEstrategium(\AppBundle\Entity\PlanificacionSeccionEstrategia $idPlanificacionSeccionEstrategia) | ||
| 331 | + { | ||
| 332 | + $this->idPlanificacionSeccionEstrategia->removeElement($idPlanificacionSeccionEstrategia); | ||
| 333 | + } | ||
| 334 | + | ||
| 335 | + /** | ||
| 336 | + * Get idPlanificacionSeccionEstrategia | ||
| 337 | + * | ||
| 338 | + * @return \Doctrine\Common\Collections\Collection | ||
| 339 | + */ | ||
| 340 | + public function getIdPlanificacionSeccionEstrategia() | ||
| 341 | + { | ||
| 342 | + return $this->idPlanificacionSeccionEstrategia; | ||
| 343 | + } | ||
| 344 | + | ||
| 345 | + /** | ||
| 346 | + * Add idPlanificacionSeccionEvaluacion | ||
| 347 | + * | ||
| 348 | + * @param \AppBundle\Entity\PlanificacionSeccionEvaluacion $idPlanificacionSeccionEvaluacion | ||
| 349 | + * @return PlanificacionSeccion | ||
| 350 | + */ | ||
| 351 | + public function addIdPlanificacionSeccionEvaluacion(\AppBundle\Entity\PlanificacionSeccionEvaluacion $idPlanificacionSeccionEvaluacion) | ||
| 352 | + { | ||
| 353 | + $this->idPlanificacionSeccionEvaluacion[] = $idPlanificacionSeccionEvaluacion; | ||
| 354 | + | ||
| 355 | + return $this; | ||
| 356 | + } | ||
| 357 | + | ||
| 358 | + /** | ||
| 359 | + * Remove idPlanificacionSeccionEvaluacion | ||
| 360 | + * | ||
| 361 | + * @param \AppBundle\Entity\PlanificacionSeccionEvaluacion $idPlanificacionSeccionEvaluacion | ||
| 362 | + */ | ||
| 363 | + public function removeIdPlanificacionSeccionEvaluacion(\AppBundle\Entity\PlanificacionSeccionEvaluacion $idPlanificacionSeccionEvaluacion) | ||
| 364 | + { | ||
| 365 | + $this->idPlanificacionSeccionEvaluacion->removeElement($idPlanificacionSeccionEvaluacion); | ||
| 366 | + } | ||
| 367 | + | ||
| 368 | + /** | ||
| 369 | + * Get idPlanificacionSeccionEvaluacion | ||
| 370 | + * | ||
| 371 | + * @return \Doctrine\Common\Collections\Collection | ||
| 372 | + */ | ||
| 373 | + public function getIdPlanificacionSeccionEvaluacion() | ||
| 374 | + { | ||
| 375 | + return $this->idPlanificacionSeccionEvaluacion; | ||
| 376 | + } | ||
| 377 | + | ||
| 378 | + /** | ||
| 379 | + * Set seccion | ||
| 380 | + * | ||
| 381 | + * @param \AppBundle\Entity\Seccion $seccion | ||
| 382 | + * @return PlanificacionSeccion | ||
| 383 | + */ | ||
| 384 | + public function setSeccion(\AppBundle\Entity\Seccion $seccion = null) | ||
| 385 | + { | ||
| 386 | + $this->seccion = $seccion; | ||
| 387 | + | ||
| 388 | + return $this; | ||
| 389 | + } | ||
| 390 | + | ||
| 391 | + /** | ||
| 392 | + * Get seccion | ||
| 393 | + * | ||
| 394 | + * @return \AppBundle\Entity\Seccion | ||
| 395 | + */ | ||
| 396 | + public function getSeccion() | ||
| 397 | + { | ||
| 398 | + return $this->seccion; | ||
| 399 | + } | ||
| 400 | +} |
src/AppBundle/Entity/PlanificacionSeccion.php~
| @@ -0,0 +1,110 @@ | @@ -0,0 +1,110 @@ | ||
| 1 | +<?php | ||
| 2 | + | ||
| 3 | +namespace AppBundle\Entity; | ||
| 4 | + | ||
| 5 | +use Doctrine\ORM\Mapping as ORM; | ||
| 6 | + | ||
| 7 | +/** | ||
| 8 | + * PlanificacionSeccion | ||
| 9 | + * | ||
| 10 | + * @ORM\Table(name="planificacion_seccion", | ||
| 11 | + * uniqueConstraints= | ||
| 12 | + * {@ORM\UniqueConstraint(name="uq_planificacion_seccion_tema_especifico_contenido_estrategia_evaluacion", | ||
| 13 | + * columns={"id_planificacion_seccion", "id_tema_uc"}) | ||
| 14 | + * }, | ||
| 15 | + * indexes={ | ||
| 16 | + * @ORM\Index(name="fki_id_planificacion_seccion", | ||
| 17 | + * columns={"id_planificacion_seccion"}) | ||
| 18 | + * } | ||
| 19 | + * ) | ||
| 20 | + * @ORM\Entity | ||
| 21 | + */ | ||
| 22 | +class PlanificacionSeccion | ||
| 23 | +{ | ||
| 24 | + | ||
| 25 | + /** | ||
| 26 | + * @var \AppBundle\Entity\UnidadCurricularVolumenTema | ||
| 27 | + * | ||
| 28 | + * @ORM\ManyToOne(targetEntity="AppBundle\Entity\UnidadCurricularVolumenTema") | ||
| 29 | + * @ORM\JoinColumns({ | ||
| 30 | + * @ORM\JoinColumn(name="id_tema_uc", referencedColumnName="id", nullable=false) | ||
| 31 | + * }) | ||
| 32 | + */ | ||
| 33 | + private $idtemaUc; | ||
| 34 | + | ||
| 35 | + | ||
| 36 | + /** | ||
| 37 | + * @ORM\OneToMany(targetEntity="PlanificacionSeccionEspecifico", mappedBy="idObjetivoEspecifico") | ||
| 38 | + */ | ||
| 39 | + private $idObjetivoEspecifico; | ||
| 40 | + | ||
| 41 | + | ||
| 42 | + /** | ||
| 43 | + * @ORM\OneToMany(targetEntity="PlanificacionSeccionContenido", mappedBy="idPlanificacionSeccionContenido") | ||
| 44 | + */ | ||
| 45 | + private $idPlanificacionSeccionContenido; | ||
| 46 | + | ||
| 47 | + | ||
| 48 | + /** | ||
| 49 | + * @ORM\OneToMany(targetEntity="PlanificacionSeccionEstrategia", mappedBy="idPlanificacionSeccionEstrategia") | ||
| 50 | + */ | ||
| 51 | + private $idPlanificacionSeccionEstrategia; | ||
| 52 | + | ||
| 53 | + | ||
| 54 | + /** | ||
| 55 | + * @ORM\OneToMany(targetEntity="PlanificacionSeccionEvaluacion", mappedBy="idPlanificacionSeccionEvaluacion") | ||
| 56 | + */ | ||
| 57 | + private $idPlanificacionSeccionEvaluacion; | ||
| 58 | + | ||
| 59 | + | ||
| 60 | + | ||
| 61 | + /** @ORM\Column(type="datetime", nullable=false, options={"comment" = "Fecha de creación de la solicitud"}) | ||
| 62 | + | ||
| 63 | + */ | ||
| 64 | + | ||
| 65 | + private $fecha_creacion; | ||
| 66 | + | ||
| 67 | + | ||
| 68 | + /** @ORM\Column(type="datetime", nullable=false, options={"comment" = "Fecha de actualizacion de la solicitud"}) | ||
| 69 | + | ||
| 70 | + */ | ||
| 71 | + | ||
| 72 | + private $fecha_ultima_actualizacion; | ||
| 73 | + | ||
| 74 | + | ||
| 75 | + /** @var text | ||
| 76 | + * | ||
| 77 | + * @ORM\Column(name="observacion", type="text", nullable=true, options={"comment" = "Observacion de la planificacion"}) | ||
| 78 | + */ | ||
| 79 | + private $observacion; | ||
| 80 | + | ||
| 81 | + | ||
| 82 | + | ||
| 83 | + /** | ||
| 84 | + * @var integer | ||
| 85 | + * | ||
| 86 | + * @ORM\Column(name="id", type="integer", nullable=false, options={"comment" = "Identificador de las seccion"}) | ||
| 87 | + * @ORM\Id | ||
| 88 | + * @ORM\GeneratedValue(strategy="IDENTITY") | ||
| 89 | + * @ORM\SequenceGenerator(sequenceName="seccion_id_seq", allocationSize=1, initialValue=1) | ||
| 90 | + */ | ||
| 91 | + private $id; | ||
| 92 | + | ||
| 93 | + /** | ||
| 94 | + * @ORM\ManyToOne(targetEntity="Seccion", inversedBy="planificacion") | ||
| 95 | + * @ORM\JoinColumn(name="seccion_id", referencedColumnName="id") | ||
| 96 | + */ | ||
| 97 | + private $seccion; | ||
| 98 | + | ||
| 99 | + | ||
| 100 | + /** | ||
| 101 | + * @var string | ||
| 102 | + * | ||
| 103 | + * @ORM\Column(name="objetivo", type="text", nullable=false, options={"comment" = "Objetivo de la seccion"}) | ||
| 104 | + */ | ||
| 105 | + private $objetivo; | ||
| 106 | + | ||
| 107 | + | ||
| 108 | + | ||
| 109 | + | ||
| 110 | +} |
src/AppBundle/Entity/PlanificacionSeccionContenido.php
| @@ -0,0 +1,174 @@ | @@ -0,0 +1,174 @@ | ||
| 1 | +<?php | ||
| 2 | + | ||
| 3 | +namespace AppBundle\Entity; | ||
| 4 | + | ||
| 5 | +use Doctrine\ORM\Mapping as ORM; | ||
| 6 | + | ||
| 7 | +/** | ||
| 8 | + * PlanificacionSeccionContenido | ||
| 9 | + * | ||
| 10 | + * @ORM\Table(name="planificacion_seccion_contenido", | ||
| 11 | + * uniqueConstraints= | ||
| 12 | + * {@ORM\UniqueConstraint(name="uq_planificacion_seccion_contenido", | ||
| 13 | + * columns={"id_planificacion_seccion"}) | ||
| 14 | + * }, | ||
| 15 | + * indexes={ | ||
| 16 | + * @ORM\Index(name="fki_id_planificacion_seccion", | ||
| 17 | + * columns={"id_planificacion_seccion"}) | ||
| 18 | + * } | ||
| 19 | + * ) | ||
| 20 | + * @ORM\Entity | ||
| 21 | + */ | ||
| 22 | +class PlanificacionSeccionContenido | ||
| 23 | +{ | ||
| 24 | + /** | ||
| 25 | + * @var text | ||
| 26 | + * | ||
| 27 | + * @ORM\Column(name="conceptual", type="text", nullable=false, options={"comment" = "Contenido Conceptual"}) | ||
| 28 | + */ | ||
| 29 | + private $conceptual; | ||
| 30 | + | ||
| 31 | + | ||
| 32 | + /** | ||
| 33 | + * @var text | ||
| 34 | + * | ||
| 35 | + * @ORM\Column(name="procedimental", type="text", nullable=false, options={"comment" = "Contenido Procedimental"}) | ||
| 36 | + */ | ||
| 37 | + private $procedimental; | ||
| 38 | + | ||
| 39 | + | ||
| 40 | + | ||
| 41 | + /** | ||
| 42 | + * @var text | ||
| 43 | + * | ||
| 44 | + * @ORM\Column(name="actitudinal", type="text", nullable=false, options={"comment" = "Contenido actitudinal"}) | ||
| 45 | + */ | ||
| 46 | + private $actitudinal; | ||
| 47 | + | ||
| 48 | + | ||
| 49 | + /** | ||
| 50 | + * @var integer | ||
| 51 | + * | ||
| 52 | + * @ORM\Column(name="id", type="integer", nullable=false, options={"comment" = "Identificador del municipio"}) | ||
| 53 | + * @ORM\Id | ||
| 54 | + * @ORM\GeneratedValue(strategy="IDENTITY") | ||
| 55 | + * @ORM\SequenceGenerator(sequenceName="municipio_id_seq", allocationSize=1, initialValue=1) | ||
| 56 | + */ | ||
| 57 | + private $id; | ||
| 58 | + | ||
| 59 | + /** | ||
| 60 | + * @var \AppBundle\Entity\PlanificacionSeccion | ||
| 61 | + * | ||
| 62 | + * @ORM\ManyToOne(targetEntity="AppBundle\Entity\PlanificacionSeccion") | ||
| 63 | + * @ORM\JoinColumns({ | ||
| 64 | + * @ORM\JoinColumn(name="id_planificacion_seccion", referencedColumnName="id", nullable=false) | ||
| 65 | + * }) | ||
| 66 | + */ | ||
| 67 | + private $idPlanificacionSeccion; | ||
| 68 | + | ||
| 69 | + | ||
| 70 | + | ||
| 71 | + | ||
| 72 | + | ||
| 73 | + /** | ||
| 74 | + * Set conceptual | ||
| 75 | + * | ||
| 76 | + * @param string $conceptual | ||
| 77 | + * @return PlanificacionSeccionContenido | ||
| 78 | + */ | ||
| 79 | + public function setConceptual($conceptual) | ||
| 80 | + { | ||
| 81 | + $this->conceptual = $conceptual; | ||
| 82 | + | ||
| 83 | + return $this; | ||
| 84 | + } | ||
| 85 | + | ||
| 86 | + /** | ||
| 87 | + * Get conceptual | ||
| 88 | + * | ||
| 89 | + * @return string | ||
| 90 | + */ | ||
| 91 | + public function getConceptual() | ||
| 92 | + { | ||
| 93 | + return $this->conceptual; | ||
| 94 | + } | ||
| 95 | + | ||
| 96 | + /** | ||
| 97 | + * Set procedimental | ||
| 98 | + * | ||
| 99 | + * @param string $procedimental | ||
| 100 | + * @return PlanificacionSeccionContenido | ||
| 101 | + */ | ||
| 102 | + public function setProcedimental($procedimental) | ||
| 103 | + { | ||
| 104 | + $this->procedimental = $procedimental; | ||
| 105 | + | ||
| 106 | + return $this; | ||
| 107 | + } | ||
| 108 | + | ||
| 109 | + /** | ||
| 110 | + * Get procedimental | ||
| 111 | + * | ||
| 112 | + * @return string | ||
| 113 | + */ | ||
| 114 | + public function getProcedimental() | ||
| 115 | + { | ||
| 116 | + return $this->procedimental; | ||
| 117 | + } | ||
| 118 | + | ||
| 119 | + /** | ||
| 120 | + * Set actitudinal | ||
| 121 | + * | ||
| 122 | + * @param string $actitudinal | ||
| 123 | + * @return PlanificacionSeccionContenido | ||
| 124 | + */ | ||
| 125 | + public function setActitudinal($actitudinal) | ||
| 126 | + { | ||
| 127 | + $this->actitudinal = $actitudinal; | ||
| 128 | + | ||
| 129 | + return $this; | ||
| 130 | + } | ||
| 131 | + | ||
| 132 | + /** | ||
| 133 | + * Get actitudinal | ||
| 134 | + * | ||
| 135 | + * @return string | ||
| 136 | + */ | ||
| 137 | + public function getActitudinal() | ||
| 138 | + { | ||
| 139 | + return $this->actitudinal; | ||
| 140 | + } | ||
| 141 | + | ||
| 142 | + /** | ||
| 143 | + * Get id | ||
| 144 | + * | ||
| 145 | + * @return integer | ||
| 146 | + */ | ||
| 147 | + public function getId() | ||
| 148 | + { | ||
| 149 | + return $this->id; | ||
| 150 | + } | ||
| 151 | + | ||
| 152 | + /** | ||
| 153 | + * Set idPlanificacionSeccion | ||
| 154 | + * | ||
| 155 | + * @param \AppBundle\Entity\PlanificacionSeccion $idPlanificacionSeccion | ||
| 156 | + * @return PlanificacionSeccionContenido | ||
| 157 | + */ | ||
| 158 | + public function setIdPlanificacionSeccion(\AppBundle\Entity\PlanificacionSeccion $idPlanificacionSeccion) | ||
| 159 | + { | ||
| 160 | + $this->idPlanificacionSeccion = $idPlanificacionSeccion; | ||
| 161 | + | ||
| 162 | + return $this; | ||
| 163 | + } | ||
| 164 | + | ||
| 165 | + /** | ||
| 166 | + * Get idPlanificacionSeccion | ||
| 167 | + * | ||
| 168 | + * @return \AppBundle\Entity\PlanificacionSeccion | ||
| 169 | + */ | ||
| 170 | + public function getIdPlanificacionSeccion() | ||
| 171 | + { | ||
| 172 | + return $this->idPlanificacionSeccion; | ||
| 173 | + } | ||
| 174 | +} |
src/AppBundle/Entity/PlanificacionSeccionContenido.php~
| @@ -0,0 +1,72 @@ | @@ -0,0 +1,72 @@ | ||
| 1 | +<?php | ||
| 2 | + | ||
| 3 | +namespace AppBundle\Entity; | ||
| 4 | + | ||
| 5 | +use Doctrine\ORM\Mapping as ORM; | ||
| 6 | + | ||
| 7 | +/** | ||
| 8 | + * PlanificacionSeccionContenido | ||
| 9 | + * | ||
| 10 | + * @ORM\Table(name="planificacion_seccion_contenido", | ||
| 11 | + * uniqueConstraints= | ||
| 12 | + * {@ORM\UniqueConstraint(name="uq_planificacion_seccion_contenido", | ||
| 13 | + * columns={"id_planificacion_seccion"}) | ||
| 14 | + * }, | ||
| 15 | + * indexes={ | ||
| 16 | + * @ORM\Index(name="fki_id_planificacion_seccion", | ||
| 17 | + * columns={"id_planificacion_seccion"}) | ||
| 18 | + * } | ||
| 19 | + * ) | ||
| 20 | + * @ORM\Entity | ||
| 21 | + */ | ||
| 22 | +class PlanificacionSeccionContenido | ||
| 23 | +{ | ||
| 24 | + /** | ||
| 25 | + * @var text | ||
| 26 | + * | ||
| 27 | + * @ORM\Column(name="conceptual", type="text", nullable=false, options={"comment" = "Contenido Conceptual"}) | ||
| 28 | + */ | ||
| 29 | + private $conceptual; | ||
| 30 | + | ||
| 31 | + | ||
| 32 | + /** | ||
| 33 | + * @var text | ||
| 34 | + * | ||
| 35 | + * @ORM\Column(name="procedimental", type="text", nullable=false, options={"comment" = "Contenido Procedimental"}) | ||
| 36 | + */ | ||
| 37 | + private $procedimental; | ||
| 38 | + | ||
| 39 | + | ||
| 40 | + | ||
| 41 | + /** | ||
| 42 | + * @var text | ||
| 43 | + * | ||
| 44 | + * @ORM\Column(name="actitudinal", type="text", nullable=false, options={"comment" = "Contenido actitudinal"}) | ||
| 45 | + */ | ||
| 46 | + private $actitudinal; | ||
| 47 | + | ||
| 48 | + | ||
| 49 | + /** | ||
| 50 | + * @var integer | ||
| 51 | + * | ||
| 52 | + * @ORM\Column(name="id", type="integer", nullable=false, options={"comment" = "Identificador del municipio"}) | ||
| 53 | + * @ORM\Id | ||
| 54 | + * @ORM\GeneratedValue(strategy="IDENTITY") | ||
| 55 | + * @ORM\SequenceGenerator(sequenceName="municipio_id_seq", allocationSize=1, initialValue=1) | ||
| 56 | + */ | ||
| 57 | + private $id; | ||
| 58 | + | ||
| 59 | + /** | ||
| 60 | + * @var \AppBundle\Entity\PlanificacionSeccion | ||
| 61 | + * | ||
| 62 | + * @ORM\ManyToOne(targetEntity="AppBundle\Entity\PlanificacionSeccion") | ||
| 63 | + * @ORM\JoinColumns({ | ||
| 64 | + * @ORM\JoinColumn(name="id_planificacion_seccion", referencedColumnName="id", nullable=false) | ||
| 65 | + * }) | ||
| 66 | + */ | ||
| 67 | + private $idPlanificacionSeccion; | ||
| 68 | + | ||
| 69 | + | ||
| 70 | + | ||
| 71 | + | ||
| 72 | +} |
src/AppBundle/Entity/PlanificacionSeccionEspecifico.php
| @@ -0,0 +1,112 @@ | @@ -0,0 +1,112 @@ | ||
| 1 | +<?php | ||
| 2 | + | ||
| 3 | +namespace AppBundle\Entity; | ||
| 4 | + | ||
| 5 | +use Doctrine\ORM\Mapping as ORM; | ||
| 6 | + | ||
| 7 | +/** | ||
| 8 | + * PlanificacionSeccionEspecifico | ||
| 9 | + * | ||
| 10 | + * @ORM\Table(name="planificacion_seccion_especifico", | ||
| 11 | + * uniqueConstraints= | ||
| 12 | + * {@ORM\UniqueConstraint(name="uq_planificacion_seccion_especifico", | ||
| 13 | + * columns={"id_planificacion_seccion"}) | ||
| 14 | + * }, | ||
| 15 | + * indexes={ | ||
| 16 | + * @ORM\Index(name="fki_id_planificacion_especifico", | ||
| 17 | + * columns={"id_planificacion_seccion"}) | ||
| 18 | + * } | ||
| 19 | + * ) | ||
| 20 | + * @ORM\Entity | ||
| 21 | + */ | ||
| 22 | +class PlanificacionSeccionEspecifico | ||
| 23 | +{ | ||
| 24 | + /** | ||
| 25 | + * @var text | ||
| 26 | + * | ||
| 27 | + * @ORM\Column(name="objetivo_especifico", type="text", nullable=false, options={"comment" = "Objetivo Especifico de un tema"}) | ||
| 28 | + */ | ||
| 29 | + private $objetivoEspecifico; | ||
| 30 | + | ||
| 31 | + | ||
| 32 | + | ||
| 33 | + /** | ||
| 34 | + * @var integer | ||
| 35 | + * | ||
| 36 | + * @ORM\Column(name="id", type="integer", nullable=false, options={"comment" = "Identificador del municipio"}) | ||
| 37 | + * @ORM\Id | ||
| 38 | + * @ORM\GeneratedValue(strategy="IDENTITY") | ||
| 39 | + * @ORM\SequenceGenerator(sequenceName="municipio_id_seq", allocationSize=1, initialValue=1) | ||
| 40 | + */ | ||
| 41 | + private $id; | ||
| 42 | + | ||
| 43 | + /** | ||
| 44 | + * @var \AppBundle\Entity\PlanificacionSeccion | ||
| 45 | + * | ||
| 46 | + * @ORM\ManyToOne(targetEntity="AppBundle\Entity\PlanificacionSeccion") | ||
| 47 | + * @ORM\JoinColumns({ | ||
| 48 | + * @ORM\JoinColumn(name="id_planificacion_seccion", referencedColumnName="id", nullable=false) | ||
| 49 | + * }) | ||
| 50 | + */ | ||
| 51 | + private $idPlanificacionSeccion; | ||
| 52 | + | ||
| 53 | + | ||
| 54 | + | ||
| 55 | + | ||
| 56 | + | ||
| 57 | + /** | ||
| 58 | + * Set objetivoEspecifico | ||
| 59 | + * | ||
| 60 | + * @param string $objetivoEspecifico | ||
| 61 | + * @return PlanificacionSeccionEspecifico | ||
| 62 | + */ | ||
| 63 | + public function setObjetivoEspecifico($objetivoEspecifico) | ||
| 64 | + { | ||
| 65 | + $this->objetivoEspecifico = $objetivoEspecifico; | ||
| 66 | + | ||
| 67 | + return $this; | ||
| 68 | + } | ||
| 69 | + | ||
| 70 | + /** | ||
| 71 | + * Get objetivoEspecifico | ||
| 72 | + * | ||
| 73 | + * @return string | ||
| 74 | + */ | ||
| 75 | + public function getObjetivoEspecifico() | ||
| 76 | + { | ||
| 77 | + return $this->objetivoEspecifico; | ||
| 78 | + } | ||
| 79 | + | ||
| 80 | + /** | ||
| 81 | + * Get id | ||
| 82 | + * | ||
| 83 | + * @return integer | ||
| 84 | + */ | ||
| 85 | + public function getId() | ||
| 86 | + { | ||
| 87 | + return $this->id; | ||
| 88 | + } | ||
| 89 | + | ||
| 90 | + /** | ||
| 91 | + * Set idPlanificacionSeccion | ||
| 92 | + * | ||
| 93 | + * @param \AppBundle\Entity\PlanificacionSeccion $idPlanificacionSeccion | ||
| 94 | + * @return PlanificacionSeccionEspecifico | ||
| 95 | + */ | ||
| 96 | + public function setIdPlanificacionSeccion(\AppBundle\Entity\PlanificacionSeccion $idPlanificacionSeccion) | ||
| 97 | + { | ||
| 98 | + $this->idPlanificacionSeccion = $idPlanificacionSeccion; | ||
| 99 | + | ||
| 100 | + return $this; | ||
| 101 | + } | ||
| 102 | + | ||
| 103 | + /** | ||
| 104 | + * Get idPlanificacionSeccion | ||
| 105 | + * | ||
| 106 | + * @return \AppBundle\Entity\PlanificacionSeccion | ||
| 107 | + */ | ||
| 108 | + public function getIdPlanificacionSeccion() | ||
| 109 | + { | ||
| 110 | + return $this->idPlanificacionSeccion; | ||
| 111 | + } | ||
| 112 | +} |
src/AppBundle/Entity/PlanificacionSeccionEspecifico.php~
| @@ -0,0 +1,56 @@ | @@ -0,0 +1,56 @@ | ||
| 1 | +<?php | ||
| 2 | + | ||
| 3 | +namespace AppBundle\Entity; | ||
| 4 | + | ||
| 5 | +use Doctrine\ORM\Mapping as ORM; | ||
| 6 | + | ||
| 7 | +/** | ||
| 8 | + * PlanificacionSeccionEspecifico | ||
| 9 | + * | ||
| 10 | + * @ORM\Table(name="planificacion_seccion_especifico", | ||
| 11 | + * uniqueConstraints= | ||
| 12 | + * {@ORM\UniqueConstraint(name="uq_planificacion_seccion_especifico", | ||
| 13 | + * columns={"id_planificacion_seccion_especifico"}) | ||
| 14 | + * }, | ||
| 15 | + * indexes={ | ||
| 16 | + * @ORM\Index(name="fki_id_planificacion_seccion", | ||
| 17 | + * columns={"id_planificacion_seccion"}) | ||
| 18 | + * } | ||
| 19 | + * ) | ||
| 20 | + * @ORM\Entity | ||
| 21 | + */ | ||
| 22 | +class PlanificacionSeccionEspecifico | ||
| 23 | +{ | ||
| 24 | + /** | ||
| 25 | + * @var text | ||
| 26 | + * | ||
| 27 | + * @ORM\Column(name="objetivo_especifico", type="text", nullable=false, options={"comment" = "Objetivo Especifico de un tema"}) | ||
| 28 | + */ | ||
| 29 | + private $objetivoEspecifico; | ||
| 30 | + | ||
| 31 | + | ||
| 32 | + | ||
| 33 | + /** | ||
| 34 | + * @var integer | ||
| 35 | + * | ||
| 36 | + * @ORM\Column(name="id", type="integer", nullable=false, options={"comment" = "Identificador del municipio"}) | ||
| 37 | + * @ORM\Id | ||
| 38 | + * @ORM\GeneratedValue(strategy="IDENTITY") | ||
| 39 | + * @ORM\SequenceGenerator(sequenceName="municipio_id_seq", allocationSize=1, initialValue=1) | ||
| 40 | + */ | ||
| 41 | + private $id; | ||
| 42 | + | ||
| 43 | + /** | ||
| 44 | + * @var \AppBundle\Entity\PlanificacionSeccion | ||
| 45 | + * | ||
| 46 | + * @ORM\ManyToOne(targetEntity="AppBundle\Entity\PlanificacionSeccion") | ||
| 47 | + * @ORM\JoinColumns({ | ||
| 48 | + * @ORM\JoinColumn(name="id_planificacion_seccion", referencedColumnName="id", nullable=false) | ||
| 49 | + * }) | ||
| 50 | + */ | ||
| 51 | + private $idPlanificacionSeccion; | ||
| 52 | + | ||
| 53 | + | ||
| 54 | + | ||
| 55 | + | ||
| 56 | +} |
src/AppBundle/Entity/PlanificacionSeccionEstrategia.php
| @@ -0,0 +1,140 @@ | @@ -0,0 +1,140 @@ | ||
| 1 | +<?php | ||
| 2 | + | ||
| 3 | +namespace AppBundle\Entity; | ||
| 4 | + | ||
| 5 | +use Doctrine\ORM\Mapping as ORM; | ||
| 6 | + | ||
| 7 | +/** | ||
| 8 | + * PlanificacionSeccionEstrategia | ||
| 9 | + * | ||
| 10 | + * @ORM\Table(name="planificacion_seccion_estrategia", | ||
| 11 | + * uniqueConstraints= | ||
| 12 | + * {@ORM\UniqueConstraint(name="uq_planificacion_estrategia", | ||
| 13 | + * columns={"id_planificacion_seccion"}) | ||
| 14 | + * }, | ||
| 15 | + * indexes={ | ||
| 16 | + * @ORM\Index(name="fki_id_planificacion_estrategia", | ||
| 17 | + * columns={"id_planificacion_seccion"}) | ||
| 18 | + * } | ||
| 19 | + * ) | ||
| 20 | + * @ORM\Entity | ||
| 21 | + */ | ||
| 22 | +class PlanificacionSeccionEstrategia | ||
| 23 | +{ | ||
| 24 | + | ||
| 25 | + /** | ||
| 26 | + * @var \AppBundle\Entity\PlanificacionSeccion | ||
| 27 | + * | ||
| 28 | + * @ORM\ManyToOne(targetEntity="AppBundle\Entity\PlanificacionSeccion") | ||
| 29 | + * @ORM\JoinColumns({ | ||
| 30 | + * @ORM\JoinColumn(name="id_planificacion_seccion", referencedColumnName="id", nullable=false) | ||
| 31 | + * }) | ||
| 32 | + */ | ||
| 33 | + private $idPlanificacionSeccion; | ||
| 34 | + | ||
| 35 | + /** | ||
| 36 | + * @var integer | ||
| 37 | + * | ||
| 38 | + * @ORM\Column(name="id", type="integer", nullable=false, options={"comment" = "Identificador del municipio"}) | ||
| 39 | + * @ORM\Id | ||
| 40 | + * @ORM\GeneratedValue(strategy="IDENTITY") | ||
| 41 | + * @ORM\SequenceGenerator(sequenceName="municipio_id_seq", allocationSize=1, initialValue=1) | ||
| 42 | + */ | ||
| 43 | + private $id; | ||
| 44 | + | ||
| 45 | + /** | ||
| 46 | + * @var text | ||
| 47 | + * | ||
| 48 | + * @ORM\Column(name="tipo_estrategia", type="text", nullable=false, options={"comment" = "Tipos de estrategia a utilizar"}) | ||
| 49 | + */ | ||
| 50 | + private $tipoEstrategia; | ||
| 51 | + | ||
| 52 | + | ||
| 53 | + /** | ||
| 54 | + * @var text | ||
| 55 | + * | ||
| 56 | + * @ORM\Column(name="tipoRecurso", type="text", nullable=false, options={"comment" = "Recursos necesarios para el tema"}) | ||
| 57 | + */ | ||
| 58 | + private $tipoRecurso; | ||
| 59 | + | ||
| 60 | + | ||
| 61 | + | ||
| 62 | + /** | ||
| 63 | + * Get id | ||
| 64 | + * | ||
| 65 | + * @return integer | ||
| 66 | + */ | ||
| 67 | + public function getId() | ||
| 68 | + { | ||
| 69 | + return $this->id; | ||
| 70 | + } | ||
| 71 | + | ||
| 72 | + /** | ||
| 73 | + * Set tipoEstrategia | ||
| 74 | + * | ||
| 75 | + * @param string $tipoEstrategia | ||
| 76 | + * @return PlanificacionSeccionEstrategia | ||
| 77 | + */ | ||
| 78 | + public function setTipoEstrategia($tipoEstrategia) | ||
| 79 | + { | ||
| 80 | + $this->tipoEstrategia = $tipoEstrategia; | ||
| 81 | + | ||
| 82 | + return $this; | ||
| 83 | + } | ||
| 84 | + | ||
| 85 | + /** | ||
| 86 | + * Get tipoEstrategia | ||
| 87 | + * | ||
| 88 | + * @return string | ||
| 89 | + */ | ||
| 90 | + public function getTipoEstrategia() | ||
| 91 | + { | ||
| 92 | + return $this->tipoEstrategia; | ||
| 93 | + } | ||
| 94 | + | ||
| 95 | + /** | ||
| 96 | + * Set tipoRecurso | ||
| 97 | + * | ||
| 98 | + * @param string $tipoRecurso | ||
| 99 | + * @return PlanificacionSeccionEstrategia | ||
| 100 | + */ | ||
| 101 | + public function setTipoRecurso($tipoRecurso) | ||
| 102 | + { | ||
| 103 | + $this->tipoRecurso = $tipoRecurso; | ||
| 104 | + | ||
| 105 | + return $this; | ||
| 106 | + } | ||
| 107 | + | ||
| 108 | + /** | ||
| 109 | + * Get tipoRecurso | ||
| 110 | + * | ||
| 111 | + * @return string | ||
| 112 | + */ | ||
| 113 | + public function getTipoRecurso() | ||
| 114 | + { | ||
| 115 | + return $this->tipoRecurso; | ||
| 116 | + } | ||
| 117 | + | ||
| 118 | + /** | ||
| 119 | + * Set idPlanificacionSeccion | ||
| 120 | + * | ||
| 121 | + * @param \AppBundle\Entity\PlanificacionSeccion $idPlanificacionSeccion | ||
| 122 | + * @return PlanificacionSeccionEstrategia | ||
| 123 | + */ | ||
| 124 | + public function setIdPlanificacionSeccion(\AppBundle\Entity\PlanificacionSeccion $idPlanificacionSeccion) | ||
| 125 | + { | ||
| 126 | + $this->idPlanificacionSeccion = $idPlanificacionSeccion; | ||
| 127 | + | ||
| 128 | + return $this; | ||
| 129 | + } | ||
| 130 | + | ||
| 131 | + /** | ||
| 132 | + * Get idPlanificacionSeccion | ||
| 133 | + * | ||
| 134 | + * @return \AppBundle\Entity\PlanificacionSeccion | ||
| 135 | + */ | ||
| 136 | + public function getIdPlanificacionSeccion() | ||
| 137 | + { | ||
| 138 | + return $this->idPlanificacionSeccion; | ||
| 139 | + } | ||
| 140 | +} |
src/AppBundle/Entity/PlanificacionSeccionEstrategia.php~
| @@ -0,0 +1,61 @@ | @@ -0,0 +1,61 @@ | ||
| 1 | +<?php | ||
| 2 | + | ||
| 3 | +namespace AppBundle\Entity; | ||
| 4 | + | ||
| 5 | +use Doctrine\ORM\Mapping as ORM; | ||
| 6 | + | ||
| 7 | +/** | ||
| 8 | + * PlanificacionSeccionEstrategia | ||
| 9 | + * | ||
| 10 | + * @ORM\Table(name="planificacion_seccion_estrategia", | ||
| 11 | + * uniqueConstraints= | ||
| 12 | + * {@ORM\UniqueConstraint(name="uq_planificacion_seccion", | ||
| 13 | + * columns={"id_planificacion_seccion"}) | ||
| 14 | + * }, | ||
| 15 | + * indexes={ | ||
| 16 | + * @ORM\Index(name="fki_id_planificacion_seccion", | ||
| 17 | + * columns={"id_planificacion_seccion"}) | ||
| 18 | + * } | ||
| 19 | + * ) | ||
| 20 | + * @ORM\Entity | ||
| 21 | + */ | ||
| 22 | +class PlanificacionSeccionEstrategia | ||
| 23 | +{ | ||
| 24 | + | ||
| 25 | + /** | ||
| 26 | + * @var \AppBundle\Entity\PlanificacionSeccion | ||
| 27 | + * | ||
| 28 | + * @ORM\ManyToOne(targetEntity="AppBundle\Entity\PlanificacionSeccion") | ||
| 29 | + * @ORM\JoinColumns({ | ||
| 30 | + * @ORM\JoinColumn(name="id_planificacion_seccion", referencedColumnName="id", nullable=false) | ||
| 31 | + * }) | ||
| 32 | + */ | ||
| 33 | + private $idPlanificacionSeccion; | ||
| 34 | + | ||
| 35 | + /** | ||
| 36 | + * @var integer | ||
| 37 | + * | ||
| 38 | + * @ORM\Column(name="id", type="integer", nullable=false, options={"comment" = "Identificador del municipio"}) | ||
| 39 | + * @ORM\Id | ||
| 40 | + * @ORM\GeneratedValue(strategy="IDENTITY") | ||
| 41 | + * @ORM\SequenceGenerator(sequenceName="municipio_id_seq", allocationSize=1, initialValue=1) | ||
| 42 | + */ | ||
| 43 | + private $id; | ||
| 44 | + | ||
| 45 | + /** | ||
| 46 | + * @var text | ||
| 47 | + * | ||
| 48 | + * @ORM\Column(name="tipo_estrategia", type="text", nullable=false, options={"comment" = "Tipos de estrategia a utilizar"}) | ||
| 49 | + */ | ||
| 50 | + private $tipoEstrategia; | ||
| 51 | + | ||
| 52 | + | ||
| 53 | + /** | ||
| 54 | + * @var text | ||
| 55 | + * | ||
| 56 | + * @ORM\Column(name="tipoRecurso", type="text", nullable=false, options={"comment" = "Recursos necesarios para el tema"}) | ||
| 57 | + */ | ||
| 58 | + private $tipoRecurso; | ||
| 59 | + | ||
| 60 | + | ||
| 61 | +} |
src/AppBundle/Entity/PlanificacionSeccionEvaluacion.php
| @@ -0,0 +1,249 @@ | @@ -0,0 +1,249 @@ | ||
| 1 | +<?php | ||
| 2 | + | ||
| 3 | +namespace AppBundle\Entity; | ||
| 4 | + | ||
| 5 | +use Doctrine\ORM\Mapping as ORM; | ||
| 6 | +use Symfony\Component\Validator\Constraints as Assert; | ||
| 7 | + | ||
| 8 | +/** | ||
| 9 | + * PlanificacionSeccionEvaluacion | ||
| 10 | + * | ||
| 11 | + * @ORM\Table(name="planificacion_seccion_evaluacion", | ||
| 12 | + * uniqueConstraints= | ||
| 13 | + * {@ORM\UniqueConstraint(name="uq_planificacion_seccion", | ||
| 14 | + * columns={"id_planificacion_seccion"}) | ||
| 15 | + * }, | ||
| 16 | + * indexes={ | ||
| 17 | + * @ORM\Index(name="fki_id_planificacion_evaluacion", | ||
| 18 | + * columns={"id_planificacion_seccion"}) | ||
| 19 | + * } | ||
| 20 | + * ) | ||
| 21 | + * @ORM\Entity | ||
| 22 | + */ | ||
| 23 | +class PlanificacionSeccionEvaluacion | ||
| 24 | +{ | ||
| 25 | + | ||
| 26 | + /** | ||
| 27 | + * @var \AppBundle\Entity\PlanificacionSeccion | ||
| 28 | + * | ||
| 29 | + * @ORM\ManyToOne(targetEntity="AppBundle\Entity\PlanificacionSeccion") | ||
| 30 | + * @ORM\JoinColumns({ | ||
| 31 | + * @ORM\JoinColumn(name="id_planificacion_seccion", referencedColumnName="id", nullable=false) | ||
| 32 | + * }) | ||
| 33 | + */ | ||
| 34 | + private $idPlanificacionSeccion; | ||
| 35 | + | ||
| 36 | + /** | ||
| 37 | + * @var integer | ||
| 38 | + * | ||
| 39 | + * @ORM\Column(name="id", type="integer", nullable=false, options={"comment" = "Identificador del municipio"}) | ||
| 40 | + * @ORM\Id | ||
| 41 | + * @ORM\GeneratedValue(strategy="IDENTITY") | ||
| 42 | + * @ORM\SequenceGenerator(sequenceName="municipio_id_seq", allocationSize=1, initialValue=1) | ||
| 43 | + */ | ||
| 44 | + private $id; | ||
| 45 | + | ||
| 46 | + /** | ||
| 47 | + * @var \AppBundle\Entity\TipoEvaluacion | ||
| 48 | + * | ||
| 49 | + * @ORM\ManyToOne(targetEntity="AppBundle\Entity\TipoEvaluacion") | ||
| 50 | + * @ORM\JoinColumns({ | ||
| 51 | + * @ORM\JoinColumn(name="id_tipo_evaluacion", referencedColumnName="id", nullable=false) | ||
| 52 | + * }) | ||
| 53 | + */ | ||
| 54 | + private $idTipoEvaluacion; | ||
| 55 | + | ||
| 56 | + | ||
| 57 | + /** | ||
| 58 | + * @var text | ||
| 59 | + * | ||
| 60 | + * @ORM\Column(name="tipo_instrumento_evaluacion", type="text", nullable=false, options={"comment" = "Instrumentos para la evaluacion"}) | ||
| 61 | + */ | ||
| 62 | + private $tipoInstrumentoEvaluacion; | ||
| 63 | + | ||
| 64 | + | ||
| 65 | + /** | ||
| 66 | + * @Assert\Range( | ||
| 67 | + * min = 1, | ||
| 68 | + * max = 25, | ||
| 69 | + * minMessage = "debe crear una ponderacion de minimo 1%", | ||
| 70 | + * maxMessage = "Segun reglamento, no puede exeder de 25%" | ||
| 71 | + * ) | ||
| 72 | + * @var integer | ||
| 73 | + * | ||
| 74 | + * @ORM\Column(name="ponderacion", type="integer", nullable=false, options={"comment" = "Porcentaje de la evaluacion"}) | ||
| 75 | + */ | ||
| 76 | + protected $ponderacion; | ||
| 77 | + | ||
| 78 | + | ||
| 79 | + /** | ||
| 80 | + * @ORM\Column(name="fecha_evaluacion", type="datetime", nullable=false, options={"comment" = "Fecha de creación de la solicitud"}) | ||
| 81 | + * | ||
| 82 | + * @var date | ||
| 83 | + */ | ||
| 84 | + | ||
| 85 | + private $fechaEvaluacion; | ||
| 86 | + | ||
| 87 | + | ||
| 88 | + /** | ||
| 89 | + * @var \AppBundle\Entity\Estatus | ||
| 90 | + * | ||
| 91 | + * @ORM\ManyToOne(targetEntity="AppBundle\Entity\Estatus") | ||
| 92 | + * @ORM\JoinColumns({ | ||
| 93 | + * @ORM\JoinColumn(name="id_estatus", referencedColumnName="id", nullable=false) | ||
| 94 | + * }) | ||
| 95 | + */ | ||
| 96 | + protected $idEstatus; | ||
| 97 | + | ||
| 98 | + | ||
| 99 | + | ||
| 100 | + | ||
| 101 | + | ||
| 102 | + /** | ||
| 103 | + * Get id | ||
| 104 | + * | ||
| 105 | + * @return integer | ||
| 106 | + */ | ||
| 107 | + public function getId() | ||
| 108 | + { | ||
| 109 | + return $this->id; | ||
| 110 | + } | ||
| 111 | + | ||
| 112 | + /** | ||
| 113 | + * Set tipoInstrumentoEvaluacion | ||
| 114 | + * | ||
| 115 | + * @param string $tipoInstrumentoEvaluacion | ||
| 116 | + * @return PlanificacionSeccionEvaluacion | ||
| 117 | + */ | ||
| 118 | + public function setTipoInstrumentoEvaluacion($tipoInstrumentoEvaluacion) | ||
| 119 | + { | ||
| 120 | + $this->tipoInstrumentoEvaluacion = $tipoInstrumentoEvaluacion; | ||
| 121 | + | ||
| 122 | + return $this; | ||
| 123 | + } | ||
| 124 | + | ||
| 125 | + /** | ||
| 126 | + * Get tipoInstrumentoEvaluacion | ||
| 127 | + * | ||
| 128 | + * @return string | ||
| 129 | + */ | ||
| 130 | + public function getTipoInstrumentoEvaluacion() | ||
| 131 | + { | ||
| 132 | + return $this->tipoInstrumentoEvaluacion; | ||
| 133 | + } | ||
| 134 | + | ||
| 135 | + /** | ||
| 136 | + * Set ponderacion | ||
| 137 | + * | ||
| 138 | + * @param integer $ponderacion | ||
| 139 | + * @return PlanificacionSeccionEvaluacion | ||
| 140 | + */ | ||
| 141 | + public function setPonderacion($ponderacion) | ||
| 142 | + { | ||
| 143 | + $this->ponderacion = $ponderacion; | ||
| 144 | + | ||
| 145 | + return $this; | ||
| 146 | + } | ||
| 147 | + | ||
| 148 | + /** | ||
| 149 | + * Get ponderacion | ||
| 150 | + * | ||
| 151 | + * @return integer | ||
| 152 | + */ | ||
| 153 | + public function getPonderacion() | ||
| 154 | + { | ||
| 155 | + return $this->ponderacion; | ||
| 156 | + } | ||
| 157 | + | ||
| 158 | + /** | ||
| 159 | + * Set fechaEvaluacion | ||
| 160 | + * | ||
| 161 | + * @param \DateTime $fechaEvaluacion | ||
| 162 | + * @return PlanificacionSeccionEvaluacion | ||
| 163 | + */ | ||
| 164 | + public function setFechaEvaluacion($fechaEvaluacion) | ||
| 165 | + { | ||
| 166 | + $this->fechaEvaluacion = $fechaEvaluacion; | ||
| 167 | + | ||
| 168 | + return $this; | ||
| 169 | + } | ||
| 170 | + | ||
| 171 | + /** | ||
| 172 | + * Get fechaEvaluacion | ||
| 173 | + * | ||
| 174 | + * @return \DateTime | ||
| 175 | + */ | ||
| 176 | + public function getFechaEvaluacion() | ||
| 177 | + { | ||
| 178 | + return $this->fechaEvaluacion; | ||
| 179 | + } | ||
| 180 | + | ||
| 181 | + /** | ||
| 182 | + * Set idPlanificacionSeccion | ||
| 183 | + * | ||
| 184 | + * @param \AppBundle\Entity\PlanificacionSeccion $idPlanificacionSeccion | ||
| 185 | + * @return PlanificacionSeccionEvaluacion | ||
| 186 | + */ | ||
| 187 | + public function setIdPlanificacionSeccion(\AppBundle\Entity\PlanificacionSeccion $idPlanificacionSeccion) | ||
| 188 | + { | ||
| 189 | + $this->idPlanificacionSeccion = $idPlanificacionSeccion; | ||
| 190 | + | ||
| 191 | + return $this; | ||
| 192 | + } | ||
| 193 | + | ||
| 194 | + /** | ||
| 195 | + * Get idPlanificacionSeccion | ||
| 196 | + * | ||
| 197 | + * @return \AppBundle\Entity\PlanificacionSeccion | ||
| 198 | + */ | ||
| 199 | + public function getIdPlanificacionSeccion() | ||
| 200 | + { | ||
| 201 | + return $this->idPlanificacionSeccion; | ||
| 202 | + } | ||
| 203 | + | ||
| 204 | + /** | ||
| 205 | + * Set idTipoEvaluacion | ||
| 206 | + * | ||
| 207 | + * @param \AppBundle\Entity\TipoEvaluacion $idTipoEvaluacion | ||
| 208 | + * @return PlanificacionSeccionEvaluacion | ||
| 209 | + */ | ||
| 210 | + public function setIdTipoEvaluacion(\AppBundle\Entity\TipoEvaluacion $idTipoEvaluacion) | ||
| 211 | + { | ||
| 212 | + $this->idTipoEvaluacion = $idTipoEvaluacion; | ||
| 213 | + | ||
| 214 | + return $this; | ||
| 215 | + } | ||
| 216 | + | ||
| 217 | + /** | ||
| 218 | + * Get idTipoEvaluacion | ||
| 219 | + * | ||
| 220 | + * @return \AppBundle\Entity\TipoEvaluacion | ||
| 221 | + */ | ||
| 222 | + public function getIdTipoEvaluacion() | ||
| 223 | + { | ||
| 224 | + return $this->idTipoEvaluacion; | ||
| 225 | + } | ||
| 226 | + | ||
| 227 | + /** | ||
| 228 | + * Set idEstatus | ||
| 229 | + * | ||
| 230 | + * @param \AppBundle\Entity\Estatus $idEstatus | ||
| 231 | + * @return PlanificacionSeccionEvaluacion | ||
| 232 | + */ | ||
| 233 | + public function setIdEstatus(\AppBundle\Entity\Estatus $idEstatus) | ||
| 234 | + { | ||
| 235 | + $this->idEstatus = $idEstatus; | ||
| 236 | + | ||
| 237 | + return $this; | ||
| 238 | + } | ||
| 239 | + | ||
| 240 | + /** | ||
| 241 | + * Get idEstatus | ||
| 242 | + * | ||
| 243 | + * @return \AppBundle\Entity\Estatus | ||
| 244 | + */ | ||
| 245 | + public function getIdEstatus() | ||
| 246 | + { | ||
| 247 | + return $this->idEstatus; | ||
| 248 | + } | ||
| 249 | +} |
src/AppBundle/Entity/PlanificacionSeccionEvaluacion.php~
| @@ -0,0 +1,101 @@ | @@ -0,0 +1,101 @@ | ||
| 1 | +<?php | ||
| 2 | + | ||
| 3 | +namespace AppBundle\Entity; | ||
| 4 | + | ||
| 5 | +use Doctrine\ORM\Mapping as ORM; | ||
| 6 | +use Symfony\Component\Validator\Constraints as Assert; | ||
| 7 | + | ||
| 8 | +/** | ||
| 9 | + * PlanificacionSeccionEvaluacion | ||
| 10 | + * | ||
| 11 | + * @ORM\Table(name="planificacion_seccion_evaluacion", | ||
| 12 | + * uniqueConstraints= | ||
| 13 | + * {@ORM\UniqueConstraint(name="uq_planificacion_seccion", | ||
| 14 | + * columns={"id_planificacion_seccion"}) | ||
| 15 | + * }, | ||
| 16 | + * indexes={ | ||
| 17 | + * @ORM\Index(name="fki_id_planificacion_seccion", | ||
| 18 | + * columns={"id_planificacion_seccion"}) | ||
| 19 | + * } | ||
| 20 | + * ) | ||
| 21 | + * @ORM\Entity | ||
| 22 | + */ | ||
| 23 | +class PlanificacionSeccionEvaluacion | ||
| 24 | +{ | ||
| 25 | + | ||
| 26 | + /** | ||
| 27 | + * @var \AppBundle\Entity\PlanificacionSeccion | ||
| 28 | + * | ||
| 29 | + * @ORM\ManyToOne(targetEntity="AppBundle\Entity\PlanificacionSeccion") | ||
| 30 | + * @ORM\JoinColumns({ | ||
| 31 | + * @ORM\JoinColumn(name="id_planificacion_seccion", referencedColumnName="id", nullable=false) | ||
| 32 | + * }) | ||
| 33 | + */ | ||
| 34 | + private $idPlanificacionSeccion; | ||
| 35 | + | ||
| 36 | + /** | ||
| 37 | + * @var integer | ||
| 38 | + * | ||
| 39 | + * @ORM\Column(name="id", type="integer", nullable=false, options={"comment" = "Identificador del municipio"}) | ||
| 40 | + * @ORM\Id | ||
| 41 | + * @ORM\GeneratedValue(strategy="IDENTITY") | ||
| 42 | + * @ORM\SequenceGenerator(sequenceName="municipio_id_seq", allocationSize=1, initialValue=1) | ||
| 43 | + */ | ||
| 44 | + private $id; | ||
| 45 | + | ||
| 46 | + /** | ||
| 47 | + * @var \AppBundle\Entity\TipoEvaluacion | ||
| 48 | + * | ||
| 49 | + * @ORM\ManyToOne(targetEntity="AppBundle\Entity\TipoEvaluacion") | ||
| 50 | + * @ORM\JoinColumns({ | ||
| 51 | + * @ORM\JoinColumn(name="id_tipo_evaluacion", referencedColumnName="id", nullable=false) | ||
| 52 | + * }) | ||
| 53 | + */ | ||
| 54 | + private $idTipoEvaluacion; | ||
| 55 | + | ||
| 56 | + | ||
| 57 | + /** | ||
| 58 | + * @var text | ||
| 59 | + * | ||
| 60 | + * @ORM\Column(name="tipo_instrumento_evaluacion", type="text", nullable=false, options={"comment" = "Instrumentos para la evaluacion"}) | ||
| 61 | + */ | ||
| 62 | + private $tipoInstrumentoEvaluacion; | ||
| 63 | + | ||
| 64 | + | ||
| 65 | + /** | ||
| 66 | + * @Assert\Range( | ||
| 67 | + * min = 1, | ||
| 68 | + * max = 25, | ||
| 69 | + * minMessage = "debe crear una ponderacion de minimo 1%", | ||
| 70 | + * maxMessage = "Segun reglamento, no puede exeder de 25%" | ||
| 71 | + * ) | ||
| 72 | + * @var integer | ||
| 73 | + * | ||
| 74 | + * @ORM\Column(name="ponderacion", type="integer", nullable=false, options={"comment" = "Porcentaje de la evaluacion"}) | ||
| 75 | + */ | ||
| 76 | + protected $ponderacion; | ||
| 77 | + | ||
| 78 | + | ||
| 79 | + /** | ||
| 80 | + * @ORM\Column(name="fecha_evaluacion", type="datetime", nullable=false, options={"comment" = "Fecha de creación de la solicitud"}) | ||
| 81 | + * | ||
| 82 | + * @var date | ||
| 83 | + */ | ||
| 84 | + | ||
| 85 | + private $fechaEvaluacion; | ||
| 86 | + | ||
| 87 | + | ||
| 88 | + /** | ||
| 89 | + * @var \AppBundle\Entity\Estatus | ||
| 90 | + * | ||
| 91 | + * @ORM\ManyToOne(targetEntity="AppBundle\Entity\Estatus") | ||
| 92 | + * @ORM\JoinColumns({ | ||
| 93 | + * @ORM\JoinColumn(name="id_estatus", referencedColumnName="id", nullable=false) | ||
| 94 | + * }) | ||
| 95 | + */ | ||
| 96 | + protected $idEstatus; | ||
| 97 | + | ||
| 98 | + | ||
| 99 | + | ||
| 100 | + | ||
| 101 | +} |
src/AppBundle/Entity/Seccion.php
| @@ -86,6 +86,11 @@ class Seccion | @@ -86,6 +86,11 @@ class Seccion | ||
| 86 | * @ORM\JoinColumn(name="oferta_academica_id", referencedColumnName="id") | 86 | * @ORM\JoinColumn(name="oferta_academica_id", referencedColumnName="id") |
| 87 | */ | 87 | */ |
| 88 | private $ofertaAcademica; | 88 | private $ofertaAcademica; |
| 89 | + | ||
| 90 | + /** | ||
| 91 | + * @ORM\OneToMany(targetEntity="PlanificacionSeccion", mappedBy="planificacion") | ||
| 92 | + */ | ||
| 93 | + private $planificacion; | ||
| 89 | 94 | ||
| 90 | 95 | ||
| 91 | 96 | ||
| @@ -95,6 +100,7 @@ class Seccion | @@ -95,6 +100,7 @@ class Seccion | ||
| 95 | public function __construct() | 100 | public function __construct() |
| 96 | { | 101 | { |
| 97 | $this->hasInscripcion = new \Doctrine\Common\Collections\ArrayCollection(); | 102 | $this->hasInscripcion = new \Doctrine\Common\Collections\ArrayCollection(); |
| 103 | + $this->planificacion = new \Doctrine\Common\Collections\ArrayCollection(); | ||
| 98 | } | 104 | } |
| 99 | 105 | ||
| 100 | /** | 106 | /** |
| @@ -287,4 +293,37 @@ class Seccion | @@ -287,4 +293,37 @@ class Seccion | ||
| 287 | { | 293 | { |
| 288 | return $this->getNombre(); | 294 | return $this->getNombre(); |
| 289 | } | 295 | } |
| 296 | + | ||
| 297 | + /** | ||
| 298 | + * Add planificacion | ||
| 299 | + * | ||
| 300 | + * @param \AppBundle\Entity\PlanificacionSeccion $planificacion | ||
| 301 | + * @return Seccion | ||
| 302 | + */ | ||
| 303 | + public function addPlanificacion(\AppBundle\Entity\PlanificacionSeccion $planificacion) | ||
| 304 | + { | ||
| 305 | + $this->planificacion[] = $planificacion; | ||
| 306 | + | ||
| 307 | + return $this; | ||
| 308 | + } | ||
| 309 | + | ||
| 310 | + /** | ||
| 311 | + * Remove planificacion | ||
| 312 | + * | ||
| 313 | + * @param \AppBundle\Entity\PlanificacionSeccion $planificacion | ||
| 314 | + */ | ||
| 315 | + public function removePlanificacion(\AppBundle\Entity\PlanificacionSeccion $planificacion) | ||
| 316 | + { | ||
| 317 | + $this->planificacion->removeElement($planificacion); | ||
| 318 | + } | ||
| 319 | + | ||
| 320 | + /** | ||
| 321 | + * Get planificacion | ||
| 322 | + * | ||
| 323 | + * @return \Doctrine\Common\Collections\Collection | ||
| 324 | + */ | ||
| 325 | + public function getPlanificacion() | ||
| 326 | + { | ||
| 327 | + return $this->planificacion; | ||
| 328 | + } | ||
| 290 | } | 329 | } |
src/AppBundle/Entity/Seccion.php~
| @@ -7,7 +7,19 @@ use Doctrine\ORM\Mapping as ORM; | @@ -7,7 +7,19 @@ use Doctrine\ORM\Mapping as ORM; | ||
| 7 | /** | 7 | /** |
| 8 | * Seccion | 8 | * Seccion |
| 9 | * | 9 | * |
| 10 | - * @ORM\Table(name="seccion", uniqueConstraints={@ORM\UniqueConstraint(name="uq_seccion", columns={"nombre"})}) | 10 | + * @ORM\Table(name="seccion", |
| 11 | + * uniqueConstraints= | ||
| 12 | + * {@ORM\UniqueConstraint(name="uq_seccion", | ||
| 13 | + * columns={"nombre", "id_turno"}) | ||
| 14 | + * }, | ||
| 15 | + * indexes={ | ||
| 16 | + * @ORM\Index(name="fki_turno_oferta_academica", | ||
| 17 | + * columns={"id_turno"}), | ||
| 18 | + * @ORM\Index(name="fki_rol_institucion_oferta_academica", | ||
| 19 | + * columns={"id_rol_institucion"}), | ||
| 20 | + | ||
| 21 | + * } | ||
| 22 | + * ) | ||
| 11 | * @ORM\Entity | 23 | * @ORM\Entity |
| 12 | */ | 24 | */ |
| 13 | class Seccion | 25 | class Seccion |
| @@ -34,7 +46,7 @@ class Seccion | @@ -34,7 +46,7 @@ class Seccion | ||
| 34 | private $cupo; | 46 | private $cupo; |
| 35 | 47 | ||
| 36 | /** | 48 | /** |
| 37 | - * @ORM\OneToMany(targetEntity="AppBundle\Entity\Inscripcion" , mappedBy="idOfertaAcademica" , cascade={"all"}) | 49 | + * @ORM\OneToMany(targetEntity="AppBundle\Entity\Inscripcion" , mappedBy="idSeccion" , cascade={"all"}) |
| 38 | * */ | 50 | * */ |
| 39 | protected $hasInscripcion; | 51 | protected $hasInscripcion; |
| 40 | 52 | ||
| @@ -74,17 +86,211 @@ class Seccion | @@ -74,17 +86,211 @@ class Seccion | ||
| 74 | * @ORM\JoinColumn(name="oferta_academica_id", referencedColumnName="id") | 86 | * @ORM\JoinColumn(name="oferta_academica_id", referencedColumnName="id") |
| 75 | */ | 87 | */ |
| 76 | private $ofertaAcademica; | 88 | private $ofertaAcademica; |
| 77 | - | 89 | + |
| 90 | + /** | ||
| 91 | + * @ORM\OneToMany(targetEntity="PlanificacionSeccion", mappedBy="planificacion") | ||
| 92 | + */ | ||
| 93 | + private $planificacion; | ||
| 78 | 94 | ||
| 79 | 95 | ||
| 80 | 96 | ||
| 97 | + /** | ||
| 98 | + * Constructor | ||
| 99 | + */ | ||
| 100 | + public function __construct() | ||
| 101 | + { | ||
| 102 | + $this->hasInscripcion = new \Doctrine\Common\Collections\ArrayCollection(); | ||
| 103 | + $this->planificacion = new \Doctrine\Common\Collections\ArrayCollection(); | ||
| 104 | + } | ||
| 105 | + | ||
| 106 | + /** | ||
| 107 | + * Set nombre | ||
| 108 | + * | ||
| 109 | + * @param string $nombre | ||
| 110 | + * @return Seccion | ||
| 111 | + */ | ||
| 112 | + public function setNombre($nombre) | ||
| 113 | + { | ||
| 114 | + $this->nombre = $nombre; | ||
| 115 | + | ||
| 116 | + return $this; | ||
| 117 | + } | ||
| 118 | + | ||
| 119 | + /** | ||
| 120 | + * Get nombre | ||
| 121 | + * | ||
| 122 | + * @return string | ||
| 123 | + */ | ||
| 124 | + public function getNombre() | ||
| 125 | + { | ||
| 126 | + return $this->nombre; | ||
| 127 | + } | ||
| 128 | + | ||
| 129 | + /** | ||
| 130 | + * Set aula | ||
| 131 | + * | ||
| 132 | + * @param string $aula | ||
| 133 | + * @return Seccion | ||
| 134 | + */ | ||
| 135 | + public function setAula($aula) | ||
| 136 | + { | ||
| 137 | + $this->aula = $aula; | ||
| 138 | + | ||
| 139 | + return $this; | ||
| 140 | + } | ||
| 141 | + | ||
| 142 | + /** | ||
| 143 | + * Get aula | ||
| 144 | + * | ||
| 145 | + * @return string | ||
| 146 | + */ | ||
| 147 | + public function getAula() | ||
| 148 | + { | ||
| 149 | + return $this->aula; | ||
| 150 | + } | ||
| 151 | + | ||
| 152 | + /** | ||
| 153 | + * Set cupo | ||
| 154 | + * | ||
| 155 | + * @param string $cupo | ||
| 156 | + * @return Seccion | ||
| 157 | + */ | ||
| 158 | + public function setCupo($cupo) | ||
| 159 | + { | ||
| 160 | + $this->cupo = $cupo; | ||
| 161 | + | ||
| 162 | + return $this; | ||
| 163 | + } | ||
| 164 | + | ||
| 165 | + /** | ||
| 166 | + * Get cupo | ||
| 167 | + * | ||
| 168 | + * @return string | ||
| 169 | + */ | ||
| 170 | + public function getCupo() | ||
| 171 | + { | ||
| 172 | + return $this->cupo; | ||
| 173 | + } | ||
| 174 | + | ||
| 175 | + /** | ||
| 176 | + * Get id | ||
| 177 | + * | ||
| 178 | + * @return integer | ||
| 179 | + */ | ||
| 180 | + public function getId() | ||
| 181 | + { | ||
| 182 | + return $this->id; | ||
| 183 | + } | ||
| 184 | + | ||
| 185 | + /** | ||
| 186 | + * Add hasInscripcion | ||
| 187 | + * | ||
| 188 | + * @param \AppBundle\Entity\Inscripcion $hasInscripcion | ||
| 189 | + * @return Seccion | ||
| 190 | + */ | ||
| 191 | + public function addHasInscripcion(\AppBundle\Entity\Inscripcion $hasInscripcion) | ||
| 192 | + { | ||
| 193 | + $this->hasInscripcion[] = $hasInscripcion; | ||
| 194 | + | ||
| 195 | + return $this; | ||
| 196 | + } | ||
| 197 | + | ||
| 198 | + /** | ||
| 199 | + * Remove hasInscripcion | ||
| 200 | + * | ||
| 201 | + * @param \AppBundle\Entity\Inscripcion $hasInscripcion | ||
| 202 | + */ | ||
| 203 | + public function removeHasInscripcion(\AppBundle\Entity\Inscripcion $hasInscripcion) | ||
| 204 | + { | ||
| 205 | + $this->hasInscripcion->removeElement($hasInscripcion); | ||
| 206 | + } | ||
| 207 | + | ||
| 208 | + /** | ||
| 209 | + * Get hasInscripcion | ||
| 210 | + * | ||
| 211 | + * @return \Doctrine\Common\Collections\Collection | ||
| 212 | + */ | ||
| 213 | + public function getHasInscripcion() | ||
| 214 | + { | ||
| 215 | + return $this->hasInscripcion; | ||
| 216 | + } | ||
| 217 | + | ||
| 218 | + /** | ||
| 219 | + * Set idTurno | ||
| 220 | + * | ||
| 221 | + * @param \AppBundle\Entity\Turno $idTurno | ||
| 222 | + * @return Seccion | ||
| 223 | + */ | ||
| 224 | + public function setIdTurno(\AppBundle\Entity\Turno $idTurno) | ||
| 225 | + { | ||
| 226 | + $this->idTurno = $idTurno; | ||
| 227 | + | ||
| 228 | + return $this; | ||
| 229 | + } | ||
| 230 | + | ||
| 231 | + /** | ||
| 232 | + * Get idTurno | ||
| 233 | + * | ||
| 234 | + * @return \AppBundle\Entity\Turno | ||
| 235 | + */ | ||
| 236 | + public function getIdTurno() | ||
| 237 | + { | ||
| 238 | + return $this->idTurno; | ||
| 239 | + } | ||
| 240 | + | ||
| 241 | + /** | ||
| 242 | + * Set idRolInstitucion | ||
| 243 | + * | ||
| 244 | + * @param \AppBundle\Entity\RolInstitucion $idRolInstitucion | ||
| 245 | + * @return Seccion | ||
| 246 | + */ | ||
| 247 | + public function setIdRolInstitucion(\AppBundle\Entity\RolInstitucion $idRolInstitucion) | ||
| 248 | + { | ||
| 249 | + $this->idRolInstitucion = $idRolInstitucion; | ||
| 250 | + | ||
| 251 | + return $this; | ||
| 252 | + } | ||
| 253 | + | ||
| 254 | + /** | ||
| 255 | + * Get idRolInstitucion | ||
| 256 | + * | ||
| 257 | + * @return \AppBundle\Entity\RolInstitucion | ||
| 258 | + */ | ||
| 259 | + public function getIdRolInstitucion() | ||
| 260 | + { | ||
| 261 | + return $this->idRolInstitucion; | ||
| 262 | + } | ||
| 263 | + | ||
| 264 | + /** | ||
| 265 | + * Set ofertaAcademica | ||
| 266 | + * | ||
| 267 | + * @param \AppBundle\Entity\OfertaAcademica $ofertaAcademica | ||
| 268 | + * @return Seccion | ||
| 269 | + */ | ||
| 270 | + public function setOfertaAcademica(\AppBundle\Entity\OfertaAcademica $ofertaAcademica = null) | ||
| 271 | + { | ||
| 272 | + $this->ofertaAcademica = $ofertaAcademica; | ||
| 273 | + | ||
| 274 | + return $this; | ||
| 275 | + } | ||
| 276 | + | ||
| 277 | + /** | ||
| 278 | + * Get ofertaAcademica | ||
| 279 | + * | ||
| 280 | + * @return \AppBundle\Entity\OfertaAcademica | ||
| 281 | + */ | ||
| 282 | + public function getOfertaAcademica() | ||
| 283 | + { | ||
| 284 | + return $this->ofertaAcademica; | ||
| 285 | + } | ||
| 81 | 286 | ||
| 82 | /** | 287 | /** |
| 83 | * | 288 | * |
| 84 | * @return string | 289 | * @return string |
| 85 | */ | 290 | */ |
| 86 | 291 | ||
| 87 | - public function __toString() { | 292 | + public function __toString() |
| 293 | + { | ||
| 88 | return $this->getNombre(); | 294 | return $this->getNombre(); |
| 89 | } | 295 | } |
| 90 | -} | ||
| 91 | \ No newline at end of file | 296 | \ No newline at end of file |
| 297 | +} |
src/AppBundle/Entity/TipoEvaluacion.php
| @@ -0,0 +1,88 @@ | @@ -0,0 +1,88 @@ | ||
| 1 | +<?php | ||
| 2 | +/** | ||
| 3 | + * Created by PhpStorm. | ||
| 4 | + * User: ubv-cipee | ||
| 5 | + * Date: 29/06/16 | ||
| 6 | + * Time: 08:45 AM | ||
| 7 | + */ | ||
| 8 | + | ||
| 9 | + | ||
| 10 | +namespace AppBundle\Entity; | ||
| 11 | + | ||
| 12 | +use Doctrine\ORM\Mapping as ORM; | ||
| 13 | + | ||
| 14 | +/** | ||
| 15 | + * TipoEvaluacion | ||
| 16 | + * | ||
| 17 | + * @ORM\Table(name="tipo_evaluacion", uniqueConstraints={@ORM\UniqueConstraint(name="uq_tipo_evaluacion", columns={"nombre"})}) | ||
| 18 | + * @ORM\Entity | ||
| 19 | + */ | ||
| 20 | +class TipoEvaluacion | ||
| 21 | +{ | ||
| 22 | + /** | ||
| 23 | + * @var string | ||
| 24 | + * | ||
| 25 | + * @ORM\Column(name="nombre", type="string", length=50, nullable=false, options={"comment" = "nombre del estado"}) | ||
| 26 | + */ | ||
| 27 | + private $nombre; | ||
| 28 | + | ||
| 29 | + | ||
| 30 | + /** | ||
| 31 | + * @var integer | ||
| 32 | + * | ||
| 33 | + * @ORM\Column(name="id", type="integer", nullable=false, options={"comment" = "identificador del estado"}) | ||
| 34 | + * @ORM\Id | ||
| 35 | + * @ORM\GeneratedValue(strategy="IDENTITY") | ||
| 36 | + * @ORM\SequenceGenerator(sequenceName="estado_id_seq", allocationSize=1, initialValue=1) | ||
| 37 | + */ | ||
| 38 | + private $id; | ||
| 39 | + | ||
| 40 | + | ||
| 41 | + | ||
| 42 | + | ||
| 43 | + | ||
| 44 | + /** | ||
| 45 | + * Get nombre | ||
| 46 | + * | ||
| 47 | + * @return string | ||
| 48 | + */ | ||
| 49 | + public function __toString() | ||
| 50 | + { | ||
| 51 | + return $this->nombre; | ||
| 52 | + } | ||
| 53 | + | ||
| 54 | + | ||
| 55 | + | ||
| 56 | + /** | ||
| 57 | + * Set nombre | ||
| 58 | + * | ||
| 59 | + * @param string $nombre | ||
| 60 | + * @return TipoEvaluacion | ||
| 61 | + */ | ||
| 62 | + public function setNombre($nombre) | ||
| 63 | + { | ||
| 64 | + $this->nombre = $nombre; | ||
| 65 | + | ||
| 66 | + return $this; | ||
| 67 | + } | ||
| 68 | + | ||
| 69 | + /** | ||
| 70 | + * Get nombre | ||
| 71 | + * | ||
| 72 | + * @return string | ||
| 73 | + */ | ||
| 74 | + public function getNombre() | ||
| 75 | + { | ||
| 76 | + return $this->nombre; | ||
| 77 | + } | ||
| 78 | + | ||
| 79 | + /** | ||
| 80 | + * Get id | ||
| 81 | + * | ||
| 82 | + * @return integer | ||
| 83 | + */ | ||
| 84 | + public function getId() | ||
| 85 | + { | ||
| 86 | + return $this->id; | ||
| 87 | + } | ||
| 88 | +} |
src/AppBundle/Entity/TipoEvaluacion.php~
| @@ -0,0 +1,55 @@ | @@ -0,0 +1,55 @@ | ||
| 1 | +<?php | ||
| 2 | +/** | ||
| 3 | + * Created by PhpStorm. | ||
| 4 | + * User: ubv-cipee | ||
| 5 | + * Date: 29/06/16 | ||
| 6 | + * Time: 08:45 AM | ||
| 7 | + */ | ||
| 8 | + | ||
| 9 | + | ||
| 10 | +namespace AppBundle\Entity; | ||
| 11 | + | ||
| 12 | +use Doctrine\ORM\Mapping as ORM; | ||
| 13 | + | ||
| 14 | +/** | ||
| 15 | + * TipoEvaluacion | ||
| 16 | + * | ||
| 17 | + * @ORM\Table(name="tipo_evaluacion", uniqueConstraints={@ORM\UniqueConstraint(name="uq_tipo_evaluacion", columns={"nombre"})}) | ||
| 18 | + * @ORM\Entity | ||
| 19 | + */ | ||
| 20 | +class TipoEvaluacion | ||
| 21 | +{ | ||
| 22 | + /** | ||
| 23 | + * @var string | ||
| 24 | + * | ||
| 25 | + * @ORM\Column(name="nombre", type="string", length=50, nullable=false, options={"comment" = "nombre del estado"}) | ||
| 26 | + */ | ||
| 27 | + private $nombre; | ||
| 28 | + | ||
| 29 | + | ||
| 30 | + /** | ||
| 31 | + * @var integer | ||
| 32 | + * | ||
| 33 | + * @ORM\Column(name="id", type="integer", nullable=false, options={"comment" = "identificador del estado"}) | ||
| 34 | + * @ORM\Id | ||
| 35 | + * @ORM\GeneratedValue(strategy="IDENTITY") | ||
| 36 | + * @ORM\SequenceGenerator(sequenceName="estado_id_seq", allocationSize=1, initialValue=1) | ||
| 37 | + */ | ||
| 38 | + private $id; | ||
| 39 | + | ||
| 40 | + | ||
| 41 | + | ||
| 42 | + | ||
| 43 | + | ||
| 44 | + /** | ||
| 45 | + * Get nombre | ||
| 46 | + * | ||
| 47 | + * @return string | ||
| 48 | + */ | ||
| 49 | + public function __toString() | ||
| 50 | + { | ||
| 51 | + return $this->nombre; | ||
| 52 | + } | ||
| 53 | + | ||
| 54 | + | ||
| 55 | +} | ||
| 0 | \ No newline at end of file | 56 | \ No newline at end of file |
src/AppBundle/Entity/TipoInstrumentoEvaluacion.php
| @@ -0,0 +1,81 @@ | @@ -0,0 +1,81 @@ | ||
| 1 | +<?php | ||
| 2 | + | ||
| 3 | +namespace AppBundle\Entity; | ||
| 4 | + | ||
| 5 | +use Doctrine\ORM\Mapping as ORM; | ||
| 6 | + | ||
| 7 | +/** | ||
| 8 | + * TipoInstrumentoEvaluacion | ||
| 9 | + * | ||
| 10 | + * @ORM\Table(name="tipo_instrumento_evaluacion", uniqueConstraints={@ORM\UniqueConstraint(name="uq_tipo_instrumento_evaluacion", columns={"nombre"})}) | ||
| 11 | + * @ORM\Entity | ||
| 12 | + */ | ||
| 13 | +class TipoInstrumentoEvaluacion | ||
| 14 | +{ | ||
| 15 | + /** | ||
| 16 | + * @var string | ||
| 17 | + * | ||
| 18 | + * @ORM\Column(name="nombre", type="string", length=50, nullable=false, options={"comment" = "nombre del estado"}) | ||
| 19 | + */ | ||
| 20 | + private $nombre; | ||
| 21 | + | ||
| 22 | + | ||
| 23 | + /** | ||
| 24 | + * @var integer | ||
| 25 | + * | ||
| 26 | + * @ORM\Column(name="id", type="integer", nullable=false, options={"comment" = "identificador del estado"}) | ||
| 27 | + * @ORM\Id | ||
| 28 | + * @ORM\GeneratedValue(strategy="IDENTITY") | ||
| 29 | + * @ORM\SequenceGenerator(sequenceName="estado_id_seq", allocationSize=1, initialValue=1) | ||
| 30 | + */ | ||
| 31 | + private $id; | ||
| 32 | + | ||
| 33 | + | ||
| 34 | + | ||
| 35 | + | ||
| 36 | + | ||
| 37 | + /** | ||
| 38 | + * Get nombre | ||
| 39 | + * | ||
| 40 | + * @return string | ||
| 41 | + */ | ||
| 42 | + public function __toString() | ||
| 43 | + { | ||
| 44 | + return $this->nombre; | ||
| 45 | + } | ||
| 46 | + | ||
| 47 | + | ||
| 48 | + | ||
| 49 | + /** | ||
| 50 | + * Set nombre | ||
| 51 | + * | ||
| 52 | + * @param string $nombre | ||
| 53 | + * @return TipoInstrumentoEvaluacion | ||
| 54 | + */ | ||
| 55 | + public function setNombre($nombre) | ||
| 56 | + { | ||
| 57 | + $this->nombre = $nombre; | ||
| 58 | + | ||
| 59 | + return $this; | ||
| 60 | + } | ||
| 61 | + | ||
| 62 | + /** | ||
| 63 | + * Get nombre | ||
| 64 | + * | ||
| 65 | + * @return string | ||
| 66 | + */ | ||
| 67 | + public function getNombre() | ||
| 68 | + { | ||
| 69 | + return $this->nombre; | ||
| 70 | + } | ||
| 71 | + | ||
| 72 | + /** | ||
| 73 | + * Get id | ||
| 74 | + * | ||
| 75 | + * @return integer | ||
| 76 | + */ | ||
| 77 | + public function getId() | ||
| 78 | + { | ||
| 79 | + return $this->id; | ||
| 80 | + } | ||
| 81 | +} |
src/AppBundle/Entity/TipoInstrumentoEvaluacion.php~
| @@ -0,0 +1,48 @@ | @@ -0,0 +1,48 @@ | ||
| 1 | +<?php | ||
| 2 | + | ||
| 3 | +namespace AppBundle\Entity; | ||
| 4 | + | ||
| 5 | +use Doctrine\ORM\Mapping as ORM; | ||
| 6 | + | ||
| 7 | +/** | ||
| 8 | + * TipoInstrumentoEvaluacion | ||
| 9 | + * | ||
| 10 | + * @ORM\Table(name="tipo_instrumento_evaluacion", uniqueConstraints={@ORM\UniqueConstraint(name="uq_tipo_instrumento_evaluacion", columns={"nombre"})}) | ||
| 11 | + * @ORM\Entity | ||
| 12 | + */ | ||
| 13 | +class TipoInstrumentoEvaluacion | ||
| 14 | +{ | ||
| 15 | + /** | ||
| 16 | + * @var string | ||
| 17 | + * | ||
| 18 | + * @ORM\Column(name="nombre", type="string", length=50, nullable=false, options={"comment" = "nombre del estado"}) | ||
| 19 | + */ | ||
| 20 | + private $nombre; | ||
| 21 | + | ||
| 22 | + | ||
| 23 | + /** | ||
| 24 | + * @var integer | ||
| 25 | + * | ||
| 26 | + * @ORM\Column(name="id", type="integer", nullable=false, options={"comment" = "identificador del estado"}) | ||
| 27 | + * @ORM\Id | ||
| 28 | + * @ORM\GeneratedValue(strategy="IDENTITY") | ||
| 29 | + * @ORM\SequenceGenerator(sequenceName="estado_id_seq", allocationSize=1, initialValue=1) | ||
| 30 | + */ | ||
| 31 | + private $id; | ||
| 32 | + | ||
| 33 | + | ||
| 34 | + | ||
| 35 | + | ||
| 36 | + | ||
| 37 | + /** | ||
| 38 | + * Get nombre | ||
| 39 | + * | ||
| 40 | + * @return string | ||
| 41 | + */ | ||
| 42 | + public function __toString() | ||
| 43 | + { | ||
| 44 | + return $this->nombre; | ||
| 45 | + } | ||
| 46 | + | ||
| 47 | + | ||
| 48 | +} | ||
| 0 | \ No newline at end of file | 49 | \ No newline at end of file |
src/AppBundle/Entity/UnidadCurricularVolumen.php
| @@ -41,6 +41,12 @@ class UnidadCurricularVolumen | @@ -41,6 +41,12 @@ class UnidadCurricularVolumen | ||
| 41 | * }) | 41 | * }) |
| 42 | */ | 42 | */ |
| 43 | private $idUnidadCurricular; | 43 | private $idUnidadCurricular; |
| 44 | + | ||
| 45 | + | ||
| 46 | + /** | ||
| 47 | + * @ORM\OneToMany(targetEntity="UnidadCurricularVolumenTema", mappedBy="idUnidadCurricularVolumen") | ||
| 48 | + */ | ||
| 49 | + private $temas; | ||
| 44 | 50 | ||
| 45 | 51 | ||
| 46 | 52 | ||
| @@ -105,4 +111,44 @@ class UnidadCurricularVolumen | @@ -105,4 +111,44 @@ class UnidadCurricularVolumen | ||
| 105 | public function __toString() { | 111 | public function __toString() { |
| 106 | return $this->getIdUnidadCurricular(); | 112 | return $this->getIdUnidadCurricular(); |
| 107 | } | 113 | } |
| 114 | + /** | ||
| 115 | + * Constructor | ||
| 116 | + */ | ||
| 117 | + public function __construct() | ||
| 118 | + { | ||
| 119 | + $this->temas = new \Doctrine\Common\Collections\ArrayCollection(); | ||
| 120 | + } | ||
| 121 | + | ||
| 122 | + /** | ||
| 123 | + * Add temas | ||
| 124 | + * | ||
| 125 | + * @param \AppBundle\Entity\UnidadCurricularVolumenTema $temas | ||
| 126 | + * @return UnidadCurricularVolumen | ||
| 127 | + */ | ||
| 128 | + public function addTema(\AppBundle\Entity\UnidadCurricularVolumenTema $temas) | ||
| 129 | + { | ||
| 130 | + $this->temas[] = $temas; | ||
| 131 | + | ||
| 132 | + return $this; | ||
| 133 | + } | ||
| 134 | + | ||
| 135 | + /** | ||
| 136 | + * Remove temas | ||
| 137 | + * | ||
| 138 | + * @param \AppBundle\Entity\UnidadCurricularVolumenTema $temas | ||
| 139 | + */ | ||
| 140 | + public function removeTema(\AppBundle\Entity\UnidadCurricularVolumenTema $temas) | ||
| 141 | + { | ||
| 142 | + $this->temas->removeElement($temas); | ||
| 143 | + } | ||
| 144 | + | ||
| 145 | + /** | ||
| 146 | + * Get temas | ||
| 147 | + * | ||
| 148 | + * @return \Doctrine\Common\Collections\Collection | ||
| 149 | + */ | ||
| 150 | + public function getTemas() | ||
| 151 | + { | ||
| 152 | + return $this->temas; | ||
| 153 | + } | ||
| 108 | } | 154 | } |
src/AppBundle/Entity/UnidadCurricularVolumen.php~
| @@ -41,8 +41,114 @@ class UnidadCurricularVolumen | @@ -41,8 +41,114 @@ class UnidadCurricularVolumen | ||
| 41 | * }) | 41 | * }) |
| 42 | */ | 42 | */ |
| 43 | private $idUnidadCurricular; | 43 | private $idUnidadCurricular; |
| 44 | + | ||
| 45 | + | ||
| 46 | + /** | ||
| 47 | + * @ORM\OneToMany(targetEntity="UnidadCurricularVolumenTema", mappedBy="idUnidadCurricularVolumen") | ||
| 48 | + */ | ||
| 49 | + private $temas; | ||
| 44 | 50 | ||
| 45 | 51 | ||
| 46 | 52 | ||
| 47 | 53 | ||
| 48 | -} | ||
| 49 | \ No newline at end of file | 54 | \ No newline at end of file |
| 55 | + | ||
| 56 | + /** | ||
| 57 | + * Get id | ||
| 58 | + * | ||
| 59 | + * @return integer | ||
| 60 | + */ | ||
| 61 | + public function getId() | ||
| 62 | + { | ||
| 63 | + return $this->id; | ||
| 64 | + } | ||
| 65 | + | ||
| 66 | + /** | ||
| 67 | + * Set idVolumen | ||
| 68 | + * | ||
| 69 | + * @param \AppBundle\Entity\Volumen $idVolumen | ||
| 70 | + * @return UnidadCurricularVolumen | ||
| 71 | + */ | ||
| 72 | + public function setIdVolumen(\AppBundle\Entity\Volumen $idVolumen) | ||
| 73 | + { | ||
| 74 | + $this->idVolumen = $idVolumen; | ||
| 75 | + | ||
| 76 | + return $this; | ||
| 77 | + } | ||
| 78 | + | ||
| 79 | + /** | ||
| 80 | + * Get idVolumen | ||
| 81 | + * | ||
| 82 | + * @return \AppBundle\Entity\Volumen | ||
| 83 | + */ | ||
| 84 | + public function getIdVolumen() | ||
| 85 | + { | ||
| 86 | + return $this->idVolumen; | ||
| 87 | + } | ||
| 88 | + | ||
| 89 | + /** | ||
| 90 | + * Set idUnidadCurricular | ||
| 91 | + * | ||
| 92 | + * @param \AppBundle\Entity\UnidadCurricular $idUnidadCurricular | ||
| 93 | + * @return UnidadCurricularVolumen | ||
| 94 | + */ | ||
| 95 | + public function setIdUnidadCurricular(\AppBundle\Entity\UnidadCurricular $idUnidadCurricular) | ||
| 96 | + { | ||
| 97 | + $this->idUnidadCurricular = $idUnidadCurricular; | ||
| 98 | + | ||
| 99 | + return $this; | ||
| 100 | + } | ||
| 101 | + | ||
| 102 | + /** | ||
| 103 | + * Get idUnidadCurricular | ||
| 104 | + * | ||
| 105 | + * @return \AppBundle\Entity\UnidadCurricular | ||
| 106 | + */ | ||
| 107 | + public function getIdUnidadCurricular() | ||
| 108 | + { | ||
| 109 | + return $this->idUnidadCurricular; | ||
| 110 | + } | ||
| 111 | + | ||
| 112 | + public function __toString() { | ||
| 113 | + return $this->getIdUnidadCurricular(); | ||
| 114 | + } | ||
| 115 | + /** | ||
| 116 | + * Constructor | ||
| 117 | + */ | ||
| 118 | + public function __construct() | ||
| 119 | + { | ||
| 120 | + $this->temas = new \Doctrine\Common\Collections\ArrayCollection(); | ||
| 121 | + } | ||
| 122 | + | ||
| 123 | + /** | ||
| 124 | + * Add temas | ||
| 125 | + * | ||
| 126 | + * @param \AppBundle\Entity\UnidadCurricularVolumenTema $temas | ||
| 127 | + * @return UnidadCurricularVolumen | ||
| 128 | + */ | ||
| 129 | + public function addTema(\AppBundle\Entity\UnidadCurricularVolumenTema $temas) | ||
| 130 | + { | ||
| 131 | + $this->temas[] = $temas; | ||
| 132 | + | ||
| 133 | + return $this; | ||
| 134 | + } | ||
| 135 | + | ||
| 136 | + /** | ||
| 137 | + * Remove temas | ||
| 138 | + * | ||
| 139 | + * @param \AppBundle\Entity\UnidadCurricularVolumenTema $temas | ||
| 140 | + */ | ||
| 141 | + public function removeTema(\AppBundle\Entity\UnidadCurricularVolumenTema $temas) | ||
| 142 | + { | ||
| 143 | + $this->temas->removeElement($temas); | ||
| 144 | + } | ||
| 145 | + | ||
| 146 | + /** | ||
| 147 | + * Get temas | ||
| 148 | + * | ||
| 149 | + * @return \Doctrine\Common\Collections\Collection | ||
| 150 | + */ | ||
| 151 | + public function getTemas() | ||
| 152 | + { | ||
| 153 | + return $this->temas; | ||
| 154 | + } | ||
| 155 | +} |
src/AppBundle/Entity/UnidadCurricularVolumenTema.php
| @@ -0,0 +1,172 @@ | @@ -0,0 +1,172 @@ | ||
| 1 | +<?php | ||
| 2 | + | ||
| 3 | + | ||
| 4 | +namespace AppBundle\Entity; | ||
| 5 | + | ||
| 6 | +use Doctrine\ORM\Mapping as ORM; | ||
| 7 | + | ||
| 8 | +/** | ||
| 9 | + * Tema | ||
| 10 | + * | ||
| 11 | + * @ORM\Table(name="unidad_curricular_volumen_tema") | ||
| 12 | + * @ORM\Entity | ||
| 13 | + */ | ||
| 14 | +class UnidadCurricularVolumenTema | ||
| 15 | +{ | ||
| 16 | + /** | ||
| 17 | + * @var string | ||
| 18 | + * | ||
| 19 | + * @ORM\Column(name="tema", type="string", length=50, nullable=false, options={"comment" = "nombre del estado"}) | ||
| 20 | + */ | ||
| 21 | + private $nombre; | ||
| 22 | + | ||
| 23 | + | ||
| 24 | + /** | ||
| 25 | + * @var integer | ||
| 26 | + * | ||
| 27 | + * @ORM\Column(name="orden", type="integer", length=2, nullable=false, options={"comment" = "orden del tema"}) | ||
| 28 | + */ | ||
| 29 | + private $orden; | ||
| 30 | + | ||
| 31 | + /** | ||
| 32 | + * @var text | ||
| 33 | + * | ||
| 34 | + * @ORM\Column(name="objetivo_general", type="text", nullable=false, options={"comment" = "Objetivo General del tema"}) | ||
| 35 | + */ | ||
| 36 | + private $objetivoGeneral; | ||
| 37 | + | ||
| 38 | + /** | ||
| 39 | + * @ORM\ManyToOne(targetEntity="UnidadCurricularVolumen", inversedBy="temas") | ||
| 40 | + * @ORM\JoinColumn(name="id_unidad_curricular_volumen", referencedColumnName="id") | ||
| 41 | + */ | ||
| 42 | + private $idUnidadCurricularVolumen; | ||
| 43 | + | ||
| 44 | + | ||
| 45 | + /** | ||
| 46 | + * @var integer | ||
| 47 | + * | ||
| 48 | + * @ORM\Column(name="id", type="integer", nullable=false, options={"comment" = "identificador del estado"}) | ||
| 49 | + * @ORM\Id | ||
| 50 | + * @ORM\GeneratedValue(strategy="IDENTITY") | ||
| 51 | + * @ORM\SequenceGenerator(sequenceName="estado_id_seq", allocationSize=1, initialValue=1) | ||
| 52 | + */ | ||
| 53 | + private $id; | ||
| 54 | + | ||
| 55 | + | ||
| 56 | + | ||
| 57 | + /** | ||
| 58 | + * Get nombre | ||
| 59 | + * | ||
| 60 | + * @return string | ||
| 61 | + */ | ||
| 62 | + public function __toString() | ||
| 63 | + { | ||
| 64 | + return $this->nombre; | ||
| 65 | + } | ||
| 66 | + | ||
| 67 | + | ||
| 68 | + | ||
| 69 | + | ||
| 70 | + | ||
| 71 | + /** | ||
| 72 | + * Set nombre | ||
| 73 | + * | ||
| 74 | + * @param string $nombre | ||
| 75 | + * @return UnidadCurricularVolumenTema | ||
| 76 | + */ | ||
| 77 | + public function setNombre($nombre) | ||
| 78 | + { | ||
| 79 | + $this->nombre = $nombre; | ||
| 80 | + | ||
| 81 | + return $this; | ||
| 82 | + } | ||
| 83 | + | ||
| 84 | + /** | ||
| 85 | + * Get nombre | ||
| 86 | + * | ||
| 87 | + * @return string | ||
| 88 | + */ | ||
| 89 | + public function getNombre() | ||
| 90 | + { | ||
| 91 | + return $this->nombre; | ||
| 92 | + } | ||
| 93 | + | ||
| 94 | + /** | ||
| 95 | + * Get id | ||
| 96 | + * | ||
| 97 | + * @return integer | ||
| 98 | + */ | ||
| 99 | + public function getId() | ||
| 100 | + { | ||
| 101 | + return $this->id; | ||
| 102 | + } | ||
| 103 | + | ||
| 104 | + /** | ||
| 105 | + * Set idUnidadCurricularVolumen | ||
| 106 | + * | ||
| 107 | + * @param \AppBundle\Entity\UnidadCurricularVolumen $idUnidadCurricularVolumen | ||
| 108 | + * @return UnidadCurricularVolumenTema | ||
| 109 | + */ | ||
| 110 | + public function setIdUnidadCurricularVolumen(\AppBundle\Entity\UnidadCurricularVolumen $idUnidadCurricularVolumen = null) | ||
| 111 | + { | ||
| 112 | + $this->idUnidadCurricularVolumen = $idUnidadCurricularVolumen; | ||
| 113 | + | ||
| 114 | + return $this; | ||
| 115 | + } | ||
| 116 | + | ||
| 117 | + /** | ||
| 118 | + * Get idUnidadCurricularVolumen | ||
| 119 | + * | ||
| 120 | + * @return \AppBundle\Entity\UnidadCurricularVolumen | ||
| 121 | + */ | ||
| 122 | + public function getIdUnidadCurricularVolumen() | ||
| 123 | + { | ||
| 124 | + return $this->idUnidadCurricularVolumen; | ||
| 125 | + } | ||
| 126 | + | ||
| 127 | + /** | ||
| 128 | + * Set objetivoGeneral | ||
| 129 | + * | ||
| 130 | + * @param string $objetivoGeneral | ||
| 131 | + * @return UnidadCurricularVolumenTema | ||
| 132 | + */ | ||
| 133 | + public function setObjetivoGeneral($objetivoGeneral) | ||
| 134 | + { | ||
| 135 | + $this->objetivoGeneral = $objetivoGeneral; | ||
| 136 | + | ||
| 137 | + return $this; | ||
| 138 | + } | ||
| 139 | + | ||
| 140 | + /** | ||
| 141 | + * Get objetivoGeneral | ||
| 142 | + * | ||
| 143 | + * @return string | ||
| 144 | + */ | ||
| 145 | + public function getObjetivoGeneral() | ||
| 146 | + { | ||
| 147 | + return $this->objetivoGeneral; | ||
| 148 | + } | ||
| 149 | + | ||
| 150 | + /** | ||
| 151 | + * Set orden | ||
| 152 | + * | ||
| 153 | + * @param integer $orden | ||
| 154 | + * @return UnidadCurricularVolumenTema | ||
| 155 | + */ | ||
| 156 | + public function setOrden($orden) | ||
| 157 | + { | ||
| 158 | + $this->orden = $orden; | ||
| 159 | + | ||
| 160 | + return $this; | ||
| 161 | + } | ||
| 162 | + | ||
| 163 | + /** | ||
| 164 | + * Get orden | ||
| 165 | + * | ||
| 166 | + * @return integer | ||
| 167 | + */ | ||
| 168 | + public function getOrden() | ||
| 169 | + { | ||
| 170 | + return $this->orden; | ||
| 171 | + } | ||
| 172 | +} |
src/AppBundle/Entity/UnidadCurricularVolumenTema.php~
| @@ -0,0 +1,149 @@ | @@ -0,0 +1,149 @@ | ||
| 1 | +<?php | ||
| 2 | + | ||
| 3 | + | ||
| 4 | +namespace AppBundle\Entity; | ||
| 5 | + | ||
| 6 | +use Doctrine\ORM\Mapping as ORM; | ||
| 7 | + | ||
| 8 | +/** | ||
| 9 | + * Tema | ||
| 10 | + * | ||
| 11 | + * @ORM\Table(name="unidad_curricular_volumen_tema") | ||
| 12 | + * @ORM\Entity | ||
| 13 | + */ | ||
| 14 | +class UnidadCurricularVolumenTema | ||
| 15 | +{ | ||
| 16 | + /** | ||
| 17 | + * @var string | ||
| 18 | + * | ||
| 19 | + * @ORM\Column(name="tema", type="string", length=50, nullable=false, options={"comment" = "nombre del estado"}) | ||
| 20 | + */ | ||
| 21 | + private $nombre; | ||
| 22 | + | ||
| 23 | + | ||
| 24 | + /** | ||
| 25 | + * @var integer | ||
| 26 | + * | ||
| 27 | + * @ORM\Column(name="orden", type="integer", length=2, nullable=false, options={"comment" = "orden del tema"}) | ||
| 28 | + */ | ||
| 29 | + private $orden; | ||
| 30 | + | ||
| 31 | + /** | ||
| 32 | + * @var text | ||
| 33 | + * | ||
| 34 | + * @ORM\Column(name="objetivo_general", type="text", nullable=false, options={"comment" = "Objetivo General del tema"}) | ||
| 35 | + */ | ||
| 36 | + private $objetivoGeneral; | ||
| 37 | + | ||
| 38 | + /** | ||
| 39 | + * @ORM\ManyToOne(targetEntity="UnidadCurricularVolumen", inversedBy="temas") | ||
| 40 | + * @ORM\JoinColumn(name="id_unidad_curricular_volumen", referencedColumnName="id") | ||
| 41 | + */ | ||
| 42 | + private $idUnidadCurricularVolumen; | ||
| 43 | + | ||
| 44 | + | ||
| 45 | + /** | ||
| 46 | + * @var integer | ||
| 47 | + * | ||
| 48 | + * @ORM\Column(name="id", type="integer", nullable=false, options={"comment" = "identificador del estado"}) | ||
| 49 | + * @ORM\Id | ||
| 50 | + * @ORM\GeneratedValue(strategy="IDENTITY") | ||
| 51 | + * @ORM\SequenceGenerator(sequenceName="estado_id_seq", allocationSize=1, initialValue=1) | ||
| 52 | + */ | ||
| 53 | + private $id; | ||
| 54 | + | ||
| 55 | + | ||
| 56 | + | ||
| 57 | + /** | ||
| 58 | + * Get nombre | ||
| 59 | + * | ||
| 60 | + * @return string | ||
| 61 | + */ | ||
| 62 | + public function __toString() | ||
| 63 | + { | ||
| 64 | + return $this->nombre; | ||
| 65 | + } | ||
| 66 | + | ||
| 67 | + | ||
| 68 | + | ||
| 69 | + | ||
| 70 | + | ||
| 71 | + /** | ||
| 72 | + * Set nombre | ||
| 73 | + * | ||
| 74 | + * @param string $nombre | ||
| 75 | + * @return UnidadCurricularVolumenTema | ||
| 76 | + */ | ||
| 77 | + public function setNombre($nombre) | ||
| 78 | + { | ||
| 79 | + $this->nombre = $nombre; | ||
| 80 | + | ||
| 81 | + return $this; | ||
| 82 | + } | ||
| 83 | + | ||
| 84 | + /** | ||
| 85 | + * Get nombre | ||
| 86 | + * | ||
| 87 | + * @return string | ||
| 88 | + */ | ||
| 89 | + public function getNombre() | ||
| 90 | + { | ||
| 91 | + return $this->nombre; | ||
| 92 | + } | ||
| 93 | + | ||
| 94 | + /** | ||
| 95 | + * Get id | ||
| 96 | + * | ||
| 97 | + * @return integer | ||
| 98 | + */ | ||
| 99 | + public function getId() | ||
| 100 | + { | ||
| 101 | + return $this->id; | ||
| 102 | + } | ||
| 103 | + | ||
| 104 | + /** | ||
| 105 | + * Set idUnidadCurricularVolumen | ||
| 106 | + * | ||
| 107 | + * @param \AppBundle\Entity\UnidadCurricularVolumen $idUnidadCurricularVolumen | ||
| 108 | + * @return UnidadCurricularVolumenTema | ||
| 109 | + */ | ||
| 110 | + public function setIdUnidadCurricularVolumen(\AppBundle\Entity\UnidadCurricularVolumen $idUnidadCurricularVolumen = null) | ||
| 111 | + { | ||
| 112 | + $this->idUnidadCurricularVolumen = $idUnidadCurricularVolumen; | ||
| 113 | + | ||
| 114 | + return $this; | ||
| 115 | + } | ||
| 116 | + | ||
| 117 | + /** | ||
| 118 | + * Get idUnidadCurricularVolumen | ||
| 119 | + * | ||
| 120 | + * @return \AppBundle\Entity\UnidadCurricularVolumen | ||
| 121 | + */ | ||
| 122 | + public function getIdUnidadCurricularVolumen() | ||
| 123 | + { | ||
| 124 | + return $this->idUnidadCurricularVolumen; | ||
| 125 | + } | ||
| 126 | + | ||
| 127 | + /** | ||
| 128 | + * Set objetivoGeneral | ||
| 129 | + * | ||
| 130 | + * @param string $objetivoGeneral | ||
| 131 | + * @return UnidadCurricularVolumenTema | ||
| 132 | + */ | ||
| 133 | + public function setObjetivoGeneral($objetivoGeneral) | ||
| 134 | + { | ||
| 135 | + $this->objetivoGeneral = $objetivoGeneral; | ||
| 136 | + | ||
| 137 | + return $this; | ||
| 138 | + } | ||
| 139 | + | ||
| 140 | + /** | ||
| 141 | + * Get objetivoGeneral | ||
| 142 | + * | ||
| 143 | + * @return string | ||
| 144 | + */ | ||
| 145 | + public function getObjetivoGeneral() | ||
| 146 | + { | ||
| 147 | + return $this->objetivoGeneral; | ||
| 148 | + } | ||
| 149 | +} |