src/Entity/Fielpet/View/LeadsView.php line 13

Open in your IDE?
  1. <?php
  2. namespace App\Entity\Fielpet\View;
  3. use Doctrine\DBAL\Types\Types;
  4. use Doctrine\ORM\Mapping as ORM;
  5. /**
  6. * LeadsView
  7. *
  8. * @ORM\Table(name="LeadsView", indexes={@ORM\Index(name="IDX_D6516A56EA789C08", columns={"LocalidadId"})})
  9. * @ORM\Entity
  10. */
  11. class LeadsView
  12. {
  13. /**
  14. * @var int
  15. *
  16. * @ORM\Column(name="id", type="integer", nullable=false)
  17. * @ORM\Id
  18. * @ORM\GeneratedValue(strategy="SEQUENCE")
  19. * @ORM\SequenceGenerator(sequenceName="Leads_id_seq", allocationSize=1, initialValue=1)
  20. */
  21. private $id;
  22. /**
  23. * @var string|null
  24. *
  25. * @ORM\Column(name="nombre_mascota", type="string", length=255, nullable=true)
  26. */
  27. private $nombreMascota;
  28. /**
  29. * @var string|null
  30. *
  31. * @ORM\Column(name="raza", type="string", length=255, nullable=true)
  32. */
  33. private $raza;
  34. /**
  35. * @var string|null
  36. *
  37. * @ORM\Column(name="animal", type="string", length=255, nullable=true)
  38. */
  39. private $animal;
  40. /**
  41. * @var string|null
  42. *
  43. * @ORM\Column(name="sexo_mascota", type="string", length=255, nullable=true)
  44. */
  45. private $sexoMascota;
  46. /**
  47. * @var string|null
  48. *
  49. * @ORM\Column(name="color", type="string", length=255, nullable=true)
  50. */
  51. private $color;
  52. /**
  53. * @var \DateTime|null
  54. *
  55. * @ORM\Column(name="nacimiento_mascota", type="custom_datetimetz", nullable=true)
  56. */
  57. private $nacimientoMascota;
  58. /**
  59. * @var string|null
  60. *
  61. * @ORM\Column(name="descripcion", type="string", length=255, nullable=true)
  62. */
  63. private $descripcion;
  64. /**
  65. * @var string|null
  66. *
  67. * @ORM\Column(name="dni", type="string", length=255, nullable=true)
  68. */
  69. private $dni;
  70. /**
  71. * @var string|null
  72. *
  73. * @ORM\Column(name="nombre", type="string", length=255, nullable=true)
  74. */
  75. private $nombre;
  76. /**
  77. * @var string|null
  78. *
  79. * @ORM\Column(name="apellido", type="string", length=255, nullable=true)
  80. */
  81. private $apellido;
  82. /**
  83. * @var \DateTime|null
  84. *
  85. * @ORM\Column(name="fecha_nacimiento", type="custom_datetimetz", nullable=true)
  86. */
  87. private $fechaNacimiento;
  88. /**
  89. * @var string|null
  90. *
  91. * @ORM\Column(name="genero", type="string", length=255, nullable=true)
  92. */
  93. private $genero;
  94. /**
  95. * @var string|null
  96. *
  97. * @ORM\Column(name="tel_fijo", type="string", length=255, nullable=true)
  98. */
  99. private $telFijo;
  100. /**
  101. * @var string|null
  102. *
  103. * @ORM\Column(name="tel_celular", type="string", length=255, nullable=true)
  104. */
  105. private $telCelular;
  106. /**
  107. * @var string|null
  108. *
  109. * @ORM\Column(name="direccion", type="string", length=255, nullable=true)
  110. */
  111. private $direccion;
  112. /**
  113. * @var string|null
  114. *
  115. * @ORM\Column(name="numero", type="string", length=255, nullable=true)
  116. */
  117. private $numero;
  118. /**
  119. * @var string|null
  120. *
  121. * @ORM\Column(name="piso", type="string", length=255, nullable=true)
  122. */
  123. private $piso;
  124. /**
  125. * @var string|null
  126. *
  127. * @ORM\Column(name="departamento", type="string", length=255, nullable=true)
  128. */
  129. private $departamento;
  130. /**
  131. * @var string|null
  132. *
  133. * @ORM\Column(name="email", type="string", length=255, nullable=true)
  134. */
  135. private $email;
  136. /**
  137. * @var \DateTime
  138. *
  139. * @ORM\Column(name="createdAt", type="custom_datetimetz", nullable=false)
  140. */
  141. private $createdat;
  142. /**
  143. * @var \DateTime
  144. *
  145. * @ORM\Column(name="updatedAt", type="custom_datetimetz", nullable=false)
  146. */
  147. private $updatedat;
  148. /**
  149. * @var LocalidadesView
  150. *
  151. * @ORM\ManyToOne(targetEntity="LocalidadesView")
  152. * @ORM\JoinColumns({
  153. * @ORM\JoinColumn(name="LocalidadId", referencedColumnName="id")
  154. * })
  155. */
  156. private $localidadid;
  157. public function getId(): ?int
  158. {
  159. return $this->id;
  160. }
  161. public function getNombreMascota(): ?string
  162. {
  163. return $this->nombreMascota;
  164. }
  165. public function setNombreMascota(?string $nombreMascota): self
  166. {
  167. $this->nombreMascota = $nombreMascota;
  168. return $this;
  169. }
  170. public function getRaza(): ?string
  171. {
  172. return $this->raza;
  173. }
  174. public function setRaza(?string $raza): self
  175. {
  176. $this->raza = $raza;
  177. return $this;
  178. }
  179. public function getAnimal(): ?string
  180. {
  181. return $this->animal;
  182. }
  183. public function setAnimal(?string $animal): self
  184. {
  185. $this->animal = $animal;
  186. return $this;
  187. }
  188. public function getSexoMascota(): ?string
  189. {
  190. return $this->sexoMascota;
  191. }
  192. public function setSexoMascota(?string $sexoMascota): self
  193. {
  194. $this->sexoMascota = $sexoMascota;
  195. return $this;
  196. }
  197. public function getColor(): ?string
  198. {
  199. return $this->color;
  200. }
  201. public function setColor(?string $color): self
  202. {
  203. $this->color = $color;
  204. return $this;
  205. }
  206. public function getNacimientoMascota(): ?\DateTimeInterface
  207. {
  208. return $this->nacimientoMascota;
  209. }
  210. public function setNacimientoMascota(?\DateTimeInterface $nacimientoMascota): self
  211. {
  212. $this->nacimientoMascota = $nacimientoMascota;
  213. return $this;
  214. }
  215. public function getDescripcion(): ?string
  216. {
  217. return $this->descripcion;
  218. }
  219. public function setDescripcion(?string $descripcion): self
  220. {
  221. $this->descripcion = $descripcion;
  222. return $this;
  223. }
  224. public function getDni(): ?string
  225. {
  226. return $this->dni;
  227. }
  228. public function setDni(?string $dni): self
  229. {
  230. $this->dni = $dni;
  231. return $this;
  232. }
  233. public function getNombre(): ?string
  234. {
  235. return $this->nombre;
  236. }
  237. public function setNombre(?string $nombre): self
  238. {
  239. $this->nombre = $nombre;
  240. return $this;
  241. }
  242. public function getApellido(): ?string
  243. {
  244. return $this->apellido;
  245. }
  246. public function setApellido(?string $apellido): self
  247. {
  248. $this->apellido = $apellido;
  249. return $this;
  250. }
  251. public function getFechaNacimiento(): ?\DateTimeInterface
  252. {
  253. return $this->fechaNacimiento;
  254. }
  255. public function setFechaNacimiento(?\DateTimeInterface $fechaNacimiento): self
  256. {
  257. $this->fechaNacimiento = $fechaNacimiento;
  258. return $this;
  259. }
  260. public function getGenero(): ?string
  261. {
  262. return $this->genero;
  263. }
  264. public function setGenero(?string $genero): self
  265. {
  266. $this->genero = $genero;
  267. return $this;
  268. }
  269. public function getTelFijo(): ?string
  270. {
  271. return $this->telFijo;
  272. }
  273. public function setTelFijo(?string $telFijo): self
  274. {
  275. $this->telFijo = $telFijo;
  276. return $this;
  277. }
  278. public function getTelCelular(): ?string
  279. {
  280. return $this->telCelular;
  281. }
  282. public function setTelCelular(?string $telCelular): self
  283. {
  284. $this->telCelular = $telCelular;
  285. return $this;
  286. }
  287. public function getDireccion(): ?string
  288. {
  289. return $this->direccion;
  290. }
  291. public function setDireccion(?string $direccion): self
  292. {
  293. $this->direccion = $direccion;
  294. return $this;
  295. }
  296. public function getNumero(): ?string
  297. {
  298. return $this->numero;
  299. }
  300. public function setNumero(?string $numero): self
  301. {
  302. $this->numero = $numero;
  303. return $this;
  304. }
  305. public function getPiso(): ?string
  306. {
  307. return $this->piso;
  308. }
  309. public function setPiso(?string $piso): self
  310. {
  311. $this->piso = $piso;
  312. return $this;
  313. }
  314. public function getDepartamento(): ?string
  315. {
  316. return $this->departamento;
  317. }
  318. public function setDepartamento(?string $departamento): self
  319. {
  320. $this->departamento = $departamento;
  321. return $this;
  322. }
  323. public function getEmail(): ?string
  324. {
  325. return $this->email;
  326. }
  327. public function setEmail(?string $email): self
  328. {
  329. $this->email = $email;
  330. return $this;
  331. }
  332. public function getCreatedat(): ?\DateTimeInterface
  333. {
  334. return $this->createdat;
  335. }
  336. public function setCreatedat(\DateTimeInterface $createdat): self
  337. {
  338. $this->createdat = $createdat;
  339. return $this;
  340. }
  341. public function getUpdatedat(): ?\DateTimeInterface
  342. {
  343. return $this->updatedat;
  344. }
  345. public function setUpdatedat(\DateTimeInterface $updatedat): self
  346. {
  347. $this->updatedat = $updatedat;
  348. return $this;
  349. }
  350. public function getLocalidadid(): ?LocalidadesView
  351. {
  352. return $this->localidadid;
  353. }
  354. public function setLocalidadid(?LocalidadesView $localidadid): self
  355. {
  356. $this->localidadid = $localidadid;
  357. return $this;
  358. }
  359. }