src/Entity/Fielpet/View/DatosDomiciliosView.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. * DatosDomiciliosView
  7. *
  8. * @ORM\Table(name="datos_domicilios_view", indexes={@ORM\Index(name="IDX_875B70FEF24947F0", columns={"localidadId"}), @ORM\Index(name="IDX_875B70FE896A2938", columns={"datosPersonaId"})})
  9. * @ORM\Entity
  10. */
  11. class DatosDomiciliosView
  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="DatosDomicilios_id_seq", allocationSize=1, initialValue=1)
  20. */
  21. private $id;
  22. /**
  23. * @var string|null
  24. *
  25. * @ORM\Column(name="direccion", type="string", length=255, nullable=true)
  26. */
  27. private $direccion;
  28. /**
  29. * @var string|null
  30. *
  31. * @ORM\Column(name="numero", type="string", length=255, nullable=true)
  32. */
  33. private $numero;
  34. /**
  35. * @var string|null
  36. *
  37. * @ORM\Column(name="piso", type="string", length=255, nullable=true)
  38. */
  39. private $piso;
  40. /**
  41. * @var string|null
  42. *
  43. * @ORM\Column(name="departamento", type="string", length=255, nullable=true)
  44. */
  45. private $departamento;
  46. /**
  47. * @var \DateTime
  48. *
  49. * @ORM\Column(name="created_at", type="custom_datetimetz", nullable=false)
  50. */
  51. private $createdAt;
  52. /**
  53. * @var \DateTime
  54. *
  55. * @ORM\Column(name="updated_at", type="custom_datetimetz", nullable=false)
  56. */
  57. private $updatedAt;
  58. /**
  59. * @var LocalidadesView
  60. *
  61. * @ORM\ManyToOne(targetEntity="LocalidadesView")
  62. * @ORM\JoinColumns({
  63. * @ORM\JoinColumn(name="localidad_id", referencedColumnName="id")
  64. * })
  65. */
  66. private $localidadId;
  67. /**
  68. * @var DatosPersonasView
  69. *
  70. * @ORM\ManyToOne(targetEntity="DatosPersonasView")
  71. * @ORM\JoinColumns({
  72. * @ORM\JoinColumn(name="datos_persona_id", referencedColumnName="id")
  73. * })
  74. */
  75. private $datosPersonaId;
  76. public function getId(): int
  77. {
  78. return $this->id;
  79. }
  80. public function setId(int $id): void
  81. {
  82. $this->id = $id;
  83. }
  84. public function getDireccion(): ?string
  85. {
  86. return $this->direccion;
  87. }
  88. public function setDireccion(?string $direccion): void
  89. {
  90. $this->direccion = $direccion;
  91. }
  92. public function getNumero(): ?string
  93. {
  94. return $this->numero;
  95. }
  96. public function setNumero(?string $numero): void
  97. {
  98. $this->numero = $numero;
  99. }
  100. public function getPiso(): ?string
  101. {
  102. return $this->piso;
  103. }
  104. public function setPiso(?string $piso): void
  105. {
  106. $this->piso = $piso;
  107. }
  108. public function getDepartamento(): ?string
  109. {
  110. return $this->departamento;
  111. }
  112. public function setDepartamento(?string $departamento): void
  113. {
  114. $this->departamento = $departamento;
  115. }
  116. public function getCreatedAt(): \DateTime
  117. {
  118. return $this->createdAt;
  119. }
  120. public function setCreatedAt(\DateTime $createdAt): void
  121. {
  122. $this->createdAt = $createdAt;
  123. }
  124. public function getUpdatedAt(): \DateTime
  125. {
  126. return $this->updatedAt;
  127. }
  128. public function setUpdatedAt(\DateTime $updatedAt): void
  129. {
  130. $this->updatedAt = $updatedAt;
  131. }
  132. public function getLocalidadId(): LocalidadesView
  133. {
  134. return $this->localidadId;
  135. }
  136. public function setLocalidadId(LocalidadesView $localidadId): void
  137. {
  138. $this->localidadId = $localidadId;
  139. }
  140. public function getDatosPersonaId(): DatosPersonasView
  141. {
  142. return $this->datosPersonaId;
  143. }
  144. public function setDatosPersonaId(DatosPersonasView $datosPersonaId): void
  145. {
  146. $this->datosPersonaId = $datosPersonaId;
  147. }
  148. }