Commit 5a1880862a837407b43c8647a1c6b2274aecf8d5
1 parent
63fa79cb2c
Exists in
feature/pruebas
and in
8 other branches
agregando entidades al proyecto
Showing
23 changed files
with
1598 additions
and
1 deletions
Show diff stats
app/config/config.yml
| @@ -39,7 +39,7 @@ twig: | @@ -39,7 +39,7 @@ twig: | ||
| 39 | # Doctrine Configuration | 39 | # Doctrine Configuration |
| 40 | doctrine: | 40 | doctrine: |
| 41 | dbal: | 41 | dbal: |
| 42 | - driver: pdo_mysql | 42 | + driver: pdo_pgsql |
| 43 | host: '%database_host%' | 43 | host: '%database_host%' |
| 44 | port: '%database_port%' | 44 | port: '%database_port%' |
| 45 | dbname: '%database_name%' | 45 | dbname: '%database_name%' |
src/UBV/PracticaBundle/Entity/Banco.php
| @@ -0,0 +1,97 @@ | @@ -0,0 +1,97 @@ | ||
| 1 | +<?php | ||
| 2 | + | ||
| 3 | +namespace UBV\PracticaBundle\Entity; | ||
| 4 | + | ||
| 5 | +use Doctrine\ORM\Mapping as ORM; | ||
| 6 | + | ||
| 7 | +/** | ||
| 8 | + * Banco | ||
| 9 | + * | ||
| 10 | + * @ORM\Table(name="banco") | ||
| 11 | + * @ORM\Entity(repositoryClass="UBV\PracticaBundle\Repository\BancoRepository") | ||
| 12 | + */ | ||
| 13 | +class Banco | ||
| 14 | +{ | ||
| 15 | + /** | ||
| 16 | + * @var int | ||
| 17 | + * | ||
| 18 | + * @ORM\Column(name="id", type="integer") | ||
| 19 | + * @ORM\Id | ||
| 20 | + * @ORM\GeneratedValue(strategy="AUTO") | ||
| 21 | + */ | ||
| 22 | + private $id; | ||
| 23 | + | ||
| 24 | + /** | ||
| 25 | + * @var string | ||
| 26 | + * | ||
| 27 | + * @ORM\Column(name="descripcion", type="string", length=255) | ||
| 28 | + */ | ||
| 29 | + private $descripcion; | ||
| 30 | + | ||
| 31 | + /** | ||
| 32 | + * @var int | ||
| 33 | + * | ||
| 34 | + * @ORM\Column(name="codigo", type="integer") | ||
| 35 | + */ | ||
| 36 | + private $codigo; | ||
| 37 | + | ||
| 38 | + | ||
| 39 | + /** | ||
| 40 | + * Get id | ||
| 41 | + * | ||
| 42 | + * @return int | ||
| 43 | + */ | ||
| 44 | + public function getId() | ||
| 45 | + { | ||
| 46 | + return $this->id; | ||
| 47 | + } | ||
| 48 | + | ||
| 49 | + /** | ||
| 50 | + * Set descripcion | ||
| 51 | + * | ||
| 52 | + * @param string $descripcion | ||
| 53 | + * | ||
| 54 | + * @return Banco | ||
| 55 | + */ | ||
| 56 | + public function setDescripcion($descripcion) | ||
| 57 | + { | ||
| 58 | + $this->descripcion = $descripcion; | ||
| 59 | + | ||
| 60 | + return $this; | ||
| 61 | + } | ||
| 62 | + | ||
| 63 | + /** | ||
| 64 | + * Get descripcion | ||
| 65 | + * | ||
| 66 | + * @return string | ||
| 67 | + */ | ||
| 68 | + public function getDescripcion() | ||
| 69 | + { | ||
| 70 | + return $this->descripcion; | ||
| 71 | + } | ||
| 72 | + | ||
| 73 | + /** | ||
| 74 | + * Set codigo | ||
| 75 | + * | ||
| 76 | + * @param integer $codigo | ||
| 77 | + * | ||
| 78 | + * @return Banco | ||
| 79 | + */ | ||
| 80 | + public function setCodigo($codigo) | ||
| 81 | + { | ||
| 82 | + $this->codigo = $codigo; | ||
| 83 | + | ||
| 84 | + return $this; | ||
| 85 | + } | ||
| 86 | + | ||
| 87 | + /** | ||
| 88 | + * Get codigo | ||
| 89 | + * | ||
| 90 | + * @return int | ||
| 91 | + */ | ||
| 92 | + public function getCodigo() | ||
| 93 | + { | ||
| 94 | + return $this->codigo; | ||
| 95 | + } | ||
| 96 | +} | ||
| 97 | + |
src/UBV/PracticaBundle/Entity/EjeMunicipal.php
| @@ -0,0 +1,171 @@ | @@ -0,0 +1,171 @@ | ||
| 1 | +<?php | ||
| 2 | + | ||
| 3 | +namespace UBV\SurUbvBundle\Entity; | ||
| 4 | + | ||
| 5 | +use Doctrine\ORM\Mapping as ORM; | ||
| 6 | +use Doctrine\Common\Collections\ArrayCollection; | ||
| 7 | + | ||
| 8 | +/** | ||
| 9 | + * UBV\SurUbvBundle\Entity\EjeMunicipal | ||
| 10 | + * | ||
| 11 | + * @ORM\Entity(repositoryClass="UBV\SurUbvBundle\Entity\EjeMunicipalRepository") | ||
| 12 | + * @ORM\Table(name="eje_municipal", indexes={@ORM\Index(name="fk_eje_municipal_eje_regional1_idx", columns={"eje_regional_id"})}, uniqueConstraints={@ORM\UniqueConstraint(name="id_eje_municipal_UNIQUE", columns={"id"})}) | ||
| 13 | + */ | ||
| 14 | +class EjeMunicipal | ||
| 15 | +{ | ||
| 16 | + /** | ||
| 17 | + * @ORM\Id | ||
| 18 | + * @ORM\Column(type="integer") | ||
| 19 | + * @ORM\GeneratedValue(strategy="IDENTITY") | ||
| 20 | + * @ORM\SequenceGenerator(sequenceName="eje_municipal_id_seq", allocationSize=1, initialValue=1) | ||
| 21 | + */ | ||
| 22 | + protected $id; | ||
| 23 | + | ||
| 24 | + /** | ||
| 25 | + * @ORM\Column(type="string", length=70) | ||
| 26 | + */ | ||
| 27 | + protected $descripcion; | ||
| 28 | + | ||
| 29 | + /** | ||
| 30 | + * @ORM\Column(type="string", length=15) | ||
| 31 | + */ | ||
| 32 | + protected $codigo; | ||
| 33 | + | ||
| 34 | + /** | ||
| 35 | + * @ORM\OneToMany(targetEntity="Parroquia", mappedBy="ejeMunicipal") | ||
| 36 | + * @ORM\JoinColumn(name="id", referencedColumnName="eje_municipal_id", nullable=false) | ||
| 37 | + */ | ||
| 38 | + protected $parroquias; | ||
| 39 | + | ||
| 40 | + /** | ||
| 41 | + * @ORM\ManyToOne(targetEntity="EjeRegional", inversedBy="ejeMunicipals", cascade={"persist", "remove"}) | ||
| 42 | + * @ORM\JoinColumn(name="eje_regional_id", referencedColumnName="id", nullable=false) | ||
| 43 | + */ | ||
| 44 | + protected $ejeRegional; | ||
| 45 | + | ||
| 46 | + public function __construct() | ||
| 47 | + { | ||
| 48 | + $this->parroquias = new ArrayCollection(); | ||
| 49 | + } | ||
| 50 | + | ||
| 51 | + public function __sleep() | ||
| 52 | + { | ||
| 53 | + return array('id', 'descripcion', 'codigo', 'eje_regional_id'); | ||
| 54 | + } | ||
| 55 | + | ||
| 56 | + /** | ||
| 57 | + * Get id | ||
| 58 | + * | ||
| 59 | + * @return integer | ||
| 60 | + */ | ||
| 61 | + public function getId() | ||
| 62 | + { | ||
| 63 | + return $this->id; | ||
| 64 | + } | ||
| 65 | + | ||
| 66 | + /** | ||
| 67 | + * Set descripcion | ||
| 68 | + * | ||
| 69 | + * @param string $descripcion | ||
| 70 | + * @return EjeMunicipal | ||
| 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 | + * Set codigo | ||
| 91 | + * | ||
| 92 | + * @param string $codigo | ||
| 93 | + * @return EjeMunicipal | ||
| 94 | + */ | ||
| 95 | + public function setCodigo($codigo) | ||
| 96 | + { | ||
| 97 | + $this->codigo = $codigo; | ||
| 98 | + | ||
| 99 | + return $this; | ||
| 100 | + } | ||
| 101 | + | ||
| 102 | + /** | ||
| 103 | + * Get codigo | ||
| 104 | + * | ||
| 105 | + * @return string | ||
| 106 | + */ | ||
| 107 | + public function getCodigo() | ||
| 108 | + { | ||
| 109 | + return $this->codigo; | ||
| 110 | + } | ||
| 111 | + | ||
| 112 | + /** | ||
| 113 | + * Add parroquias | ||
| 114 | + * | ||
| 115 | + * @param \UBV\SurUbvBundle\Entity\Parroquia $parroquias | ||
| 116 | + * @return EjeMunicipal | ||
| 117 | + */ | ||
| 118 | + public function addParroquia(\UBV\SurUbvBundle\Entity\Parroquia $parroquias) | ||
| 119 | + { | ||
| 120 | + $this->parroquias[] = $parroquias; | ||
| 121 | + | ||
| 122 | + return $this; | ||
| 123 | + } | ||
| 124 | + | ||
| 125 | + /** | ||
| 126 | + * Remove parroquias | ||
| 127 | + * | ||
| 128 | + * @param \UBV\SurUbvBundle\Entity\Parroquia $parroquias | ||
| 129 | + */ | ||
| 130 | + public function removeParroquia(\UBV\SurUbvBundle\Entity\Parroquia $parroquias) | ||
| 131 | + { | ||
| 132 | + $this->parroquias->removeElement($parroquias); | ||
| 133 | + } | ||
| 134 | + | ||
| 135 | + /** | ||
| 136 | + * Get parroquias | ||
| 137 | + * | ||
| 138 | + * @return \Doctrine\Common\Collections\Collection | ||
| 139 | + */ | ||
| 140 | + public function getParroquias() | ||
| 141 | + { | ||
| 142 | + return $this->parroquias; | ||
| 143 | + } | ||
| 144 | + | ||
| 145 | + public function __toString() { | ||
| 146 | + return $this->getDescripcion(); | ||
| 147 | + } | ||
| 148 | + | ||
| 149 | + /** | ||
| 150 | + * Set ejeRegional | ||
| 151 | + * | ||
| 152 | + * @param \UBV\SurUbvBundle\Entity\EjeRegional $ejeRegional | ||
| 153 | + * @return EjeMunicipal | ||
| 154 | + */ | ||
| 155 | + public function setEjeRegional(\UBV\SurUbvBundle\Entity\EjeRegional $ejeRegional) | ||
| 156 | + { | ||
| 157 | + $this->ejeRegional = $ejeRegional; | ||
| 158 | + | ||
| 159 | + return $this; | ||
| 160 | + } | ||
| 161 | + | ||
| 162 | + /** | ||
| 163 | + * Get ejeRegional | ||
| 164 | + * | ||
| 165 | + * @return \UBV\SurUbvBundle\Entity\EjeRegional | ||
| 166 | + */ | ||
| 167 | + public function getEjeRegional() | ||
| 168 | + { | ||
| 169 | + return $this->ejeRegional; | ||
| 170 | + } | ||
| 171 | +} |
src/UBV/PracticaBundle/Entity/EjeRegional.php
| @@ -0,0 +1,171 @@ | @@ -0,0 +1,171 @@ | ||
| 1 | +<?php | ||
| 2 | + | ||
| 3 | +namespace UBV\SurUbvBundle\Entity; | ||
| 4 | + | ||
| 5 | +use Doctrine\ORM\Mapping as ORM; | ||
| 6 | +use Doctrine\Common\Collections\ArrayCollection; | ||
| 7 | + | ||
| 8 | +/** | ||
| 9 | + * UBV\SurUbvBundle\Entity\EjeRegional | ||
| 10 | + * | ||
| 11 | + * @ORM\Entity(repositoryClass="UBV\SurUbvBundle\Entity\EjeRegionalRepository") | ||
| 12 | + * @ORM\Table(name="eje_regional", uniqueConstraints={@ORM\UniqueConstraint(name="id_eje_regional_UNIQUE", columns={"id"})}) | ||
| 13 | + */ | ||
| 14 | +class EjeRegional | ||
| 15 | +{ | ||
| 16 | + /** | ||
| 17 | + * @ORM\Id | ||
| 18 | + * @ORM\Column(type="integer") | ||
| 19 | + * @ORM\GeneratedValue(strategy="IDENTITY") | ||
| 20 | + * @ORM\SequenceGenerator(sequenceName="eje_regional_id_seq", allocationSize=1, initialValue=1) | ||
| 21 | + */ | ||
| 22 | + protected $id; | ||
| 23 | + | ||
| 24 | + /** | ||
| 25 | + * @ORM\Column(type="string", length=70) | ||
| 26 | + */ | ||
| 27 | + protected $descripcion; | ||
| 28 | + | ||
| 29 | + /** | ||
| 30 | + * @ORM\Column(type="string", length=15) | ||
| 31 | + */ | ||
| 32 | + protected $codigo; | ||
| 33 | + | ||
| 34 | + /** | ||
| 35 | + * @ORM\OneToOne(targetEntity="Docente", mappedBy="ejeRegional") | ||
| 36 | + */ | ||
| 37 | + protected $docente; | ||
| 38 | + | ||
| 39 | + /** | ||
| 40 | + * @ORM\OneToMany(targetEntity="EjeMunicipal", mappedBy="ejeRegional", cascade={"persist", "remove"}) | ||
| 41 | + * @ORM\JoinColumn(name="id", referencedColumnName="eje_regional_id", nullable=false) | ||
| 42 | + */ | ||
| 43 | + protected $ejeMunicipals; | ||
| 44 | + | ||
| 45 | + public function __construct() | ||
| 46 | + { | ||
| 47 | + $this->docentes = new ArrayCollection(); | ||
| 48 | + $this->ejeMunicipals = new ArrayCollection(); | ||
| 49 | + } | ||
| 50 | + | ||
| 51 | + public function __sleep() | ||
| 52 | + { | ||
| 53 | + return array('id', 'descripcion', 'codigo'); | ||
| 54 | + } | ||
| 55 | + | ||
| 56 | + /** | ||
| 57 | + * Get id | ||
| 58 | + * | ||
| 59 | + * @return integer | ||
| 60 | + */ | ||
| 61 | + public function getId() | ||
| 62 | + { | ||
| 63 | + return $this->id; | ||
| 64 | + } | ||
| 65 | + | ||
| 66 | + /** | ||
| 67 | + * Set descripcion | ||
| 68 | + * | ||
| 69 | + * @param string $descripcion | ||
| 70 | + * @return EjeRegional | ||
| 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 | + * Set codigo | ||
| 91 | + * | ||
| 92 | + * @param string $codigo | ||
| 93 | + * @return EjeRegional | ||
| 94 | + */ | ||
| 95 | + public function setCodigo($codigo) | ||
| 96 | + { | ||
| 97 | + $this->codigo = $codigo; | ||
| 98 | + | ||
| 99 | + return $this; | ||
| 100 | + } | ||
| 101 | + | ||
| 102 | + /** | ||
| 103 | + * Get codigo | ||
| 104 | + * | ||
| 105 | + * @return string | ||
| 106 | + */ | ||
| 107 | + public function getCodigo() | ||
| 108 | + { | ||
| 109 | + return $this->codigo; | ||
| 110 | + } | ||
| 111 | + | ||
| 112 | + /** | ||
| 113 | + * Set docente | ||
| 114 | + * | ||
| 115 | + * @param \UBV\SurUbvBundle\Entity\Docente $docente | ||
| 116 | + * @return EjeRegional | ||
| 117 | + */ | ||
| 118 | + public function setDocente(\UBV\SurUbvBundle\Entity\Docente $docente = null) | ||
| 119 | + { | ||
| 120 | + $this->docente = $docente; | ||
| 121 | + | ||
| 122 | + return $this; | ||
| 123 | + } | ||
| 124 | + | ||
| 125 | + /** | ||
| 126 | + * Get docente | ||
| 127 | + * | ||
| 128 | + * @return \UBV\SurUbvBundle\Entity\Docente | ||
| 129 | + */ | ||
| 130 | + public function getDocente() | ||
| 131 | + { | ||
| 132 | + return $this->docente; | ||
| 133 | + } | ||
| 134 | + | ||
| 135 | + /** | ||
| 136 | + * Add ejeMunicipals | ||
| 137 | + * | ||
| 138 | + * @param \UBV\SurUbvBundle\Entity\EjeMunicipal $ejeMunicipals | ||
| 139 | + * @return EjeRegional | ||
| 140 | + */ | ||
| 141 | + public function addEjeMunicipal(\UBV\SurUbvBundle\Entity\EjeMunicipal $ejeMunicipals) | ||
| 142 | + { | ||
| 143 | + $this->ejeMunicipals[] = $ejeMunicipals; | ||
| 144 | + | ||
| 145 | + return $this; | ||
| 146 | + } | ||
| 147 | + | ||
| 148 | + /** | ||
| 149 | + * Remove ejeMunicipals | ||
| 150 | + * | ||
| 151 | + * @param \UBV\SurUbvBundle\Entity\EjeMunicipal $ejeMunicipals | ||
| 152 | + */ | ||
| 153 | + public function removeEjeMunicipal(\UBV\SurUbvBundle\Entity\EjeMunicipal $ejeMunicipals) | ||
| 154 | + { | ||
| 155 | + $this->ejeMunicipals->removeElement($ejeMunicipals); | ||
| 156 | + } | ||
| 157 | + | ||
| 158 | + /** | ||
| 159 | + * Get ejeMunicipals | ||
| 160 | + * | ||
| 161 | + * @return \Doctrine\Common\Collections\Collection | ||
| 162 | + */ | ||
| 163 | + public function getEjeMunicipals() | ||
| 164 | + { | ||
| 165 | + return $this->ejeMunicipals; | ||
| 166 | + } | ||
| 167 | + | ||
| 168 | + public function __toString() { | ||
| 169 | + return $this->getDescripcion(); | ||
| 170 | + } | ||
| 171 | +} |
src/UBV/PracticaBundle/Entity/aldea.php
| @@ -0,0 +1,159 @@ | @@ -0,0 +1,159 @@ | ||
| 1 | +<?php | ||
| 2 | + | ||
| 3 | +namespace UBV\PracticaBundle\Entity; | ||
| 4 | + | ||
| 5 | +use Doctrine\ORM\Mapping as ORM; | ||
| 6 | + | ||
| 7 | +/** | ||
| 8 | + * aldea | ||
| 9 | + * | ||
| 10 | + * @ORM\Table(name="aldea") | ||
| 11 | + * @ORM\Entity(repositoryClass="UBV\PracticaBundle\Repository\aldeaRepository") | ||
| 12 | + */ | ||
| 13 | +class aldea | ||
| 14 | +{ | ||
| 15 | + /** | ||
| 16 | + * @var int | ||
| 17 | + * | ||
| 18 | + * @ORM\Column(name="id", type="integer") | ||
| 19 | + * @ORM\Id | ||
| 20 | + * @ORM\GeneratedValue(strategy="AUTO") | ||
| 21 | + */ | ||
| 22 | + private $id; | ||
| 23 | + | ||
| 24 | + /** | ||
| 25 | + * @var string | ||
| 26 | + * | ||
| 27 | + * @ORM\Column(name="descripcion", type="string", length=255) | ||
| 28 | + */ | ||
| 29 | + private $descripcion; | ||
| 30 | + | ||
| 31 | + /** | ||
| 32 | + * @var int | ||
| 33 | + * | ||
| 34 | + * @ORM\Column(name="codigo_sucre", type="integer") | ||
| 35 | + */ | ||
| 36 | + private $codigoSucre; | ||
| 37 | + | ||
| 38 | + /** | ||
| 39 | + * @var int | ||
| 40 | + * | ||
| 41 | + * @ORM\Column(name="codigo_aldea", type="integer") | ||
| 42 | + */ | ||
| 43 | + private $codigoAldea; | ||
| 44 | + | ||
| 45 | + /** | ||
| 46 | + * @var bool | ||
| 47 | + * | ||
| 48 | + * @ORM\Column(name="estatus", type="boolean") | ||
| 49 | + */ | ||
| 50 | + private $estatus; | ||
| 51 | + | ||
| 52 | + | ||
| 53 | + /** | ||
| 54 | + * Get id | ||
| 55 | + * | ||
| 56 | + * @return int | ||
| 57 | + */ | ||
| 58 | + public function getId() | ||
| 59 | + { | ||
| 60 | + return $this->id; | ||
| 61 | + } | ||
| 62 | + | ||
| 63 | + /** | ||
| 64 | + * Set descripcion | ||
| 65 | + * | ||
| 66 | + * @param string $descripcion | ||
| 67 | + * | ||
| 68 | + * @return aldea | ||
| 69 | + */ | ||
| 70 | + public function setDescripcion($descripcion) | ||
| 71 | + { | ||
| 72 | + $this->descripcion = $descripcion; | ||
| 73 | + | ||
| 74 | + return $this; | ||
| 75 | + } | ||
| 76 | + | ||
| 77 | + /** | ||
| 78 | + * Get descripcion | ||
| 79 | + * | ||
| 80 | + * @return string | ||
| 81 | + */ | ||
| 82 | + public function getDescripcion() | ||
| 83 | + { | ||
| 84 | + return $this->descripcion; | ||
| 85 | + } | ||
| 86 | + | ||
| 87 | + /** | ||
| 88 | + * Set codigoSucre | ||
| 89 | + * | ||
| 90 | + * @param integer $codigoSucre | ||
| 91 | + * | ||
| 92 | + * @return aldea | ||
| 93 | + */ | ||
| 94 | + public function setCodigoSucre($codigoSucre) | ||
| 95 | + { | ||
| 96 | + $this->codigoSucre = $codigoSucre; | ||
| 97 | + | ||
| 98 | + return $this; | ||
| 99 | + } | ||
| 100 | + | ||
| 101 | + /** | ||
| 102 | + * Get codigoSucre | ||
| 103 | + * | ||
| 104 | + * @return int | ||
| 105 | + */ | ||
| 106 | + public function getCodigoSucre() | ||
| 107 | + { | ||
| 108 | + return $this->codigoSucre; | ||
| 109 | + } | ||
| 110 | + | ||
| 111 | + /** | ||
| 112 | + * Set codigoAldea | ||
| 113 | + * | ||
| 114 | + * @param integer $codigoAldea | ||
| 115 | + * | ||
| 116 | + * @return aldea | ||
| 117 | + */ | ||
| 118 | + public function setCodigoAldea($codigoAldea) | ||
| 119 | + { | ||
| 120 | + $this->codigoAldea = $codigoAldea; | ||
| 121 | + | ||
| 122 | + return $this; | ||
| 123 | + } | ||
| 124 | + | ||
| 125 | + /** | ||
| 126 | + * Get codigoAldea | ||
| 127 | + * | ||
| 128 | + * @return int | ||
| 129 | + */ | ||
| 130 | + public function getCodigoAldea() | ||
| 131 | + { | ||
| 132 | + return $this->codigoAldea; | ||
| 133 | + } | ||
| 134 | + | ||
| 135 | + /** | ||
| 136 | + * Set estatus | ||
| 137 | + * | ||
| 138 | + * @param boolean $estatus | ||
| 139 | + * | ||
| 140 | + * @return aldea | ||
| 141 | + */ | ||
| 142 | + public function setEstatus($estatus) | ||
| 143 | + { | ||
| 144 | + $this->estatus = $estatus; | ||
| 145 | + | ||
| 146 | + return $this; | ||
| 147 | + } | ||
| 148 | + | ||
| 149 | + /** | ||
| 150 | + * Get estatus | ||
| 151 | + * | ||
| 152 | + * @return bool | ||
| 153 | + */ | ||
| 154 | + public function getEstatus() | ||
| 155 | + { | ||
| 156 | + return $this->estatus; | ||
| 157 | + } | ||
| 158 | +} | ||
| 159 | + |
src/UBV/PracticaBundle/Entity/ambiente.php
| @@ -0,0 +1,190 @@ | @@ -0,0 +1,190 @@ | ||
| 1 | +<?php | ||
| 2 | + | ||
| 3 | +namespace UBV\PracticaBundle\Entity; | ||
| 4 | + | ||
| 5 | +use Doctrine\ORM\Mapping as ORM; | ||
| 6 | + | ||
| 7 | +/** | ||
| 8 | + * ambiente | ||
| 9 | + * | ||
| 10 | + * @ORM\Table(name="ambiente") | ||
| 11 | + * @ORM\Entity(repositoryClass="UBV\PracticaBundle\Repository\ambienteRepository") | ||
| 12 | + */ | ||
| 13 | +class ambiente | ||
| 14 | +{ | ||
| 15 | + /** | ||
| 16 | + * @var int | ||
| 17 | + * | ||
| 18 | + * @ORM\Column(name="id", type="integer") | ||
| 19 | + * @ORM\Id | ||
| 20 | + * @ORM\GeneratedValue(strategy="AUTO") | ||
| 21 | + */ | ||
| 22 | + private $id; | ||
| 23 | + | ||
| 24 | + /** | ||
| 25 | + * @var string | ||
| 26 | + * | ||
| 27 | + * @ORM\Column(name="descripcion", type="string", length=255) | ||
| 28 | + */ | ||
| 29 | + private $descripcion; | ||
| 30 | + | ||
| 31 | + /** | ||
| 32 | + * @var int | ||
| 33 | + * | ||
| 34 | + * @ORM\Column(name="codigo", type="integer") | ||
| 35 | + */ | ||
| 36 | + private $codigo; | ||
| 37 | + | ||
| 38 | + /** | ||
| 39 | + * @var string | ||
| 40 | + * | ||
| 41 | + * @ORM\Column(name="direccion", type="string", length=255) | ||
| 42 | + */ | ||
| 43 | + private $direccion; | ||
| 44 | + | ||
| 45 | + /** | ||
| 46 | + * @var int | ||
| 47 | + * | ||
| 48 | + * @ORM\Column(name="coordenada_utm_norte", type="integer") | ||
| 49 | + */ | ||
| 50 | + private $coordenadaUtmNorte; | ||
| 51 | + | ||
| 52 | + /** | ||
| 53 | + * @var int | ||
| 54 | + * | ||
| 55 | + * @ORM\Column(name="coordenada_utm_oeste", type="integer") | ||
| 56 | + */ | ||
| 57 | + private $coordenadaUtmOeste; | ||
| 58 | + | ||
| 59 | + | ||
| 60 | + /** | ||
| 61 | + * Get id | ||
| 62 | + * | ||
| 63 | + * @return int | ||
| 64 | + */ | ||
| 65 | + public function getId() | ||
| 66 | + { | ||
| 67 | + return $this->id; | ||
| 68 | + } | ||
| 69 | + | ||
| 70 | + /** | ||
| 71 | + * Set descripcion | ||
| 72 | + * | ||
| 73 | + * @param string $descripcion | ||
| 74 | + * | ||
| 75 | + * @return ambiente | ||
| 76 | + */ | ||
| 77 | + public function setDescripcion($descripcion) | ||
| 78 | + { | ||
| 79 | + $this->descripcion = $descripcion; | ||
| 80 | + | ||
| 81 | + return $this; | ||
| 82 | + } | ||
| 83 | + | ||
| 84 | + /** | ||
| 85 | + * Get descripcion | ||
| 86 | + * | ||
| 87 | + * @return string | ||
| 88 | + */ | ||
| 89 | + public function getDescripcion() | ||
| 90 | + { | ||
| 91 | + return $this->descripcion; | ||
| 92 | + } | ||
| 93 | + | ||
| 94 | + /** | ||
| 95 | + * Set codigo | ||
| 96 | + * | ||
| 97 | + * @param integer $codigo | ||
| 98 | + * | ||
| 99 | + * @return ambiente | ||
| 100 | + */ | ||
| 101 | + public function setCodigo($codigo) | ||
| 102 | + { | ||
| 103 | + $this->codigo = $codigo; | ||
| 104 | + | ||
| 105 | + return $this; | ||
| 106 | + } | ||
| 107 | + | ||
| 108 | + /** | ||
| 109 | + * Get codigo | ||
| 110 | + * | ||
| 111 | + * @return int | ||
| 112 | + */ | ||
| 113 | + public function getCodigo() | ||
| 114 | + { | ||
| 115 | + return $this->codigo; | ||
| 116 | + } | ||
| 117 | + | ||
| 118 | + /** | ||
| 119 | + * Set direccion | ||
| 120 | + * | ||
| 121 | + * @param string $direccion | ||
| 122 | + * | ||
| 123 | + * @return ambiente | ||
| 124 | + */ | ||
| 125 | + public function setDireccion($direccion) | ||
| 126 | + { | ||
| 127 | + $this->direccion = $direccion; | ||
| 128 | + | ||
| 129 | + return $this; | ||
| 130 | + } | ||
| 131 | + | ||
| 132 | + /** | ||
| 133 | + * Get direccion | ||
| 134 | + * | ||
| 135 | + * @return string | ||
| 136 | + */ | ||
| 137 | + public function getDireccion() | ||
| 138 | + { | ||
| 139 | + return $this->direccion; | ||
| 140 | + } | ||
| 141 | + | ||
| 142 | + /** | ||
| 143 | + * Set coordenadaUtmNorte | ||
| 144 | + * | ||
| 145 | + * @param integer $coordenadaUtmNorte | ||
| 146 | + * | ||
| 147 | + * @return ambiente | ||
| 148 | + */ | ||
| 149 | + public function setCoordenadaUtmNorte($coordenadaUtmNorte) | ||
| 150 | + { | ||
| 151 | + $this->coordenadaUtmNorte = $coordenadaUtmNorte; | ||
| 152 | + | ||
| 153 | + return $this; | ||
| 154 | + } | ||
| 155 | + | ||
| 156 | + /** | ||
| 157 | + * Get coordenadaUtmNorte | ||
| 158 | + * | ||
| 159 | + * @return int | ||
| 160 | + */ | ||
| 161 | + public function getCoordenadaUtmNorte() | ||
| 162 | + { | ||
| 163 | + return $this->coordenadaUtmNorte; | ||
| 164 | + } | ||
| 165 | + | ||
| 166 | + /** | ||
| 167 | + * Set coordenadaUtmOeste | ||
| 168 | + * | ||
| 169 | + * @param integer $coordenadaUtmOeste | ||
| 170 | + * | ||
| 171 | + * @return ambiente | ||
| 172 | + */ | ||
| 173 | + public function setCoordenadaUtmOeste($coordenadaUtmOeste) | ||
| 174 | + { | ||
| 175 | + $this->coordenadaUtmOeste = $coordenadaUtmOeste; | ||
| 176 | + | ||
| 177 | + return $this; | ||
| 178 | + } | ||
| 179 | + | ||
| 180 | + /** | ||
| 181 | + * Get coordenadaUtmOeste | ||
| 182 | + * | ||
| 183 | + * @return int | ||
| 184 | + */ | ||
| 185 | + public function getCoordenadaUtmOeste() | ||
| 186 | + { | ||
| 187 | + return $this->coordenadaUtmOeste; | ||
| 188 | + } | ||
| 189 | +} | ||
| 190 | + |
src/UBV/PracticaBundle/Entity/estado.php
| @@ -0,0 +1,97 @@ | @@ -0,0 +1,97 @@ | ||
| 1 | +<?php | ||
| 2 | + | ||
| 3 | +namespace UBV\PracticaBundle\Entity; | ||
| 4 | + | ||
| 5 | +use Doctrine\ORM\Mapping as ORM; | ||
| 6 | + | ||
| 7 | +/** | ||
| 8 | + * estado | ||
| 9 | + * | ||
| 10 | + * @ORM\Table(name="estado") | ||
| 11 | + * @ORM\Entity(repositoryClass="UBV\PracticaBundle\Repository\estadoRepository") | ||
| 12 | + */ | ||
| 13 | +class estado | ||
| 14 | +{ | ||
| 15 | + /** | ||
| 16 | + * @var int | ||
| 17 | + * | ||
| 18 | + * @ORM\Column(name="id", type="integer") | ||
| 19 | + * @ORM\Id | ||
| 20 | + * @ORM\GeneratedValue(strategy="AUTO") | ||
| 21 | + */ | ||
| 22 | + private $id; | ||
| 23 | + | ||
| 24 | + /** | ||
| 25 | + * @var string | ||
| 26 | + * | ||
| 27 | + * @ORM\Column(name="descripcion", type="string", length=255) | ||
| 28 | + */ | ||
| 29 | + private $descripcion; | ||
| 30 | + | ||
| 31 | + /** | ||
| 32 | + * @var int | ||
| 33 | + * | ||
| 34 | + * @ORM\Column(name="codigo", type="integer") | ||
| 35 | + */ | ||
| 36 | + private $codigo; | ||
| 37 | + | ||
| 38 | + | ||
| 39 | + /** | ||
| 40 | + * Get id | ||
| 41 | + * | ||
| 42 | + * @return int | ||
| 43 | + */ | ||
| 44 | + public function getId() | ||
| 45 | + { | ||
| 46 | + return $this->id; | ||
| 47 | + } | ||
| 48 | + | ||
| 49 | + /** | ||
| 50 | + * Set descripcion | ||
| 51 | + * | ||
| 52 | + * @param string $descripcion | ||
| 53 | + * | ||
| 54 | + * @return estado | ||
| 55 | + */ | ||
| 56 | + public function setDescripcion($descripcion) | ||
| 57 | + { | ||
| 58 | + $this->descripcion = $descripcion; | ||
| 59 | + | ||
| 60 | + return $this; | ||
| 61 | + } | ||
| 62 | + | ||
| 63 | + /** | ||
| 64 | + * Get descripcion | ||
| 65 | + * | ||
| 66 | + * @return string | ||
| 67 | + */ | ||
| 68 | + public function getDescripcion() | ||
| 69 | + { | ||
| 70 | + return $this->descripcion; | ||
| 71 | + } | ||
| 72 | + | ||
| 73 | + /** | ||
| 74 | + * Set codigo | ||
| 75 | + * | ||
| 76 | + * @param integer $codigo | ||
| 77 | + * | ||
| 78 | + * @return estado | ||
| 79 | + */ | ||
| 80 | + public function setCodigo($codigo) | ||
| 81 | + { | ||
| 82 | + $this->codigo = $codigo; | ||
| 83 | + | ||
| 84 | + return $this; | ||
| 85 | + } | ||
| 86 | + | ||
| 87 | + /** | ||
| 88 | + * Get codigo | ||
| 89 | + * | ||
| 90 | + * @return int | ||
| 91 | + */ | ||
| 92 | + public function getCodigo() | ||
| 93 | + { | ||
| 94 | + return $this->codigo; | ||
| 95 | + } | ||
| 96 | +} | ||
| 97 | + |
src/UBV/PracticaBundle/Entity/estadoCivil.php
| @@ -0,0 +1,97 @@ | @@ -0,0 +1,97 @@ | ||
| 1 | +<?php | ||
| 2 | + | ||
| 3 | +namespace UBV\PracticaBundle\Entity; | ||
| 4 | + | ||
| 5 | +use Doctrine\ORM\Mapping as ORM; | ||
| 6 | + | ||
| 7 | +/** | ||
| 8 | + * estadoCivil | ||
| 9 | + * | ||
| 10 | + * @ORM\Table(name="estado_civil") | ||
| 11 | + * @ORM\Entity(repositoryClass="UBV\PracticaBundle\Repository\estadoCivilRepository") | ||
| 12 | + */ | ||
| 13 | +class estadoCivil | ||
| 14 | +{ | ||
| 15 | + /** | ||
| 16 | + * @var int | ||
| 17 | + * | ||
| 18 | + * @ORM\Column(name="id", type="integer") | ||
| 19 | + * @ORM\Id | ||
| 20 | + * @ORM\GeneratedValue(strategy="AUTO") | ||
| 21 | + */ | ||
| 22 | + private $id; | ||
| 23 | + | ||
| 24 | + /** | ||
| 25 | + * @var string | ||
| 26 | + * | ||
| 27 | + * @ORM\Column(name="descripcion", type="string", length=255) | ||
| 28 | + */ | ||
| 29 | + private $descripcion; | ||
| 30 | + | ||
| 31 | + /** | ||
| 32 | + * @var int | ||
| 33 | + * | ||
| 34 | + * @ORM\Column(name="codigo", type="integer") | ||
| 35 | + */ | ||
| 36 | + private $codigo; | ||
| 37 | + | ||
| 38 | + | ||
| 39 | + /** | ||
| 40 | + * Get id | ||
| 41 | + * | ||
| 42 | + * @return int | ||
| 43 | + */ | ||
| 44 | + public function getId() | ||
| 45 | + { | ||
| 46 | + return $this->id; | ||
| 47 | + } | ||
| 48 | + | ||
| 49 | + /** | ||
| 50 | + * Set descripcion | ||
| 51 | + * | ||
| 52 | + * @param string $descripcion | ||
| 53 | + * | ||
| 54 | + * @return estadoCivil | ||
| 55 | + */ | ||
| 56 | + public function setDescripcion($descripcion) | ||
| 57 | + { | ||
| 58 | + $this->descripcion = $descripcion; | ||
| 59 | + | ||
| 60 | + return $this; | ||
| 61 | + } | ||
| 62 | + | ||
| 63 | + /** | ||
| 64 | + * Get descripcion | ||
| 65 | + * | ||
| 66 | + * @return string | ||
| 67 | + */ | ||
| 68 | + public function getDescripcion() | ||
| 69 | + { | ||
| 70 | + return $this->descripcion; | ||
| 71 | + } | ||
| 72 | + | ||
| 73 | + /** | ||
| 74 | + * Set codigo | ||
| 75 | + * | ||
| 76 | + * @param integer $codigo | ||
| 77 | + * | ||
| 78 | + * @return estadoCivil | ||
| 79 | + */ | ||
| 80 | + public function setCodigo($codigo) | ||
| 81 | + { | ||
| 82 | + $this->codigo = $codigo; | ||
| 83 | + | ||
| 84 | + return $this; | ||
| 85 | + } | ||
| 86 | + | ||
| 87 | + /** | ||
| 88 | + * Get codigo | ||
| 89 | + * | ||
| 90 | + * @return int | ||
| 91 | + */ | ||
| 92 | + public function getCodigo() | ||
| 93 | + { | ||
| 94 | + return $this->codigo; | ||
| 95 | + } | ||
| 96 | +} | ||
| 97 | + |
src/UBV/PracticaBundle/Entity/genero.php
| @@ -0,0 +1,97 @@ | @@ -0,0 +1,97 @@ | ||
| 1 | +<?php | ||
| 2 | + | ||
| 3 | +namespace UBV\PracticaBundle\Entity; | ||
| 4 | + | ||
| 5 | +use Doctrine\ORM\Mapping as ORM; | ||
| 6 | + | ||
| 7 | +/** | ||
| 8 | + * genero | ||
| 9 | + * | ||
| 10 | + * @ORM\Table(name="genero") | ||
| 11 | + * @ORM\Entity(repositoryClass="UBV\PracticaBundle\Repository\generoRepository") | ||
| 12 | + */ | ||
| 13 | +class genero | ||
| 14 | +{ | ||
| 15 | + /** | ||
| 16 | + * @var int | ||
| 17 | + * | ||
| 18 | + * @ORM\Column(name="id", type="integer") | ||
| 19 | + * @ORM\Id | ||
| 20 | + * @ORM\GeneratedValue(strategy="AUTO") | ||
| 21 | + */ | ||
| 22 | + private $id; | ||
| 23 | + | ||
| 24 | + /** | ||
| 25 | + * @var string | ||
| 26 | + * | ||
| 27 | + * @ORM\Column(name="descripcion", type="string", length=255) | ||
| 28 | + */ | ||
| 29 | + private $descripcion; | ||
| 30 | + | ||
| 31 | + /** | ||
| 32 | + * @var int | ||
| 33 | + * | ||
| 34 | + * @ORM\Column(name="codigo", type="integer") | ||
| 35 | + */ | ||
| 36 | + private $codigo; | ||
| 37 | + | ||
| 38 | + | ||
| 39 | + /** | ||
| 40 | + * Get id | ||
| 41 | + * | ||
| 42 | + * @return int | ||
| 43 | + */ | ||
| 44 | + public function getId() | ||
| 45 | + { | ||
| 46 | + return $this->id; | ||
| 47 | + } | ||
| 48 | + | ||
| 49 | + /** | ||
| 50 | + * Set descripcion | ||
| 51 | + * | ||
| 52 | + * @param string $descripcion | ||
| 53 | + * | ||
| 54 | + * @return genero | ||
| 55 | + */ | ||
| 56 | + public function setDescripcion($descripcion) | ||
| 57 | + { | ||
| 58 | + $this->descripcion = $descripcion; | ||
| 59 | + | ||
| 60 | + return $this; | ||
| 61 | + } | ||
| 62 | + | ||
| 63 | + /** | ||
| 64 | + * Get descripcion | ||
| 65 | + * | ||
| 66 | + * @return string | ||
| 67 | + */ | ||
| 68 | + public function getDescripcion() | ||
| 69 | + { | ||
| 70 | + return $this->descripcion; | ||
| 71 | + } | ||
| 72 | + | ||
| 73 | + /** | ||
| 74 | + * Set codigo | ||
| 75 | + * | ||
| 76 | + * @param integer $codigo | ||
| 77 | + * | ||
| 78 | + * @return genero | ||
| 79 | + */ | ||
| 80 | + public function setCodigo($codigo) | ||
| 81 | + { | ||
| 82 | + $this->codigo = $codigo; | ||
| 83 | + | ||
| 84 | + return $this; | ||
| 85 | + } | ||
| 86 | + | ||
| 87 | + /** | ||
| 88 | + * Get codigo | ||
| 89 | + * | ||
| 90 | + * @return int | ||
| 91 | + */ | ||
| 92 | + public function getCodigo() | ||
| 93 | + { | ||
| 94 | + return $this->codigo; | ||
| 95 | + } | ||
| 96 | +} | ||
| 97 | + |
src/UBV/PracticaBundle/Entity/municipio.php
| @@ -0,0 +1,97 @@ | @@ -0,0 +1,97 @@ | ||
| 1 | +<?php | ||
| 2 | + | ||
| 3 | +namespace UBV\PracticaBundle\Entity; | ||
| 4 | + | ||
| 5 | +use Doctrine\ORM\Mapping as ORM; | ||
| 6 | + | ||
| 7 | +/** | ||
| 8 | + * municipio | ||
| 9 | + * | ||
| 10 | + * @ORM\Table(name="municipio") | ||
| 11 | + * @ORM\Entity(repositoryClass="UBV\PracticaBundle\Repository\municipioRepository") | ||
| 12 | + */ | ||
| 13 | +class municipio | ||
| 14 | +{ | ||
| 15 | + /** | ||
| 16 | + * @var int | ||
| 17 | + * | ||
| 18 | + * @ORM\Column(name="id", type="integer") | ||
| 19 | + * @ORM\Id | ||
| 20 | + * @ORM\GeneratedValue(strategy="AUTO") | ||
| 21 | + */ | ||
| 22 | + private $id; | ||
| 23 | + | ||
| 24 | + /** | ||
| 25 | + * @var string | ||
| 26 | + * | ||
| 27 | + * @ORM\Column(name="descripcion", type="string", length=255) | ||
| 28 | + */ | ||
| 29 | + private $descripcion; | ||
| 30 | + | ||
| 31 | + /** | ||
| 32 | + * @var string | ||
| 33 | + * | ||
| 34 | + * @ORM\Column(name="codigo", type="string", length=255) | ||
| 35 | + */ | ||
| 36 | + private $codigo; | ||
| 37 | + | ||
| 38 | + | ||
| 39 | + /** | ||
| 40 | + * Get id | ||
| 41 | + * | ||
| 42 | + * @return int | ||
| 43 | + */ | ||
| 44 | + public function getId() | ||
| 45 | + { | ||
| 46 | + return $this->id; | ||
| 47 | + } | ||
| 48 | + | ||
| 49 | + /** | ||
| 50 | + * Set descripcion | ||
| 51 | + * | ||
| 52 | + * @param string $descripcion | ||
| 53 | + * | ||
| 54 | + * @return municipio | ||
| 55 | + */ | ||
| 56 | + public function setDescripcion($descripcion) | ||
| 57 | + { | ||
| 58 | + $this->descripcion = $descripcion; | ||
| 59 | + | ||
| 60 | + return $this; | ||
| 61 | + } | ||
| 62 | + | ||
| 63 | + /** | ||
| 64 | + * Get descripcion | ||
| 65 | + * | ||
| 66 | + * @return string | ||
| 67 | + */ | ||
| 68 | + public function getDescripcion() | ||
| 69 | + { | ||
| 70 | + return $this->descripcion; | ||
| 71 | + } | ||
| 72 | + | ||
| 73 | + /** | ||
| 74 | + * Set codigo | ||
| 75 | + * | ||
| 76 | + * @param string $codigo | ||
| 77 | + * | ||
| 78 | + * @return municipio | ||
| 79 | + */ | ||
| 80 | + public function setCodigo($codigo) | ||
| 81 | + { | ||
| 82 | + $this->codigo = $codigo; | ||
| 83 | + | ||
| 84 | + return $this; | ||
| 85 | + } | ||
| 86 | + | ||
| 87 | + /** | ||
| 88 | + * Get codigo | ||
| 89 | + * | ||
| 90 | + * @return string | ||
| 91 | + */ | ||
| 92 | + public function getCodigo() | ||
| 93 | + { | ||
| 94 | + return $this->codigo; | ||
| 95 | + } | ||
| 96 | +} | ||
| 97 | + |
src/UBV/PracticaBundle/Entity/pais.php
| @@ -0,0 +1,97 @@ | @@ -0,0 +1,97 @@ | ||
| 1 | +<?php | ||
| 2 | + | ||
| 3 | +namespace UBV\PracticaBundle\Entity; | ||
| 4 | + | ||
| 5 | +use Doctrine\ORM\Mapping as ORM; | ||
| 6 | + | ||
| 7 | +/** | ||
| 8 | + * pais | ||
| 9 | + * | ||
| 10 | + * @ORM\Table(name="pais") | ||
| 11 | + * @ORM\Entity(repositoryClass="UBV\PracticaBundle\Repository\paisRepository") | ||
| 12 | + */ | ||
| 13 | +class pais | ||
| 14 | +{ | ||
| 15 | + /** | ||
| 16 | + * @var int | ||
| 17 | + * | ||
| 18 | + * @ORM\Column(name="id", type="integer") | ||
| 19 | + * @ORM\Id | ||
| 20 | + * @ORM\GeneratedValue(strategy="AUTO") | ||
| 21 | + */ | ||
| 22 | + private $id; | ||
| 23 | + | ||
| 24 | + /** | ||
| 25 | + * @var string | ||
| 26 | + * | ||
| 27 | + * @ORM\Column(name="descripcion", type="string", length=255) | ||
| 28 | + */ | ||
| 29 | + private $descripcion; | ||
| 30 | + | ||
| 31 | + /** | ||
| 32 | + * @var int | ||
| 33 | + * | ||
| 34 | + * @ORM\Column(name="codigo", type="integer") | ||
| 35 | + */ | ||
| 36 | + private $codigo; | ||
| 37 | + | ||
| 38 | + | ||
| 39 | + /** | ||
| 40 | + * Get id | ||
| 41 | + * | ||
| 42 | + * @return int | ||
| 43 | + */ | ||
| 44 | + public function getId() | ||
| 45 | + { | ||
| 46 | + return $this->id; | ||
| 47 | + } | ||
| 48 | + | ||
| 49 | + /** | ||
| 50 | + * Set descripcion | ||
| 51 | + * | ||
| 52 | + * @param string $descripcion | ||
| 53 | + * | ||
| 54 | + * @return pais | ||
| 55 | + */ | ||
| 56 | + public function setDescripcion($descripcion) | ||
| 57 | + { | ||
| 58 | + $this->descripcion = $descripcion; | ||
| 59 | + | ||
| 60 | + return $this; | ||
| 61 | + } | ||
| 62 | + | ||
| 63 | + /** | ||
| 64 | + * Get descripcion | ||
| 65 | + * | ||
| 66 | + * @return string | ||
| 67 | + */ | ||
| 68 | + public function getDescripcion() | ||
| 69 | + { | ||
| 70 | + return $this->descripcion; | ||
| 71 | + } | ||
| 72 | + | ||
| 73 | + /** | ||
| 74 | + * Set codigo | ||
| 75 | + * | ||
| 76 | + * @param integer $codigo | ||
| 77 | + * | ||
| 78 | + * @return pais | ||
| 79 | + */ | ||
| 80 | + public function setCodigo($codigo) | ||
| 81 | + { | ||
| 82 | + $this->codigo = $codigo; | ||
| 83 | + | ||
| 84 | + return $this; | ||
| 85 | + } | ||
| 86 | + | ||
| 87 | + /** | ||
| 88 | + * Get codigo | ||
| 89 | + * | ||
| 90 | + * @return int | ||
| 91 | + */ | ||
| 92 | + public function getCodigo() | ||
| 93 | + { | ||
| 94 | + return $this->codigo; | ||
| 95 | + } | ||
| 96 | +} | ||
| 97 | + |
src/UBV/PracticaBundle/Entity/parroquia.php
| @@ -0,0 +1,97 @@ | @@ -0,0 +1,97 @@ | ||
| 1 | +<?php | ||
| 2 | + | ||
| 3 | +namespace UBV\PracticaBundle\Entity; | ||
| 4 | + | ||
| 5 | +use Doctrine\ORM\Mapping as ORM; | ||
| 6 | + | ||
| 7 | +/** | ||
| 8 | + * parroquia | ||
| 9 | + * | ||
| 10 | + * @ORM\Table(name="parroquia") | ||
| 11 | + * @ORM\Entity(repositoryClass="UBV\PracticaBundle\Repository\parroquiaRepository") | ||
| 12 | + */ | ||
| 13 | +class parroquia | ||
| 14 | +{ | ||
| 15 | + /** | ||
| 16 | + * @var int | ||
| 17 | + * | ||
| 18 | + * @ORM\Column(name="id", type="integer") | ||
| 19 | + * @ORM\Id | ||
| 20 | + * @ORM\GeneratedValue(strategy="AUTO") | ||
| 21 | + */ | ||
| 22 | + private $id; | ||
| 23 | + | ||
| 24 | + /** | ||
| 25 | + * @var string | ||
| 26 | + * | ||
| 27 | + * @ORM\Column(name="descripcion", type="string", length=255) | ||
| 28 | + */ | ||
| 29 | + private $descripcion; | ||
| 30 | + | ||
| 31 | + /** | ||
| 32 | + * @var int | ||
| 33 | + * | ||
| 34 | + * @ORM\Column(name="codigo", type="integer") | ||
| 35 | + */ | ||
| 36 | + private $codigo; | ||
| 37 | + | ||
| 38 | + | ||
| 39 | + /** | ||
| 40 | + * Get id | ||
| 41 | + * | ||
| 42 | + * @return int | ||
| 43 | + */ | ||
| 44 | + public function getId() | ||
| 45 | + { | ||
| 46 | + return $this->id; | ||
| 47 | + } | ||
| 48 | + | ||
| 49 | + /** | ||
| 50 | + * Set descripcion | ||
| 51 | + * | ||
| 52 | + * @param string $descripcion | ||
| 53 | + * | ||
| 54 | + * @return parroquia | ||
| 55 | + */ | ||
| 56 | + public function setDescripcion($descripcion) | ||
| 57 | + { | ||
| 58 | + $this->descripcion = $descripcion; | ||
| 59 | + | ||
| 60 | + return $this; | ||
| 61 | + } | ||
| 62 | + | ||
| 63 | + /** | ||
| 64 | + * Get descripcion | ||
| 65 | + * | ||
| 66 | + * @return string | ||
| 67 | + */ | ||
| 68 | + public function getDescripcion() | ||
| 69 | + { | ||
| 70 | + return $this->descripcion; | ||
| 71 | + } | ||
| 72 | + | ||
| 73 | + /** | ||
| 74 | + * Set codigo | ||
| 75 | + * | ||
| 76 | + * @param integer $codigo | ||
| 77 | + * | ||
| 78 | + * @return parroquia | ||
| 79 | + */ | ||
| 80 | + public function setCodigo($codigo) | ||
| 81 | + { | ||
| 82 | + $this->codigo = $codigo; | ||
| 83 | + | ||
| 84 | + return $this; | ||
| 85 | + } | ||
| 86 | + | ||
| 87 | + /** | ||
| 88 | + * Get codigo | ||
| 89 | + * | ||
| 90 | + * @return int | ||
| 91 | + */ | ||
| 92 | + public function getCodigo() | ||
| 93 | + { | ||
| 94 | + return $this->codigo; | ||
| 95 | + } | ||
| 96 | +} | ||
| 97 | + |
src/UBV/PracticaBundle/Entity/seccion.php
| @@ -0,0 +1,97 @@ | @@ -0,0 +1,97 @@ | ||
| 1 | +<?php | ||
| 2 | + | ||
| 3 | +namespace UBV\PracticaBundle\Entity; | ||
| 4 | + | ||
| 5 | +use Doctrine\ORM\Mapping as ORM; | ||
| 6 | + | ||
| 7 | +/** | ||
| 8 | + * seccion | ||
| 9 | + * | ||
| 10 | + * @ORM\Table(name="seccion") | ||
| 11 | + * @ORM\Entity(repositoryClass="UBV\PracticaBundle\Repository\seccionRepository") | ||
| 12 | + */ | ||
| 13 | +class seccion | ||
| 14 | +{ | ||
| 15 | + /** | ||
| 16 | + * @var int | ||
| 17 | + * | ||
| 18 | + * @ORM\Column(name="id", type="integer") | ||
| 19 | + * @ORM\Id | ||
| 20 | + * @ORM\GeneratedValue(strategy="AUTO") | ||
| 21 | + */ | ||
| 22 | + private $id; | ||
| 23 | + | ||
| 24 | + /** | ||
| 25 | + * @var string | ||
| 26 | + * | ||
| 27 | + * @ORM\Column(name="descripcion", type="string", length=255) | ||
| 28 | + */ | ||
| 29 | + private $descripcion; | ||
| 30 | + | ||
| 31 | + /** | ||
| 32 | + * @var int | ||
| 33 | + * | ||
| 34 | + * @ORM\Column(name="codigo", type="integer") | ||
| 35 | + */ | ||
| 36 | + private $codigo; | ||
| 37 | + | ||
| 38 | + | ||
| 39 | + /** | ||
| 40 | + * Get id | ||
| 41 | + * | ||
| 42 | + * @return int | ||
| 43 | + */ | ||
| 44 | + public function getId() | ||
| 45 | + { | ||
| 46 | + return $this->id; | ||
| 47 | + } | ||
| 48 | + | ||
| 49 | + /** | ||
| 50 | + * Set descripcion | ||
| 51 | + * | ||
| 52 | + * @param string $descripcion | ||
| 53 | + * | ||
| 54 | + * @return seccion | ||
| 55 | + */ | ||
| 56 | + public function setDescripcion($descripcion) | ||
| 57 | + { | ||
| 58 | + $this->descripcion = $descripcion; | ||
| 59 | + | ||
| 60 | + return $this; | ||
| 61 | + } | ||
| 62 | + | ||
| 63 | + /** | ||
| 64 | + * Get descripcion | ||
| 65 | + * | ||
| 66 | + * @return string | ||
| 67 | + */ | ||
| 68 | + public function getDescripcion() | ||
| 69 | + { | ||
| 70 | + return $this->descripcion; | ||
| 71 | + } | ||
| 72 | + | ||
| 73 | + /** | ||
| 74 | + * Set codigo | ||
| 75 | + * | ||
| 76 | + * @param integer $codigo | ||
| 77 | + * | ||
| 78 | + * @return seccion | ||
| 79 | + */ | ||
| 80 | + public function setCodigo($codigo) | ||
| 81 | + { | ||
| 82 | + $this->codigo = $codigo; | ||
| 83 | + | ||
| 84 | + return $this; | ||
| 85 | + } | ||
| 86 | + | ||
| 87 | + /** | ||
| 88 | + * Get codigo | ||
| 89 | + * | ||
| 90 | + * @return int | ||
| 91 | + */ | ||
| 92 | + public function getCodigo() | ||
| 93 | + { | ||
| 94 | + return $this->codigo; | ||
| 95 | + } | ||
| 96 | +} | ||
| 97 | + |
src/UBV/PracticaBundle/Repository/BancoRepository.php
| @@ -0,0 +1,13 @@ | @@ -0,0 +1,13 @@ | ||
| 1 | +<?php | ||
| 2 | + | ||
| 3 | +namespace UBV\PracticaBundle\Repository; | ||
| 4 | + | ||
| 5 | +/** | ||
| 6 | + * BancoRepository | ||
| 7 | + * | ||
| 8 | + * This class was generated by the Doctrine ORM. Add your own custom | ||
| 9 | + * repository methods below. | ||
| 10 | + */ | ||
| 11 | +class BancoRepository extends \Doctrine\ORM\EntityRepository | ||
| 12 | +{ | ||
| 13 | +} |
src/UBV/PracticaBundle/Repository/aldeaRepository.php
| @@ -0,0 +1,13 @@ | @@ -0,0 +1,13 @@ | ||
| 1 | +<?php | ||
| 2 | + | ||
| 3 | +namespace UBV\PracticaBundle\Repository; | ||
| 4 | + | ||
| 5 | +/** | ||
| 6 | + * aldeaRepository | ||
| 7 | + * | ||
| 8 | + * This class was generated by the Doctrine ORM. Add your own custom | ||
| 9 | + * repository methods below. | ||
| 10 | + */ | ||
| 11 | +class aldeaRepository extends \Doctrine\ORM\EntityRepository | ||
| 12 | +{ | ||
| 13 | +} |
src/UBV/PracticaBundle/Repository/ambienteRepository.php
| @@ -0,0 +1,13 @@ | @@ -0,0 +1,13 @@ | ||
| 1 | +<?php | ||
| 2 | + | ||
| 3 | +namespace UBV\PracticaBundle\Repository; | ||
| 4 | + | ||
| 5 | +/** | ||
| 6 | + * ambienteRepository | ||
| 7 | + * | ||
| 8 | + * This class was generated by the Doctrine ORM. Add your own custom | ||
| 9 | + * repository methods below. | ||
| 10 | + */ | ||
| 11 | +class ambienteRepository extends \Doctrine\ORM\EntityRepository | ||
| 12 | +{ | ||
| 13 | +} |
src/UBV/PracticaBundle/Repository/estadoCivilRepository.php
| @@ -0,0 +1,13 @@ | @@ -0,0 +1,13 @@ | ||
| 1 | +<?php | ||
| 2 | + | ||
| 3 | +namespace UBV\PracticaBundle\Repository; | ||
| 4 | + | ||
| 5 | +/** | ||
| 6 | + * estadoCivilRepository | ||
| 7 | + * | ||
| 8 | + * This class was generated by the Doctrine ORM. Add your own custom | ||
| 9 | + * repository methods below. | ||
| 10 | + */ | ||
| 11 | +class estadoCivilRepository extends \Doctrine\ORM\EntityRepository | ||
| 12 | +{ | ||
| 13 | +} |
src/UBV/PracticaBundle/Repository/estadoRepository.php
| @@ -0,0 +1,13 @@ | @@ -0,0 +1,13 @@ | ||
| 1 | +<?php | ||
| 2 | + | ||
| 3 | +namespace UBV\PracticaBundle\Repository; | ||
| 4 | + | ||
| 5 | +/** | ||
| 6 | + * estadoRepository | ||
| 7 | + * | ||
| 8 | + * This class was generated by the Doctrine ORM. Add your own custom | ||
| 9 | + * repository methods below. | ||
| 10 | + */ | ||
| 11 | +class estadoRepository extends \Doctrine\ORM\EntityRepository | ||
| 12 | +{ | ||
| 13 | +} |
src/UBV/PracticaBundle/Repository/generoRepository.php
| @@ -0,0 +1,13 @@ | @@ -0,0 +1,13 @@ | ||
| 1 | +<?php | ||
| 2 | + | ||
| 3 | +namespace UBV\PracticaBundle\Repository; | ||
| 4 | + | ||
| 5 | +/** | ||
| 6 | + * generoRepository | ||
| 7 | + * | ||
| 8 | + * This class was generated by the Doctrine ORM. Add your own custom | ||
| 9 | + * repository methods below. | ||
| 10 | + */ | ||
| 11 | +class generoRepository extends \Doctrine\ORM\EntityRepository | ||
| 12 | +{ | ||
| 13 | +} |
src/UBV/PracticaBundle/Repository/municipioRepository.php
| @@ -0,0 +1,13 @@ | @@ -0,0 +1,13 @@ | ||
| 1 | +<?php | ||
| 2 | + | ||
| 3 | +namespace UBV\PracticaBundle\Repository; | ||
| 4 | + | ||
| 5 | +/** | ||
| 6 | + * municipioRepository | ||
| 7 | + * | ||
| 8 | + * This class was generated by the Doctrine ORM. Add your own custom | ||
| 9 | + * repository methods below. | ||
| 10 | + */ | ||
| 11 | +class municipioRepository extends \Doctrine\ORM\EntityRepository | ||
| 12 | +{ | ||
| 13 | +} |
src/UBV/PracticaBundle/Repository/paisRepository.php
| @@ -0,0 +1,13 @@ | @@ -0,0 +1,13 @@ | ||
| 1 | +<?php | ||
| 2 | + | ||
| 3 | +namespace UBV\PracticaBundle\Repository; | ||
| 4 | + | ||
| 5 | +/** | ||
| 6 | + * paisRepository | ||
| 7 | + * | ||
| 8 | + * This class was generated by the Doctrine ORM. Add your own custom | ||
| 9 | + * repository methods below. | ||
| 10 | + */ | ||
| 11 | +class paisRepository extends \Doctrine\ORM\EntityRepository | ||
| 12 | +{ | ||
| 13 | +} |
src/UBV/PracticaBundle/Repository/parroquiaRepository.php
| @@ -0,0 +1,13 @@ | @@ -0,0 +1,13 @@ | ||
| 1 | +<?php | ||
| 2 | + | ||
| 3 | +namespace UBV\PracticaBundle\Repository; | ||
| 4 | + | ||
| 5 | +/** | ||
| 6 | + * parroquiaRepository | ||
| 7 | + * | ||
| 8 | + * This class was generated by the Doctrine ORM. Add your own custom | ||
| 9 | + * repository methods below. | ||
| 10 | + */ | ||
| 11 | +class parroquiaRepository extends \Doctrine\ORM\EntityRepository | ||
| 12 | +{ | ||
| 13 | +} |
src/UBV/PracticaBundle/Repository/seccionRepository.php
| @@ -0,0 +1,13 @@ | @@ -0,0 +1,13 @@ | ||
| 1 | +<?php | ||
| 2 | + | ||
| 3 | +namespace UBV\PracticaBundle\Repository; | ||
| 4 | + | ||
| 5 | +/** | ||
| 6 | + * seccionRepository | ||
| 7 | + * | ||
| 8 | + * This class was generated by the Doctrine ORM. Add your own custom | ||
| 9 | + * repository methods below. | ||
| 10 | + */ | ||
| 11 | +class seccionRepository extends \Doctrine\ORM\EntityRepository | ||
| 12 | +{ | ||
| 13 | +} |