src/Entity/PuntoOrientacion.php line 13

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use Doctrine\DBAL\Types\Types;
  4. use Doctrine\ORM\Mapping as ORM;
  5. use Gedmo\Mapping\Annotation as Gedmo;
  6. /**
  7. * @ORM\Entity
  8. * @ORM\Table(name="punto_orientacion")
  9. */
  10. class PuntoOrientacion extends \App\Entity\BaseEntity
  11. {
  12. /**
  13. * @ORM\Id
  14. * @ORM\Column(type="integer")
  15. * @ORM\GeneratedValue(strategy="AUTO")
  16. */
  17. private $id;
  18. /**
  19. * @ORM\Column(type="string", nullable=true)
  20. */
  21. private $idExterno;
  22. /**
  23. * @ORM\Column(type="string", length=255, nullable=true, name="id_recurso_externo")
  24. */
  25. private $idRecursoExterno;
  26. /**
  27. * @ORM\Column(type="datetime", nullable=true, name="deleted_at")
  28. */
  29. protected $deletedAt;
  30. /**
  31. * @ORM\Column(type="datetime", nullable=true)
  32. * @Gedmo\Timestampable(on="update")
  33. */
  34. protected $updatedAt;
  35. /**
  36. * @ORM\Column(type="datetime", nullable=true)
  37. * @Gedmo\Timestampable(on="create")
  38. */
  39. protected $createdAt;
  40. /**
  41. * @ORM\Column(type="string", nullable=true)
  42. */
  43. private $sector;
  44. /**
  45. * @ORM\Column(type="string", nullable=true)
  46. */
  47. private $entidad_beneficiaria;
  48. /**
  49. * @ORM\Column(type="string", nullable=true)
  50. */
  51. private $horario;
  52. /**
  53. * @ORM\Column(type="string", nullable=true, options={"unsigned":true})
  54. */
  55. private $poblacion;
  56. /**
  57. * @ORM\Column(type="string", nullable=true)
  58. */
  59. private $latitud;
  60. /**
  61. * @ORM\Column(type="string", nullable=true)
  62. */
  63. private $longitud;
  64. /**
  65. * @ORM\Column(type="string", nullable=true)
  66. */
  67. private $punto_orientacion_nombre;
  68. public function getId(): ?int
  69. {
  70. return $this->id;
  71. }
  72. public function setId($id)
  73. {
  74. $this->id = $id;
  75. return $this;
  76. }
  77. public function getIdExterno(): ?string
  78. {
  79. return $this->idExterno;
  80. }
  81. public function setIdExterno(?string $idExterno): static
  82. {
  83. $this->idExterno = $idExterno;
  84. return $this;
  85. }
  86. public function getIdRecursoExterno(): ?string
  87. {
  88. return $this->idRecursoExterno;
  89. }
  90. public function setIdRecursoExterno(?string $idRecursoExterno): self
  91. {
  92. $this->idRecursoExterno = $idRecursoExterno;
  93. return $this;
  94. }
  95. public function getCreatedAt(): ?\DateTimeInterface
  96. {
  97. return $this->createdAt;
  98. }
  99. public function setCreatedAt(?\DateTimeInterface $createdAt): static
  100. {
  101. $this->createdAt = $createdAt;
  102. return $this;
  103. }
  104. public function getUpdatedAt(): ?\DateTimeInterface
  105. {
  106. return $this->updatedAt;
  107. }
  108. public function setUpdatedAt(?\DateTimeInterface $updatedAt): static
  109. {
  110. $this->updatedAt = $updatedAt;
  111. return $this;
  112. }
  113. public function getSector(): ?string
  114. {
  115. return $this->sector;
  116. }
  117. public function setSector(?string $sector): static
  118. {
  119. $this->sector = $sector;
  120. return $this;
  121. }
  122. public function getEntidadBeneficiaria(): ?string
  123. {
  124. return $this->entidad_beneficiaria;
  125. }
  126. public function setEntidadBeneficiaria(?string $entidad_beneficiaria): static
  127. {
  128. $this->entidad_beneficiaria = $entidad_beneficiaria;
  129. return $this;
  130. }
  131. public function getHorario(): ?string
  132. {
  133. return $this->horario;
  134. }
  135. public function setHorario(?string $horario): static
  136. {
  137. $this->horario = $horario;
  138. return $this;
  139. }
  140. public function getPoblacion(): ?string
  141. {
  142. return $this->poblacion;
  143. }
  144. public function setPoblacion(?string $poblacion): static
  145. {
  146. $this->poblacion = $poblacion;
  147. return $this;
  148. }
  149. public function getLatitud(): ?string
  150. {
  151. return $this->latitud;
  152. }
  153. public function setLatitud(?string $latitud): static
  154. {
  155. $this->latitud = $latitud;
  156. return $this;
  157. }
  158. public function getLongitud(): ?string
  159. {
  160. return $this->longitud;
  161. }
  162. public function setLongitud(?string $longitud): static
  163. {
  164. $this->longitud = $longitud;
  165. return $this;
  166. }
  167. public function getPuntoOrientacionNombre(): ?string
  168. {
  169. return $this->punto_orientacion_nombre;
  170. }
  171. public function setPuntoOrientacionNombre(?string $punto_orientacion_nombre): static
  172. {
  173. $this->punto_orientacion_nombre = $punto_orientacion_nombre;
  174. return $this;
  175. }
  176. public function getDeletedAt(): ?\DateTimeInterface
  177. {
  178. return $this->deletedAt;
  179. }
  180. public function setDeletedAt(?\DateTimeInterface $deletedAt): static
  181. {
  182. $this->deletedAt = $deletedAt;
  183. return $this;
  184. }
  185. }