Commit 33dbe7efa0c9e354fcd0073414084d8e9f90c9fc
1 parent
1f6a3ce07e
Exists in
master
creada toda la estructra de la base de datos y el modelo de doctrine para el reg…
…istro de calificaciones
Showing
14 changed files
with
1307 additions
and
0 deletions
Show diff stats
src/AppBundle/Entity/Calificacion.php
| ... | ... | @@ -0,0 +1,138 @@ |
| 1 | +<?php | |
| 2 | + | |
| 3 | +namespace AppBundle\Entity; | |
| 4 | + | |
| 5 | +use Doctrine\ORM\Mapping as ORM; | |
| 6 | + | |
| 7 | +/** | |
| 8 | + * Calificacion | |
| 9 | + * | |
| 10 | + * @ORM\Table(name="calificacion", uniqueConstraints={@ORM\UniqueConstraint(name="i_calificacion", columns={"id_nota", "id_condicion_calificacion", "id_porcentaje"})}, indexes={@ORM\Index(name="fki_id_porcentaje", columns={"id_porcentaje"}), @ORM\Index(name="fki_condicion_calificacion", columns={"id_condicion_calificacion"}), @ORM\Index(name="fki_id_nota", columns={"id_nota"})}) | |
| 11 | + * @ORM\Entity | |
| 12 | + */ | |
| 13 | +class Calificacion | |
| 14 | +{ | |
| 15 | + /** | |
| 16 | + * @var integer | |
| 17 | + * | |
| 18 | + * @ORM\Column(name="id", type="integer", nullable=false, options={"comment" = "Este campo representa el identificador unico de la tabla calificacion"}) | |
| 19 | + * @ORM\Id | |
| 20 | + * @ORM\GeneratedValue(strategy="IDENTITY") | |
| 21 | + * @ORM\SequenceGenerator(sequenceName="calificacion_id_seq", allocationSize=1, initialValue=1) | |
| 22 | + */ | |
| 23 | + private $id; | |
| 24 | + | |
| 25 | + /** | |
| 26 | + * @var \AppBundle\Entity\Porcentaje | |
| 27 | + * | |
| 28 | + * @ORM\ManyToOne(targetEntity="AppBundle\Entity\Porcentaje") | |
| 29 | + * @ORM\JoinColumns({ | |
| 30 | + * @ORM\JoinColumn(name="id_porcentaje", referencedColumnName="id", nullable=false) | |
| 31 | + * }) | |
| 32 | + */ | |
| 33 | + private $idPorcentaje; | |
| 34 | + | |
| 35 | + /** | |
| 36 | + * @var \AppBundle\Entity\Nota | |
| 37 | + * | |
| 38 | + * @ORM\ManyToOne(targetEntity="AppBundle\Entity\Nota") | |
| 39 | + * @ORM\JoinColumns({ | |
| 40 | + * @ORM\JoinColumn(name="id_nota", referencedColumnName="id", nullable=false) | |
| 41 | + * }) | |
| 42 | + */ | |
| 43 | + private $idNota; | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + /** | |
| 48 | + * @var \AppBundle\Entity\CondicionCalificacion | |
| 49 | + * | |
| 50 | + * @ORM\ManyToOne(targetEntity="AppBundle\Entity\CondicionCalificacion") | |
| 51 | + * @ORM\JoinColumns({ | |
| 52 | + * @ORM\JoinColumn(name="id_condicion_calificacion", referencedColumnName="id", nullable=false) | |
| 53 | + * }) | |
| 54 | + */ | |
| 55 | + private $idCondicionCalificacion; | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + /** | |
| 60 | + * Get id | |
| 61 | + * | |
| 62 | + * @return integer | |
| 63 | + */ | |
| 64 | + public function getId() | |
| 65 | + { | |
| 66 | + return $this->id; | |
| 67 | + } | |
| 68 | + | |
| 69 | + /** | |
| 70 | + * Set idPorcentaje | |
| 71 | + * | |
| 72 | + * @param \AppBundle\Entity\Porcentaje $idPorcentaje | |
| 73 | + * @return Calificacion | |
| 74 | + */ | |
| 75 | + public function setIdPorcentaje(\AppBundle\Entity\Porcentaje $idPorcentaje = null) | |
| 76 | + { | |
| 77 | + $this->idPorcentaje = $idPorcentaje; | |
| 78 | + | |
| 79 | + return $this; | |
| 80 | + } | |
| 81 | + | |
| 82 | + /** | |
| 83 | + * Get idPorcentaje | |
| 84 | + * | |
| 85 | + * @return \AppBundle\Entity\Porcentaje | |
| 86 | + */ | |
| 87 | + public function getIdPorcentaje() | |
| 88 | + { | |
| 89 | + return $this->idPorcentaje; | |
| 90 | + } | |
| 91 | + | |
| 92 | + /** | |
| 93 | + * Set idNota | |
| 94 | + * | |
| 95 | + * @param \AppBundle\Entity\Nota $idNota | |
| 96 | + * @return Calificacion | |
| 97 | + */ | |
| 98 | + public function setIdNota(\AppBundle\Entity\Nota $idNota = null) | |
| 99 | + { | |
| 100 | + $this->idNota = $idNota; | |
| 101 | + | |
| 102 | + return $this; | |
| 103 | + } | |
| 104 | + | |
| 105 | + /** | |
| 106 | + * Get idNota | |
| 107 | + * | |
| 108 | + * @return \AppBundle\Entity\Nota | |
| 109 | + */ | |
| 110 | + public function getIdNota() | |
| 111 | + { | |
| 112 | + return $this->idNota; | |
| 113 | + } | |
| 114 | + | |
| 115 | + | |
| 116 | + /** | |
| 117 | + * Set idCondicionCalificacion | |
| 118 | + * | |
| 119 | + * @param \AppBundle\Entity\CondicionCalificacion $idCondicionCalificacion | |
| 120 | + * @return Calificacion | |
| 121 | + */ | |
| 122 | + public function setIdCondicionCalificacion(\AppBundle\Entity\CondicionCalificacion $idCondicionCalificacion = null) | |
| 123 | + { | |
| 124 | + $this->idCondicionCalificacion = $idCondicionCalificacion; | |
| 125 | + | |
| 126 | + return $this; | |
| 127 | + } | |
| 128 | + | |
| 129 | + /** | |
| 130 | + * Get idCondicionCalificacion | |
| 131 | + * | |
| 132 | + * @return \AppBundle\Entity\CondicionCalificacion | |
| 133 | + */ | |
| 134 | + public function getIdCondicionCalificacion() | |
| 135 | + { | |
| 136 | + return $this->idCondicionCalificacion; | |
| 137 | + } | |
| 138 | +} | |
| 0 | 139 | \ No newline at end of file | ... | ... |
src/AppBundle/Entity/CondicionCalificacion.php
| ... | ... | @@ -0,0 +1,96 @@ |
| 1 | +<?php | |
| 2 | + | |
| 3 | +namespace AppBundle\Entity; | |
| 4 | + | |
| 5 | +use Doctrine\ORM\Mapping as ORM; | |
| 6 | + | |
| 7 | +/** | |
| 8 | + * CondicionCalificacion | |
| 9 | + * | |
| 10 | + * @ORM\Table(name="condicion_calificacion", uniqueConstraints={@ORM\UniqueConstraint(name="uq_nombre_condicion_calificacion", columns={"nombre"})}) | |
| 11 | + * @ORM\Entity | |
| 12 | + */ | |
| 13 | +class CondicionCalificacion | |
| 14 | +{ | |
| 15 | + /** | |
| 16 | + * @var string | |
| 17 | + * | |
| 18 | + * @ORM\Column(name="nombre", type="string", length=30, nullable=false, options={"comment" = "Nombre de la condicion de la calificacion"}) | |
| 19 | + */ | |
| 20 | + private $nombre; | |
| 21 | + | |
| 22 | + /** | |
| 23 | + * @var string | |
| 24 | + * | |
| 25 | + * @ORM\Column(name="siglas", type="string", nullable=true, options={"comment" = "Siglas de condicion de la calificacion"}) | |
| 26 | + */ | |
| 27 | + private $siglas; | |
| 28 | + | |
| 29 | + /** | |
| 30 | + * @var integer | |
| 31 | + * | |
| 32 | + * @ORM\Column(name="id", type="integer", nullable=true, options={"comment" = "Identificador de la condicion de la calificacion"}) | |
| 33 | + * @ORM\Id | |
| 34 | + * @ORM\GeneratedValue(strategy="IDENTITY") | |
| 35 | + * @ORM\SequenceGenerator(sequenceName="condicion_calificacion_id_seq", allocationSize=1, initialValue=1) | |
| 36 | + */ | |
| 37 | + private $id; | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + /** | |
| 42 | + * Set nombre | |
| 43 | + * | |
| 44 | + * @param string $nombre | |
| 45 | + * @return CondicionCalificacion | |
| 46 | + */ | |
| 47 | + public function setNombre($nombre) | |
| 48 | + { | |
| 49 | + $this->nombre = $nombre; | |
| 50 | + | |
| 51 | + return $this; | |
| 52 | + } | |
| 53 | + | |
| 54 | + /** | |
| 55 | + * Get nombre | |
| 56 | + * | |
| 57 | + * @return string | |
| 58 | + */ | |
| 59 | + public function getNombre() | |
| 60 | + { | |
| 61 | + return $this->nombre; | |
| 62 | + } | |
| 63 | + | |
| 64 | + /** | |
| 65 | + * Set siglas | |
| 66 | + * | |
| 67 | + * @param string $siglas | |
| 68 | + * @return CondicionCalificacion | |
| 69 | + */ | |
| 70 | + public function setSiglas($siglas) | |
| 71 | + { | |
| 72 | + $this->siglas = $siglas; | |
| 73 | + | |
| 74 | + return $this; | |
| 75 | + } | |
| 76 | + | |
| 77 | + /** | |
| 78 | + * Get siglas | |
| 79 | + * | |
| 80 | + * @return string | |
| 81 | + */ | |
| 82 | + public function getSiglas() | |
| 83 | + { | |
| 84 | + return $this->siglas; | |
| 85 | + } | |
| 86 | + | |
| 87 | + /** | |
| 88 | + * Get id | |
| 89 | + * | |
| 90 | + * @return integer | |
| 91 | + */ | |
| 92 | + public function getId() | |
| 93 | + { | |
| 94 | + return $this->id; | |
| 95 | + } | |
| 96 | +} | |
| 0 | 97 | \ No newline at end of file | ... | ... |
src/AppBundle/Entity/Escala.php
| ... | ... | @@ -0,0 +1,101 @@ |
| 1 | +<?php | |
| 2 | + | |
| 3 | +namespace AppBundle\Entity; | |
| 4 | + | |
| 5 | +use Doctrine\ORM\Mapping as ORM; | |
| 6 | + | |
| 7 | +/** | |
| 8 | + * Escala | |
| 9 | + * | |
| 10 | + * @ORM\Table(name="escala", uniqueConstraints={@ORM\UniqueConstraint(name="uq_escala", columns={"nombre"})}, indexes={@ORM\Index(name="IDX_C4F229CA50BDD1F3", columns={"id_estatus"})}) | |
| 11 | + * @ORM\Entity | |
| 12 | + */ | |
| 13 | +class Escala | |
| 14 | +{ | |
| 15 | + /** | |
| 16 | + * @var string | |
| 17 | + * | |
| 18 | + * @ORM\Column(name="nombre", type="string", nullable=false, options={"comment" = "Nombre de la escala de calificacion"}) | |
| 19 | + */ | |
| 20 | + private $nombre; | |
| 21 | + | |
| 22 | + /** | |
| 23 | + * @var integer | |
| 24 | + * | |
| 25 | + * @ORM\Column(name="id", type="integer", nullable=false, options={"comment" = "identificador de la escala"}) | |
| 26 | + * @ORM\Id | |
| 27 | + * @ORM\GeneratedValue(strategy="IDENTITY") | |
| 28 | + * @ORM\SequenceGenerator(sequenceName="escala_id_seq", allocationSize=1, initialValue=1) | |
| 29 | + */ | |
| 30 | + private $id; | |
| 31 | + | |
| 32 | + /** | |
| 33 | + * @var \AppBundle\Entity\Estatus | |
| 34 | + * | |
| 35 | + * @ORM\ManyToOne(targetEntity="AppBundle\Entity\Estatus") | |
| 36 | + * @ORM\JoinColumns({ | |
| 37 | + * @ORM\JoinColumn(name="id_estatus", referencedColumnName="id", nullable=false) | |
| 38 | + * }) | |
| 39 | + */ | |
| 40 | + private $idEstatus; | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + /** | |
| 47 | + * Set nombre | |
| 48 | + * | |
| 49 | + * @param string $nombre | |
| 50 | + * @return Escala | |
| 51 | + */ | |
| 52 | + public function setNombre($nombre) | |
| 53 | + { | |
| 54 | + $this->nombre = $nombre; | |
| 55 | + | |
| 56 | + return $this; | |
| 57 | + } | |
| 58 | + | |
| 59 | + /** | |
| 60 | + * Get nombre | |
| 61 | + * | |
| 62 | + * @return string | |
| 63 | + */ | |
| 64 | + public function getNombre() | |
| 65 | + { | |
| 66 | + return $this->nombre; | |
| 67 | + } | |
| 68 | + | |
| 69 | + /** | |
| 70 | + * Get id | |
| 71 | + * | |
| 72 | + * @return integer | |
| 73 | + */ | |
| 74 | + public function getId() | |
| 75 | + { | |
| 76 | + return $this->id; | |
| 77 | + } | |
| 78 | + | |
| 79 | + /** | |
| 80 | + * Set idEstatus | |
| 81 | + * | |
| 82 | + * @param \AppBundle\Entity\Estatus $idEstatus | |
| 83 | + * @return Escala | |
| 84 | + */ | |
| 85 | + public function setIdEstatus(\AppBundle\Entity\Estatus $idEstatus) | |
| 86 | + { | |
| 87 | + $this->idEstatus = $idEstatus; | |
| 88 | + | |
| 89 | + return $this; | |
| 90 | + } | |
| 91 | + | |
| 92 | + /** | |
| 93 | + * Get idEstatus | |
| 94 | + * | |
| 95 | + * @return \AppBundle\Entity\Estatus | |
| 96 | + */ | |
| 97 | + public function getIdEstatus() | |
| 98 | + { | |
| 99 | + return $this->idEstatus; | |
| 100 | + } | |
| 101 | +} | ... | ... |
src/AppBundle/Entity/Escala.php~
| ... | ... | @@ -0,0 +1,45 @@ |
| 1 | +<?php | |
| 2 | + | |
| 3 | +namespace AppBundle\Entity; | |
| 4 | + | |
| 5 | +use Doctrine\ORM\Mapping as ORM; | |
| 6 | + | |
| 7 | +/** | |
| 8 | + * Escala | |
| 9 | + * | |
| 10 | + * @ORM\Table(name="escala", uniqueConstraints={@ORM\UniqueConstraint(name="uq_nombre_escala", columns={"nombre"})}, indexes={@ORM\Index(name="IDX_C4F229CA50BDD1F3", columns={"id_estatus"})}) | |
| 11 | + * @ORM\Entity | |
| 12 | + */ | |
| 13 | +class Escala | |
| 14 | +{ | |
| 15 | + /** | |
| 16 | + * @var string | |
| 17 | + * | |
| 18 | + * @ORM\Column(name="nombre", type="string", nullable=false, options={"comment" = "Nombre de la escala de calificacion"}) | |
| 19 | + */ | |
| 20 | + private $nombre; | |
| 21 | + | |
| 22 | + /** | |
| 23 | + * @var integer | |
| 24 | + * | |
| 25 | + * @ORM\Column(name="id", type="integer", nullable=false, options={"comment" = "identificador de la escala"}) | |
| 26 | + * @ORM\Id | |
| 27 | + * @ORM\GeneratedValue(strategy="IDENTITY") | |
| 28 | + * @ORM\SequenceGenerator(sequenceName="escala_id_seq", allocationSize=1, initialValue=1) | |
| 29 | + */ | |
| 30 | + private $id; | |
| 31 | + | |
| 32 | + /** | |
| 33 | + * @var \AppBundle\Entity\Estatus | |
| 34 | + * | |
| 35 | + * @ORM\ManyToOne(targetEntity="AppBundle\Entity\Estatus") | |
| 36 | + * @ORM\JoinColumns({ | |
| 37 | + * @ORM\JoinColumn(name="id_estatus", referencedColumnName="id", nullable=false) | |
| 38 | + * }) | |
| 39 | + */ | |
| 40 | + private $idEstatus; | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | +} | |
| 0 | 46 | \ No newline at end of file | ... | ... |
src/AppBundle/Entity/EstatusNota.php
| ... | ... | @@ -0,0 +1,66 @@ |
| 1 | +<?php | |
| 2 | + | |
| 3 | +namespace AppBundle\Entity; | |
| 4 | + | |
| 5 | +use Doctrine\ORM\Mapping as ORM; | |
| 6 | + | |
| 7 | +/** | |
| 8 | + * EstatusNota | |
| 9 | + * | |
| 10 | + * @ORM\Table(name="estatus_nota", uniqueConstraints={@ORM\UniqueConstraint(name="uq_nombre_estatus_nota", columns={"nombre"})}) | |
| 11 | + * @ORM\Entity | |
| 12 | + */ | |
| 13 | +class EstatusNota | |
| 14 | +{ | |
| 15 | + /** | |
| 16 | + * @var string | |
| 17 | + * | |
| 18 | + * @ORM\Column(name="nombre", type="string", length=30, nullable=false, options={"comment" = "Nombre del estatus de la nota"}) | |
| 19 | + */ | |
| 20 | + private $nombre; | |
| 21 | + | |
| 22 | + /** | |
| 23 | + * @var integer | |
| 24 | + * | |
| 25 | + * @ORM\Column(name="id", type="integer", nullable=false, options={"comment" = "Identificador del estatus de la nota"}) | |
| 26 | + * @ORM\Id | |
| 27 | + * @ORM\GeneratedValue(strategy="IDENTITY") | |
| 28 | + * @ORM\SequenceGenerator(sequenceName="estatus_nota_id_seq", allocationSize=1, initialValue=1) | |
| 29 | + */ | |
| 30 | + private $id; | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + /** | |
| 35 | + * Set nombre | |
| 36 | + * | |
| 37 | + * @param string $nombre | |
| 38 | + * @return EstatusNota | |
| 39 | + */ | |
| 40 | + public function setNombre($nombre) | |
| 41 | + { | |
| 42 | + $this->nombre = $nombre; | |
| 43 | + | |
| 44 | + return $this; | |
| 45 | + } | |
| 46 | + | |
| 47 | + /** | |
| 48 | + * Get nombre | |
| 49 | + * | |
| 50 | + * @return string | |
| 51 | + */ | |
| 52 | + public function getNombre() | |
| 53 | + { | |
| 54 | + return $this->nombre; | |
| 55 | + } | |
| 56 | + | |
| 57 | + /** | |
| 58 | + * Get id | |
| 59 | + * | |
| 60 | + * @return integer | |
| 61 | + */ | |
| 62 | + public function getId() | |
| 63 | + { | |
| 64 | + return $this->id; | |
| 65 | + } | |
| 66 | +} | |
| 0 | 67 | \ No newline at end of file | ... | ... |
src/AppBundle/Entity/InscripcionCalificacion.php
| ... | ... | @@ -0,0 +1,136 @@ |
| 1 | +<?php | |
| 2 | + | |
| 3 | +namespace AppBundle\Entity; | |
| 4 | + | |
| 5 | +use Doctrine\ORM\Mapping as ORM; | |
| 6 | + | |
| 7 | +/** | |
| 8 | + * InscripcionCalificacion | |
| 9 | + * | |
| 10 | + * @ORM\Table(name="inscripcion_calificacion", uniqueConstraints={@ORM\UniqueConstraint(name="i_registro_nota", columns={"id_inscripcion", "id_calificacion"})}, indexes={@ORM\Index(name="fki_id_inscripcion", columns={"id_inscripcion"}), @ORM\Index(name="fki_id_calificacion", columns={"id_calificacion"}), @ORM\Index(name="fki_id_estatus_nota", columns={"id_estatus_nota"})}) | |
| 11 | + * @ORM\Entity | |
| 12 | + */ | |
| 13 | +class InscripcionCalificacion | |
| 14 | +{ | |
| 15 | + /** | |
| 16 | + * @var integer | |
| 17 | + * | |
| 18 | + * @ORM\Column(name="id", type="integer", nullable=false, options={"comment"= "identificador del registro de la nota"}) | |
| 19 | + * @ORM\Id | |
| 20 | + * @ORM\GeneratedValue(strategy="IDENTITY") | |
| 21 | + * @ORM\SequenceGenerator(sequenceName="registro_nota_id_seq", allocationSize=1, initialValue=1) | |
| 22 | + */ | |
| 23 | + private $id; | |
| 24 | + | |
| 25 | + /** | |
| 26 | + * @var \AppBundle\Entity\Inscripcion | |
| 27 | + * | |
| 28 | + * @ORM\ManyToOne(targetEntity="AppBundle\Entity\Inscripcion") | |
| 29 | + * @ORM\JoinColumns({ | |
| 30 | + * @ORM\JoinColumn(name="id_inscripcion", referencedColumnName="id", nullable=false) | |
| 31 | + * }) | |
| 32 | + */ | |
| 33 | + private $idInscripcion; | |
| 34 | + | |
| 35 | + /** | |
| 36 | + * @var \AppBundle\Entity\Calificacion | |
| 37 | + * | |
| 38 | + * @ORM\ManyToOne(targetEntity="AppBundle\Entity\Calificacion") | |
| 39 | + * @ORM\JoinColumns({ | |
| 40 | + * @ORM\JoinColumn(name="id_calificacion", referencedColumnName="id", nullable=false) | |
| 41 | + * }) | |
| 42 | + */ | |
| 43 | + private $idCalificacion; | |
| 44 | + | |
| 45 | + | |
| 46 | + /** | |
| 47 | + * @var \AppBundle\Entity\EstatusNota | |
| 48 | + * | |
| 49 | + * @ORM\ManyToOne(targetEntity="AppBundle\Entity\EstatusNota") | |
| 50 | + * @ORM\JoinColumns({ | |
| 51 | + * @ORM\JoinColumn(name="id_estatus_nota", referencedColumnName="id", nullable=false) | |
| 52 | + * }) | |
| 53 | + */ | |
| 54 | + private $idEstatusNota; | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + /** | |
| 59 | + * Get id | |
| 60 | + * | |
| 61 | + * @return integer | |
| 62 | + */ | |
| 63 | + public function getId() | |
| 64 | + { | |
| 65 | + return $this->id; | |
| 66 | + } | |
| 67 | + | |
| 68 | + /** | |
| 69 | + * Set idInscripcion | |
| 70 | + * | |
| 71 | + * @param \AppBundle\Entity\Inscripcion $idInscripcion | |
| 72 | + * @return InscripcionCalificacion | |
| 73 | + */ | |
| 74 | + public function setIdInscripcion(\AppBundle\Entity\Inscripcion $idInscripcion = null) | |
| 75 | + { | |
| 76 | + $this->idInscripcion = $idInscripcion; | |
| 77 | + | |
| 78 | + return $this; | |
| 79 | + } | |
| 80 | + | |
| 81 | + /** | |
| 82 | + * Get idInscripcion | |
| 83 | + * | |
| 84 | + * @return \AppBundle\Entity\Inscripcion | |
| 85 | + */ | |
| 86 | + public function getIdInscripcion() | |
| 87 | + { | |
| 88 | + return $this->idInscripcion; | |
| 89 | + } | |
| 90 | + | |
| 91 | + /** | |
| 92 | + * Set idCalificacion | |
| 93 | + * | |
| 94 | + * @param \AppBundle\Entity\Calificacion $idCalificacion | |
| 95 | + * @return InscripcionCalificacion | |
| 96 | + */ | |
| 97 | + public function setIdCalificacion(\AppBundle\Entity\Calificacion $idCalificacion = null) | |
| 98 | + { | |
| 99 | + $this->idCalificacion = $idCalificacion; | |
| 100 | + | |
| 101 | + return $this; | |
| 102 | + } | |
| 103 | + | |
| 104 | + /** | |
| 105 | + * Get idCalificacion | |
| 106 | + * | |
| 107 | + * @return \AppBundle\Entity\Calificacion | |
| 108 | + */ | |
| 109 | + public function getIdCalificacion() | |
| 110 | + { | |
| 111 | + return $this->idCalificacion; | |
| 112 | + } | |
| 113 | + | |
| 114 | + /** | |
| 115 | + * Set idEstatusNota | |
| 116 | + * | |
| 117 | + * @param \AppBundle\Entity\EstatusNota $idEstatusNota | |
| 118 | + * @return InscripcionCalificacion | |
| 119 | + */ | |
| 120 | + public function setIdEstatusNota(\AppBundle\Entity\EstatusNota $idEstatusNota) | |
| 121 | + { | |
| 122 | + $this->idEstatusNota = $idEstatusNota; | |
| 123 | + | |
| 124 | + return $this; | |
| 125 | + } | |
| 126 | + | |
| 127 | + /** | |
| 128 | + * Get idEstatusNota | |
| 129 | + * | |
| 130 | + * @return \AppBundle\Entity\EstatusNota | |
| 131 | + */ | |
| 132 | + public function getIdEstatusNota() | |
| 133 | + { | |
| 134 | + return $this->idEstatusNota; | |
| 135 | + } | |
| 136 | +} | ... | ... |
src/AppBundle/Entity/InscripcionCalificacion.php~
| ... | ... | @@ -0,0 +1,113 @@ |
| 1 | +<?php | |
| 2 | + | |
| 3 | +namespace AppBundle\Entity; | |
| 4 | + | |
| 5 | +use Doctrine\ORM\Mapping as ORM; | |
| 6 | + | |
| 7 | +/** | |
| 8 | + * InscripcionCalificacion | |
| 9 | + * | |
| 10 | + * @ORM\Table(name="registro_nota", uniqueConstraints={@ORM\UniqueConstraint(name="i_registro_nota", columns={"id_inscripcion", "id_calificacion"})}, indexes={@ORM\Index(name="fki_id_inscripcion", columns={"id_inscripcion"}), @ORM\Index(name="fki_id_calificacion", columns={"id_calificacion"}), @ORM\Index(name="fki_id_estatus_nota", columns={"id_estatus_nota"})}) | |
| 11 | + * @ORM\Entity | |
| 12 | + */ | |
| 13 | +class InscripcionCalificacion | |
| 14 | +{ | |
| 15 | + /** | |
| 16 | + * @var integer | |
| 17 | + * | |
| 18 | + * @ORM\Column(name="id", type="integer", nullable=false, options={"comment"= "identificador del registro de la nota"}) | |
| 19 | + * @ORM\Id | |
| 20 | + * @ORM\GeneratedValue(strategy="IDENTITY") | |
| 21 | + * @ORM\SequenceGenerator(sequenceName="registro_nota_id_seq", allocationSize=1, initialValue=1) | |
| 22 | + */ | |
| 23 | + private $id; | |
| 24 | + | |
| 25 | + /** | |
| 26 | + * @var \AppBundle\Entity\Inscripcion | |
| 27 | + * | |
| 28 | + * @ORM\ManyToOne(targetEntity="AppBundle\Entity\Inscripcion") | |
| 29 | + * @ORM\JoinColumns({ | |
| 30 | + * @ORM\JoinColumn(name="id_inscripcion", referencedColumnName="id", nullable=false) | |
| 31 | + * }) | |
| 32 | + */ | |
| 33 | + private $idInscripcion; | |
| 34 | + | |
| 35 | + /** | |
| 36 | + * @var \AppBundle\Entity\Calificacion | |
| 37 | + * | |
| 38 | + * @ORM\ManyToOne(targetEntity="AppBundle\Entity\Calificacion") | |
| 39 | + * @ORM\JoinColumns({ | |
| 40 | + * @ORM\JoinColumn(name="id_calificacion", referencedColumnName="id", nullable=false) | |
| 41 | + * }) | |
| 42 | + */ | |
| 43 | + private $idCalificacion; | |
| 44 | + | |
| 45 | + | |
| 46 | + /** | |
| 47 | + * @var \AppBundle\Entity\EstatusNota | |
| 48 | + * | |
| 49 | + * @ORM\ManyToOne(targetEntity="AppBundle\Entity\EstatusNota") | |
| 50 | + * @ORM\JoinColumns({ | |
| 51 | + * @ORM\JoinColumn(name="id_estatus_nota", referencedColumnName="id", nullable=false) | |
| 52 | + * }) | |
| 53 | + */ | |
| 54 | + private $idEstatusNota; | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + /** | |
| 59 | + * Get id | |
| 60 | + * | |
| 61 | + * @return integer | |
| 62 | + */ | |
| 63 | + public function getId() | |
| 64 | + { | |
| 65 | + return $this->id; | |
| 66 | + } | |
| 67 | + | |
| 68 | + /** | |
| 69 | + * Set idInscripcion | |
| 70 | + * | |
| 71 | + * @param \AppBundle\Entity\Inscripcion $idInscripcion | |
| 72 | + * @return InscripcionCalificacion | |
| 73 | + */ | |
| 74 | + public function setIdInscripcion(\AppBundle\Entity\Inscripcion $idInscripcion = null) | |
| 75 | + { | |
| 76 | + $this->idInscripcion = $idInscripcion; | |
| 77 | + | |
| 78 | + return $this; | |
| 79 | + } | |
| 80 | + | |
| 81 | + /** | |
| 82 | + * Get idInscripcion | |
| 83 | + * | |
| 84 | + * @return \AppBundle\Entity\Inscripcion | |
| 85 | + */ | |
| 86 | + public function getIdInscripcion() | |
| 87 | + { | |
| 88 | + return $this->idInscripcion; | |
| 89 | + } | |
| 90 | + | |
| 91 | + /** | |
| 92 | + * Set idCalificacion | |
| 93 | + * | |
| 94 | + * @param \AppBundle\Entity\Calificacion $idCalificacion | |
| 95 | + * @return InscripcionCalificacion | |
| 96 | + */ | |
| 97 | + public function setIdCalificacion(\AppBundle\Entity\Calificacion $idCalificacion = null) | |
| 98 | + { | |
| 99 | + $this->idCalificacion = $idCalificacion; | |
| 100 | + | |
| 101 | + return $this; | |
| 102 | + } | |
| 103 | + | |
| 104 | + /** | |
| 105 | + * Get idCalificacion | |
| 106 | + * | |
| 107 | + * @return \AppBundle\Entity\Calificacion | |
| 108 | + */ | |
| 109 | + public function getIdCalificacion() | |
| 110 | + { | |
| 111 | + return $this->idCalificacion; | |
| 112 | + } | |
| 113 | +} | |
| 0 | 114 | \ No newline at end of file | ... | ... |
src/AppBundle/Entity/NomenclaturaNota.php
| ... | ... | @@ -0,0 +1,98 @@ |
| 1 | +<?php | |
| 2 | + | |
| 3 | +namespace AppBundle\Entity; | |
| 4 | + | |
| 5 | +use Doctrine\ORM\Mapping as ORM; | |
| 6 | + | |
| 7 | +/** | |
| 8 | + * NomenclaturaNota | |
| 9 | + * | |
| 10 | + * @ORM\Table(name="nomenclatura_nota", uniqueConstraints={@ORM\UniqueConstraint(name="uq_descripcion_nomenclatura_nota", columns={"descripcion"}), @ORM\UniqueConstraint(name="uq_nombre_nomenclatura_nota", columns={"nombre"})}) | |
| 11 | + * @ORM\Entity | |
| 12 | + */ | |
| 13 | +class NomenclaturaNota | |
| 14 | +{ | |
| 15 | + /** | |
| 16 | + * @var string | |
| 17 | + * | |
| 18 | + * @ORM\Column(name="nombre", type="string", nullable=false, options={"comment" = "Nombre de la nomenclatura"}) | |
| 19 | + */ | |
| 20 | + private $nombre; | |
| 21 | + | |
| 22 | + /** | |
| 23 | + * @var string | |
| 24 | + * | |
| 25 | + * @ORM\Column(name="descripcion", type="string", nullable=false, options={"comment" = "Descripcion de la nomenclatura"}) | |
| 26 | + */ | |
| 27 | + private $descripcion; | |
| 28 | + | |
| 29 | + /** | |
| 30 | + * @var integer | |
| 31 | + * | |
| 32 | + * @ORM\Column(name="id", type="integer", nullable=false, options={"comment" = "Identificador de la nomenclatura"}) | |
| 33 | + * @ORM\Id | |
| 34 | + * @ORM\GeneratedValue(strategy="IDENTITY") | |
| 35 | + * @ORM\SequenceGenerator(sequenceName="nomenclatura_nota_id_seq", allocationSize=1, initialValue=1) | |
| 36 | + */ | |
| 37 | + private $id; | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + /** | |
| 44 | + * Set nombre | |
| 45 | + * | |
| 46 | + * @param string $nombre | |
| 47 | + * @return NomenclaturaNota | |
| 48 | + */ | |
| 49 | + public function setNombre($nombre) | |
| 50 | + { | |
| 51 | + $this->nombre = $nombre; | |
| 52 | + | |
| 53 | + return $this; | |
| 54 | + } | |
| 55 | + | |
| 56 | + /** | |
| 57 | + * Get nombre | |
| 58 | + * | |
| 59 | + * @return string | |
| 60 | + */ | |
| 61 | + public function getNombre() | |
| 62 | + { | |
| 63 | + return $this->nombre; | |
| 64 | + } | |
| 65 | + | |
| 66 | + /** | |
| 67 | + * Set descripcion | |
| 68 | + * | |
| 69 | + * @param string $descripcion | |
| 70 | + * @return NomenclaturaNota | |
| 71 | + */ | |
| 72 | + public function setDescripcion($descripcion) | |
| 73 | + { | |
| 74 | + $this->descripcion = $descripcion; | |
| 75 | + | |
| 76 | + return $this; | |
| 77 | + } | |
| 78 | + | |
| 79 | + /** | |
| 80 | + * Get descripcion | |
| 81 | + * | |
| 82 | + * @return string | |
| 83 | + */ | |
| 84 | + public function getDescripcion() | |
| 85 | + { | |
| 86 | + return $this->descripcion; | |
| 87 | + } | |
| 88 | + | |
| 89 | + /** | |
| 90 | + * Get id | |
| 91 | + * | |
| 92 | + * @return integer | |
| 93 | + */ | |
| 94 | + public function getId() | |
| 95 | + { | |
| 96 | + return $this->id; | |
| 97 | + } | |
| 98 | +} | ... | ... |
src/AppBundle/Entity/NomenclaturaNota.php~
| ... | ... | @@ -0,0 +1,42 @@ |
| 1 | +<?php | |
| 2 | + | |
| 3 | +namespace AppBundle\Entity; | |
| 4 | + | |
| 5 | +use Doctrine\ORM\Mapping as ORM; | |
| 6 | + | |
| 7 | +/** | |
| 8 | + * NomenclaturaNota | |
| 9 | + * | |
| 10 | + * @ORM\Table(name="nomenclatura_nota", uniqueConstraints={@ORM\UniqueConstraint(name="uq_descripcion_nomenclatura_nota", columns={"descripcion"}), @ORM\UniqueConstraint(name="uq_nombre_nomenclatura_nota", columns={"nombre"})}) | |
| 11 | + * @ORM\Entity | |
| 12 | + */ | |
| 13 | +class NomenclaturaNota | |
| 14 | +{ | |
| 15 | + /** | |
| 16 | + * @var string | |
| 17 | + * | |
| 18 | + * @ORM\Column(name="nombre", type="string", nullable=false, options={"comment" = "Nombre de la nomenclatura"}) | |
| 19 | + */ | |
| 20 | + private $nombre; | |
| 21 | + | |
| 22 | + /** | |
| 23 | + * @var string | |
| 24 | + * | |
| 25 | + * @ORM\Column(name="descripcion", type="string", nullable=false, options={"comment" = "Descripcion de la nomenclatura"}) | |
| 26 | + */ | |
| 27 | + private $descripcion; | |
| 28 | + | |
| 29 | + /** | |
| 30 | + * @var integer | |
| 31 | + * | |
| 32 | + * @ORM\Column(name="id", type="integer", nullable=false, options={"comment" = "Identificador de la nomenclatura"}) | |
| 33 | + * @ORM\Id | |
| 34 | + * @ORM\GeneratedValue(strategy="IDENTITY") | |
| 35 | + * @ORM\SequenceGenerator(sequenceName="nomenclatura_nota_id_seq", allocationSize=1, initialValue=1) | |
| 36 | + */ | |
| 37 | + private $id; | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | +} | |
| 0 | 43 | \ No newline at end of file | ... | ... |
src/AppBundle/Entity/Nota.php
| ... | ... | @@ -0,0 +1,106 @@ |
| 1 | +<?php | |
| 2 | + | |
| 3 | +namespace AppBundle\Entity; | |
| 4 | + | |
| 5 | +use Doctrine\ORM\Mapping as ORM; | |
| 6 | + | |
| 7 | +/** | |
| 8 | + * Nota | |
| 9 | + * | |
| 10 | + * @ORM\Table(name="nota", indexes={@ORM\Index(name="fki_id_escala_nota", columns={"id_escala"}), @ORM\Index(name="IDX_C8D03E0D66B9A058", columns={"id_nomenclatura_nota"})}) | |
| 11 | + * @ORM\Entity | |
| 12 | + */ | |
| 13 | +class Nota | |
| 14 | +{ | |
| 15 | + /** | |
| 16 | + * @var integer | |
| 17 | + * | |
| 18 | + * @ORM\Column(name="id", type="integer", nullable=false, options={"comment" = "Identificador de la nota"}) | |
| 19 | + * @ORM\Id | |
| 20 | + * @ORM\GeneratedValue(strategy="IDENTITY") | |
| 21 | + * @ORM\SequenceGenerator(sequenceName="nota_id_seq", allocationSize=1, initialValue=1) | |
| 22 | + */ | |
| 23 | + private $id; | |
| 24 | + | |
| 25 | + /** | |
| 26 | + * @var \AppBundle\Entity\NomenclaturaNota | |
| 27 | + * | |
| 28 | + * @ORM\ManyToOne(targetEntity="AppBundle\Entity\NomenclaturaNota") | |
| 29 | + * @ORM\JoinColumns({ | |
| 30 | + * @ORM\JoinColumn(name="id_nomenclatura_nota", referencedColumnName="id", nullable=false) | |
| 31 | + * }) | |
| 32 | + */ | |
| 33 | + private $idNomenclaturaNota; | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + /** | |
| 38 | + * @var \AppBundle\Entity\Escala | |
| 39 | + * | |
| 40 | + * @ORM\ManyToOne(targetEntity="AppBundle\Entity\Escala") | |
| 41 | + * @ORM\JoinColumns({ | |
| 42 | + * @ORM\JoinColumn(name="id_escala", referencedColumnName="id", nullable=false) | |
| 43 | + * }) | |
| 44 | + */ | |
| 45 | + private $idEscala; | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + /** | |
| 52 | + * Get id | |
| 53 | + * | |
| 54 | + * @return integer | |
| 55 | + */ | |
| 56 | + public function getId() | |
| 57 | + { | |
| 58 | + return $this->id; | |
| 59 | + } | |
| 60 | + | |
| 61 | + /** | |
| 62 | + * Set idNomenclaturaNota | |
| 63 | + * | |
| 64 | + * @param \AppBundle\Entity\NomenclaturaNota $idNomenclaturaNota | |
| 65 | + * @return Nota | |
| 66 | + */ | |
| 67 | + public function setIdNomenclaturaNota(\AppBundle\Entity\NomenclaturaNota $idNomenclaturaNota) | |
| 68 | + { | |
| 69 | + $this->idNomenclaturaNota = $idNomenclaturaNota; | |
| 70 | + | |
| 71 | + return $this; | |
| 72 | + } | |
| 73 | + | |
| 74 | + /** | |
| 75 | + * Get idNomenclaturaNota | |
| 76 | + * | |
| 77 | + * @return \AppBundle\Entity\NomenclaturaNota | |
| 78 | + */ | |
| 79 | + public function getIdNomenclaturaNota() | |
| 80 | + { | |
| 81 | + return $this->idNomenclaturaNota; | |
| 82 | + } | |
| 83 | + | |
| 84 | + /** | |
| 85 | + * Set idEscala | |
| 86 | + * | |
| 87 | + * @param \AppBundle\Entity\Escala $idEscala | |
| 88 | + * @return Nota | |
| 89 | + */ | |
| 90 | + public function setIdEscala(\AppBundle\Entity\Escala $idEscala) | |
| 91 | + { | |
| 92 | + $this->idEscala = $idEscala; | |
| 93 | + | |
| 94 | + return $this; | |
| 95 | + } | |
| 96 | + | |
| 97 | + /** | |
| 98 | + * Get idEscala | |
| 99 | + * | |
| 100 | + * @return \AppBundle\Entity\Escala | |
| 101 | + */ | |
| 102 | + public function getIdEscala() | |
| 103 | + { | |
| 104 | + return $this->idEscala; | |
| 105 | + } | |
| 106 | +} | ... | ... |
src/AppBundle/Entity/Nota.php~
| ... | ... | @@ -0,0 +1,50 @@ |
| 1 | +<?php | |
| 2 | + | |
| 3 | +namespace AppBundle\Entity; | |
| 4 | + | |
| 5 | +use Doctrine\ORM\Mapping as ORM; | |
| 6 | + | |
| 7 | +/** | |
| 8 | + * Nota | |
| 9 | + * | |
| 10 | + * @ORM\Table(name="nota", indexes={@ORM\Index(name="fki_id_escala_nota", columns={"id_escala"}), @ORM\Index(name="IDX_C8D03E0D66B9A058", columns={"id_nomenclatura_nota"})}) | |
| 11 | + * @ORM\Entity | |
| 12 | + */ | |
| 13 | +class Nota | |
| 14 | +{ | |
| 15 | + /** | |
| 16 | + * @var integer | |
| 17 | + * | |
| 18 | + * @ORM\Column(name="id", type="integer", nullable=false, options={"comment" = "Identificador de la nota"}) | |
| 19 | + * @ORM\Id | |
| 20 | + * @ORM\GeneratedValue(strategy="IDENTITY") | |
| 21 | + * @ORM\SequenceGenerator(sequenceName="nota_id_seq", allocationSize=1, initialValue=1) | |
| 22 | + */ | |
| 23 | + private $id; | |
| 24 | + | |
| 25 | + /** | |
| 26 | + * @var \AppBundle\Entity\NomenclaturaNota | |
| 27 | + * | |
| 28 | + * @ORM\ManyToOne(targetEntity="AppBundle\Entity\NomenclaturaNota") | |
| 29 | + * @ORM\JoinColumns({ | |
| 30 | + * @ORM\JoinColumn(name="id_nomenclatura_nota", referencedColumnName="id", nullable=false) | |
| 31 | + * }) | |
| 32 | + */ | |
| 33 | + private $idNomenclaturaNota; | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + /** | |
| 38 | + * @var \AppBundle\Entity\Escala | |
| 39 | + * | |
| 40 | + * @ORM\ManyToOne(targetEntity="AppBundle\Entity\Escala") | |
| 41 | + * @ORM\JoinColumns({ | |
| 42 | + * @ORM\JoinColumn(name="id_escala", referencedColumnName="id", nullable=false) | |
| 43 | + * }) | |
| 44 | + */ | |
| 45 | + private $idEscala; | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | +} | |
| 0 | 51 | \ No newline at end of file | ... | ... |
src/AppBundle/Entity/PlanificacionCalificacion.php
| ... | ... | @@ -0,0 +1,172 @@ |
| 1 | +<?php | |
| 2 | + | |
| 3 | +namespace AppBundle\Entity; | |
| 4 | + | |
| 5 | +use Doctrine\ORM\Mapping as ORM; | |
| 6 | + | |
| 7 | +/** | |
| 8 | + * PlanificacionCalificacion | |
| 9 | + * | |
| 10 | + * @ORM\Table(name="planificacion_calificacion", uniqueConstraints={@ORM\UniqueConstraint(name="i_registro_nota_planificacion", columns={"id_inscripcion", "id_calificacion", "id_planificacion_seccion"})}, indexes={@ORM\Index(name="fki_id_inscripcion_planificacion", columns={"id_inscripcion"}), @ORM\Index(name="fki_id_calificacion_planificacion", columns={"id_calificacion"}), @ORM\Index(name="fki_id_estatus_nota_planificacion", columns={"id_estatus_nota"}), @ORM\Index(name="fki_id_planificacion_seccion", columns={"id_planificacion_seccion"})}) | |
| 11 | + * @ORM\Entity | |
| 12 | + */ | |
| 13 | +class PlanificacionCalificacion | |
| 14 | +{ | |
| 15 | + /** | |
| 16 | + * @var integer | |
| 17 | + * | |
| 18 | + * @ORM\Column(name="id", type="integer", nullable=false, options={"comment"= "identificador del registro de la nota"}) | |
| 19 | + * @ORM\Id | |
| 20 | + * @ORM\GeneratedValue(strategy="IDENTITY") | |
| 21 | + * @ORM\SequenceGenerator(sequenceName="registro_nota_id_seq", allocationSize=1, initialValue=1) | |
| 22 | + */ | |
| 23 | + private $id; | |
| 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 \AppBundle\Entity\Inscripcion | |
| 38 | + * | |
| 39 | + * @ORM\ManyToOne(targetEntity="AppBundle\Entity\Inscripcion") | |
| 40 | + * @ORM\JoinColumns({ | |
| 41 | + * @ORM\JoinColumn(name="id_inscripcion", referencedColumnName="id", nullable=false) | |
| 42 | + * }) | |
| 43 | + */ | |
| 44 | + private $idInscripcion; | |
| 45 | + | |
| 46 | + /** | |
| 47 | + * @var \AppBundle\Entity\Calificacion | |
| 48 | + * | |
| 49 | + * @ORM\ManyToOne(targetEntity="AppBundle\Entity\Calificacion") | |
| 50 | + * @ORM\JoinColumns({ | |
| 51 | + * @ORM\JoinColumn(name="id_calificacion", referencedColumnName="id", nullable=false) | |
| 52 | + * }) | |
| 53 | + */ | |
| 54 | + private $idCalificacion; | |
| 55 | + | |
| 56 | + | |
| 57 | + /** | |
| 58 | + * @var \AppBundle\Entity\EstatusNota | |
| 59 | + * | |
| 60 | + * @ORM\ManyToOne(targetEntity="AppBundle\Entity\EstatusNota") | |
| 61 | + * @ORM\JoinColumns({ | |
| 62 | + * @ORM\JoinColumn(name="id_estatus_nota", referencedColumnName="id", nullable=false) | |
| 63 | + * }) | |
| 64 | + */ | |
| 65 | + private $idEstatusNota; | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + /** | |
| 72 | + * Get id | |
| 73 | + * | |
| 74 | + * @return integer | |
| 75 | + */ | |
| 76 | + public function getId() | |
| 77 | + { | |
| 78 | + return $this->id; | |
| 79 | + } | |
| 80 | + | |
| 81 | + /** | |
| 82 | + * Set idPlanificacionSeccion | |
| 83 | + * | |
| 84 | + * @param \AppBundle\Entity\PlanificacionSeccion $idPlanificacionSeccion | |
| 85 | + * @return PlanificacionCalificacion | |
| 86 | + */ | |
| 87 | + public function setIdPlanificacionSeccion(\AppBundle\Entity\PlanificacionSeccion $idPlanificacionSeccion) | |
| 88 | + { | |
| 89 | + $this->idPlanificacionSeccion = $idPlanificacionSeccion; | |
| 90 | + | |
| 91 | + return $this; | |
| 92 | + } | |
| 93 | + | |
| 94 | + /** | |
| 95 | + * Get idPlanificacionSeccion | |
| 96 | + * | |
| 97 | + * @return \AppBundle\Entity\PlanificacionSeccion | |
| 98 | + */ | |
| 99 | + public function getIdPlanificacionSeccion() | |
| 100 | + { | |
| 101 | + return $this->idPlanificacionSeccion; | |
| 102 | + } | |
| 103 | + | |
| 104 | + /** | |
| 105 | + * Set idInscripcion | |
| 106 | + * | |
| 107 | + * @param \AppBundle\Entity\Inscripcion $idInscripcion | |
| 108 | + * @return PlanificacionCalificacion | |
| 109 | + */ | |
| 110 | + public function setIdInscripcion(\AppBundle\Entity\Inscripcion $idInscripcion) | |
| 111 | + { | |
| 112 | + $this->idInscripcion = $idInscripcion; | |
| 113 | + | |
| 114 | + return $this; | |
| 115 | + } | |
| 116 | + | |
| 117 | + /** | |
| 118 | + * Get idInscripcion | |
| 119 | + * | |
| 120 | + * @return \AppBundle\Entity\Inscripcion | |
| 121 | + */ | |
| 122 | + public function getIdInscripcion() | |
| 123 | + { | |
| 124 | + return $this->idInscripcion; | |
| 125 | + } | |
| 126 | + | |
| 127 | + /** | |
| 128 | + * Set idCalificacion | |
| 129 | + * | |
| 130 | + * @param \AppBundle\Entity\Calificacion $idCalificacion | |
| 131 | + * @return PlanificacionCalificacion | |
| 132 | + */ | |
| 133 | + public function setIdCalificacion(\AppBundle\Entity\Calificacion $idCalificacion) | |
| 134 | + { | |
| 135 | + $this->idCalificacion = $idCalificacion; | |
| 136 | + | |
| 137 | + return $this; | |
| 138 | + } | |
| 139 | + | |
| 140 | + /** | |
| 141 | + * Get idCalificacion | |
| 142 | + * | |
| 143 | + * @return \AppBundle\Entity\Calificacion | |
| 144 | + */ | |
| 145 | + public function getIdCalificacion() | |
| 146 | + { | |
| 147 | + return $this->idCalificacion; | |
| 148 | + } | |
| 149 | + | |
| 150 | + /** | |
| 151 | + * Set idEstatusNota | |
| 152 | + * | |
| 153 | + * @param \AppBundle\Entity\EstatusNota $idEstatusNota | |
| 154 | + * @return PlanificacionCalificacion | |
| 155 | + */ | |
| 156 | + public function setIdEstatusNota(\AppBundle\Entity\EstatusNota $idEstatusNota) | |
| 157 | + { | |
| 158 | + $this->idEstatusNota = $idEstatusNota; | |
| 159 | + | |
| 160 | + return $this; | |
| 161 | + } | |
| 162 | + | |
| 163 | + /** | |
| 164 | + * Get idEstatusNota | |
| 165 | + * | |
| 166 | + * @return \AppBundle\Entity\EstatusNota | |
| 167 | + */ | |
| 168 | + public function getIdEstatusNota() | |
| 169 | + { | |
| 170 | + return $this->idEstatusNota; | |
| 171 | + } | |
| 172 | +} | ... | ... |
src/AppBundle/Entity/PlanificacionCalificacion.php~
| ... | ... | @@ -0,0 +1,70 @@ |
| 1 | +<?php | |
| 2 | + | |
| 3 | +namespace AppBundle\Entity; | |
| 4 | + | |
| 5 | +use Doctrine\ORM\Mapping as ORM; | |
| 6 | + | |
| 7 | +/** | |
| 8 | + * PlanificacionCalificacion | |
| 9 | + * | |
| 10 | + * @ORM\Table(name="planificacion_calificacion", uniqueConstraints={@ORM\UniqueConstraint(name="i_registro_nota", columns={"id_inscripcion", "id_calificacion"})}, indexes={@ORM\Index(name="fki_id_inscripcion", columns={"id_inscripcion"}), @ORM\Index(name="fki_id_calificacion", columns={"id_calificacion"}), @ORM\Index(name="fki_id_estatus_nota", columns={"id_estatus_nota"}), @ORM\Index(name="fki_id_planificacion_seccion", columns={"id_planificacion_seccion"})}) | |
| 11 | + * @ORM\Entity | |
| 12 | + */ | |
| 13 | +class PlanificacionCalificacion | |
| 14 | +{ | |
| 15 | + /** | |
| 16 | + * @var integer | |
| 17 | + * | |
| 18 | + * @ORM\Column(name="id", type="integer", nullable=false, options={"comment"= "identificador del registro de la nota"}) | |
| 19 | + * @ORM\Id | |
| 20 | + * @ORM\GeneratedValue(strategy="IDENTITY") | |
| 21 | + * @ORM\SequenceGenerator(sequenceName="registro_nota_id_seq", allocationSize=1, initialValue=1) | |
| 22 | + */ | |
| 23 | + private $id; | |
| 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 \AppBundle\Entity\Inscripcion | |
| 38 | + * | |
| 39 | + * @ORM\ManyToOne(targetEntity="AppBundle\Entity\Inscripcion") | |
| 40 | + * @ORM\JoinColumns({ | |
| 41 | + * @ORM\JoinColumn(name="id_inscripcion", referencedColumnName="id", nullable=false) | |
| 42 | + * }) | |
| 43 | + */ | |
| 44 | + private $idInscripcion; | |
| 45 | + | |
| 46 | + /** | |
| 47 | + * @var \AppBundle\Entity\Calificacion | |
| 48 | + * | |
| 49 | + * @ORM\ManyToOne(targetEntity="AppBundle\Entity\Calificacion") | |
| 50 | + * @ORM\JoinColumns({ | |
| 51 | + * @ORM\JoinColumn(name="id_calificacion", referencedColumnName="id", nullable=false) | |
| 52 | + * }) | |
| 53 | + */ | |
| 54 | + private $idCalificacion; | |
| 55 | + | |
| 56 | + | |
| 57 | + /** | |
| 58 | + * @var \AppBundle\Entity\EstatusNota | |
| 59 | + * | |
| 60 | + * @ORM\ManyToOne(targetEntity="AppBundle\Entity\EstatusNota") | |
| 61 | + * @ORM\JoinColumns({ | |
| 62 | + * @ORM\JoinColumn(name="id_estatus_nota", referencedColumnName="id", nullable=false) | |
| 63 | + * }) | |
| 64 | + */ | |
| 65 | + private $idEstatusNota; | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | +} | ... | ... |
src/AppBundle/Entity/Porcentaje.php
| ... | ... | @@ -0,0 +1,74 @@ |
| 1 | +<?php | |
| 2 | + | |
| 3 | +namespace AppBundle\Entity; | |
| 4 | + | |
| 5 | +use Doctrine\ORM\Mapping as ORM; | |
| 6 | + | |
| 7 | +/** | |
| 8 | + * Porcentaje | |
| 9 | + * | |
| 10 | + * @ORM\Table(name="porcentaje", uniqueConstraints={@ORM\UniqueConstraint(name="uq_nombre_porcentaje", columns={"nombre"})}) | |
| 11 | + * @ORM\Entity | |
| 12 | + */ | |
| 13 | +class Porcentaje | |
| 14 | +{ | |
| 15 | + /** | |
| 16 | + * @var string | |
| 17 | + * | |
| 18 | + * @ORM\Column(name="nombre", type="string", nullable=false, options={"comment" = "registro de todos y cada uno de los porcentajes"}) | |
| 19 | + */ | |
| 20 | + private $nombre; | |
| 21 | + | |
| 22 | + /** | |
| 23 | + * @var integer | |
| 24 | + * | |
| 25 | + * @ORM\Column(name="id", type="integer", nullable=false, options={"comment" = "identificador de los porcentajes"}) | |
| 26 | + * @ORM\Id | |
| 27 | + * @ORM\GeneratedValue(strategy="IDENTITY") | |
| 28 | + * @ORM\SequenceGenerator(sequenceName="porcentaje_id_seq", allocationSize=1, initialValue=1) | |
| 29 | + */ | |
| 30 | + private $id; | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + /** | |
| 35 | + * Set nombre | |
| 36 | + * | |
| 37 | + * @param string $nombre | |
| 38 | + * @return Porcentaje | |
| 39 | + */ | |
| 40 | + public function setNombre($nombre) | |
| 41 | + { | |
| 42 | + $this->nombre = $nombre; | |
| 43 | + | |
| 44 | + return $this; | |
| 45 | + } | |
| 46 | + | |
| 47 | + /** | |
| 48 | + * Get nombre | |
| 49 | + * | |
| 50 | + * @return string | |
| 51 | + */ | |
| 52 | + public function getNombre() | |
| 53 | + { | |
| 54 | + return $this->nombre; | |
| 55 | + } | |
| 56 | + | |
| 57 | + /** | |
| 58 | + * Get id | |
| 59 | + * | |
| 60 | + * @return integer | |
| 61 | + */ | |
| 62 | + public function getId() | |
| 63 | + { | |
| 64 | + return $this->id; | |
| 65 | + } | |
| 66 | + | |
| 67 | + /** | |
| 68 | + * @return string | |
| 69 | + */ | |
| 70 | + public function __toString() | |
| 71 | + { | |
| 72 | + return $this->getNombre(); | |
| 73 | + } | |
| 74 | +} | |
| 0 | 75 | \ No newline at end of file | ... | ... |