src/Entity/Fielpet/View/SolicitudesView.php line 25

Open in your IDE?
  1. <?php
  2. namespace App\Entity\Fielpet\View;
  3. use Doctrine\ORM\Mapping as ORM;
  4. use App\Entity\Fielpet\View\CompaniasView;
  5. use App\Entity\Fielpet\View\DatospagosView;
  6. use App\Entity\Fielpet\View\PlanesView;
  7. use App\Entity\Fielpet\View\MascotasView;
  8. use App\Entity\Fielpet\View\DatosPersonasView;
  9. use App\Entity\Fielpet\View\UsuariosView;
  10. /**
  11. * SolicitudesView
  12. *
  13. * @ORM\Table(name="solicitudes_view", indexes={
  14. * @ORM\Index(name="IDX_848A5EC73B6F7B1F", columns={"datosPagoId"}),
  15. * @ORM\Index(name="IDX_848A5EC7993E228D", columns={"planId"}),
  16. * @ORM\Index(name="IDX_848A5EC79F276F38", columns={"mascotaId"}),
  17. * @ORM\Index(name="IDX_848A5EC7896A2938", columns={"datosPersonaId"}),
  18. * @ORM\Index(name="IDX_848A5EC7BF7FE938", columns={"usuarioId"})
  19. * })
  20. * @ORM\Entity
  21. */
  22. class SolicitudesView
  23. {
  24. /**
  25. * @var int
  26. * @ORM\Column(name="id", type="integer", nullable=false)
  27. * @ORM\Id
  28. * @ORM\GeneratedValue(strategy="SEQUENCE")
  29. * @ORM\SequenceGenerator(sequenceName="Solicitudes_id_seq", allocationSize=1, initialValue=1)
  30. */
  31. private $id;
  32. /**
  33. * @var string
  34. * @ORM\Column(name="email", type="string", length=255, nullable=false)
  35. */
  36. private $email;
  37. /**
  38. * @var string|null
  39. * @ORM\Column(name="plataforma", type="string", length=255, nullable=true)
  40. */
  41. private $plataforma;
  42. /**
  43. * @var int|null
  44. * @ORM\Column(name="id_portal", type="integer", nullable=true)
  45. */
  46. private $idPortal;
  47. /**
  48. * @var int|null
  49. * @ORM\Column(name="codigo_vendedor", type="integer", nullable=true)
  50. */
  51. private $codigoVendedor;
  52. /**
  53. * @var \DateTime|null
  54. * @ORM\Column(name="sync_at", type="custom_datetimetz", nullable=true)
  55. */
  56. private $syncAt;
  57. /**
  58. * @var string|null
  59. * @ORM\Column(name="poliza", type="string", length=255, nullable=true)
  60. */
  61. private $poliza;
  62. /**
  63. * @var string|null
  64. * @ORM\Column(name="certificado", type="string", length=255, nullable=true)
  65. */
  66. private $certificado;
  67. /**
  68. * @var \DateTime|null
  69. * @ORM\Column(name="fecha_contratacion", type="custom_datetimetz", nullable=true)
  70. */
  71. private $fechaContratacion;
  72. /**
  73. * @var \DateTime|null
  74. * @ORM\Column(name="fecha_inicio_vigencia", type="custom_datetimetz", nullable=true)
  75. */
  76. private $fechaInicioVigencia;
  77. /**
  78. * @var string|null
  79. * @ORM\Column(name="poliza_inicial", type="string", length=255, nullable=true)
  80. */
  81. private $polizaInicial;
  82. /**
  83. * @var string|null
  84. * @ORM\Column(name="campania", type="string", length=255, nullable=true)
  85. */
  86. private $campania;
  87. /**
  88. * @var \DateTime|null
  89. * @ORM\Column(name="cobertura_inicio_at", type="custom_datetimetz", nullable=true)
  90. */
  91. private $coberturaInicioAt;
  92. /**
  93. * @var \DateTime|null
  94. * @ORM\Column(name="cobertura_fin_at", type="custom_datetimetz", nullable=true)
  95. */
  96. private $coberturaFinAt;
  97. /**
  98. * @var \DateTime
  99. * @ORM\Column(name="created_at", type="custom_datetimetz", nullable=false)
  100. */
  101. private $createdAt;
  102. /**
  103. * @var \DateTime
  104. * @ORM\Column(name="updated_at", type="custom_datetimetz", nullable=false)
  105. */
  106. private $updatedAt;
  107. /**
  108. * @var CompaniasView|null
  109. * @ORM\ManyToOne(targetEntity="CompaniasView")
  110. * @ORM\JoinColumns({
  111. * @ORM\JoinColumn(name="compania_id", referencedColumnName="id")
  112. * })
  113. */
  114. private $companiaId;
  115. /**
  116. * @var DatospagosView
  117. * @ORM\ManyToOne(targetEntity="DatospagosView")
  118. * @ORM\JoinColumns({
  119. * @ORM\JoinColumn(name="datos_pago_id", referencedColumnName="id")
  120. * })
  121. */
  122. private $datosPagoId;
  123. /**
  124. * @var PlanesView
  125. * @ORM\ManyToOne(targetEntity="PlanesView")
  126. * @ORM\JoinColumns({
  127. * @ORM\JoinColumn(name="plan_id", referencedColumnName="id")
  128. * })
  129. */
  130. private $planId;
  131. /**
  132. * @var MascotasView
  133. * @ORM\ManyToOne(targetEntity="MascotasView")
  134. * @ORM\JoinColumns({
  135. * @ORM\JoinColumn(name="mascota_id", referencedColumnName="id")
  136. * })
  137. */
  138. private $mascotaId;
  139. /**
  140. * @var DatosPersonasView
  141. * @ORM\ManyToOne(targetEntity="DatosPersonasView")
  142. * @ORM\JoinColumns({
  143. * @ORM\JoinColumn(name="datos_persona_id", referencedColumnName="id")
  144. * })
  145. */
  146. private $datosPersonaId;
  147. /**
  148. * @var UsuariosView
  149. * @ORM\ManyToOne(targetEntity="UsuariosView")
  150. * @ORM\JoinColumns({
  151. * @ORM\JoinColumn(name="usuario_id", referencedColumnName="id")
  152. * })
  153. */
  154. private $usuarioId;
  155. public function getId(): ?int { return $this->id; }
  156. public function getEmail(): ?string { return $this->email; }
  157. public function setEmail(string $email): self { $this->email = $email; return $this; }
  158. public function getPlataforma(): ?string { return $this->plataforma; }
  159. public function setPlataforma(?string $plataforma): self { $this->plataforma = $plataforma; return $this; }
  160. public function getIdPortal(): ?int { return $this->idPortal; }
  161. public function setIdPortal(?int $idPortal): self { $this->idPortal = $idPortal; return $this; }
  162. public function getCodigoVendedor(): ?int { return $this->codigoVendedor; }
  163. public function setCodigoVendedor(?int $codigoVendedor): self { $this->codigoVendedor = $codigoVendedor; return $this; }
  164. public function getSyncAt(): ?\DateTimeInterface { return $this->syncAt; }
  165. public function setSyncAt(?\DateTimeInterface $syncAt): self { $this->syncAt = $syncAt; return $this; }
  166. public function getPoliza(): ?string { return $this->poliza; }
  167. public function setPoliza(?string $poliza): self { $this->poliza = $poliza; return $this; }
  168. public function getCertificado(): ?string { return $this->certificado; }
  169. public function setCertificado(?string $certificado): self { $this->certificado = $certificado; return $this; }
  170. public function getFechaContratacion(): ?\DateTimeInterface { return $this->fechaContratacion; }
  171. public function setFechaContratacion(?\DateTimeInterface $fechaContratacion): self { $this->fechaContratacion = $fechaContratacion; return $this; }
  172. public function getFechaInicioVigencia(): ?\DateTimeInterface { return $this->fechaInicioVigencia; }
  173. public function setFechaInicioVigencia(?\DateTimeInterface $fechaInicioVigencia): self { $this->fechaInicioVigencia = $fechaInicioVigencia; return $this; }
  174. public function getPolizaInicial(): ?string { return $this->polizaInicial; }
  175. public function setPolizaInicial(?string $polizaInicial): self { $this->polizaInicial = $polizaInicial; return $this; }
  176. public function getCampania(): ?string { return $this->campania; }
  177. public function setCampania(?string $campania): self { $this->campania = $campania; return $this; }
  178. public function getCoberturaInicioAt(): ?\DateTimeInterface { return $this->coberturaInicioAt; }
  179. public function setCoberturaInicioAt(?\DateTimeInterface $coberturaInicioAt): self { $this->coberturaInicioAt = $coberturaInicioAt; return $this; }
  180. public function getCoberturaFinAt(): ?\DateTimeInterface { return $this->coberturaFinAt; }
  181. public function setCoberturaFinAt(?\DateTimeInterface $coberturaFinAt): self { $this->coberturaFinAt = $coberturaFinAt; return $this; }
  182. public function getCreatedAt(): ?\DateTimeInterface { return $this->createdAt; }
  183. public function setCreatedAt(\DateTimeInterface $createdAt): self { $this->createdAt = $createdAt; return $this; }
  184. public function getUpdatedAt(): ?\DateTimeInterface { return $this->updatedAt; }
  185. public function setUpdatedAt(\DateTimeInterface $updatedAt): self { $this->updatedAt = $updatedAt; return $this; }
  186. public function getCompaniaId(): ?CompaniasView { return $this->companiaId; }
  187. public function setCompaniaId(?CompaniasView $companiaId): self { $this->companiaId = $companiaId; return $this; }
  188. public function getDatosPagoId(): ?DatospagosView { return $this->datosPagoId; }
  189. public function setDatosPagoId(?DatospagosView $datosPagoId): self { $this->datosPagoId = $datosPagoId; return $this; }
  190. public function getPlanId(): ?PlanesView { return $this->planId; }
  191. public function setPlanId(?PlanesView $planId): self { $this->planId = $planId; return $this; }
  192. public function getMascotaId(): ?MascotasView { return $this->mascotaId; }
  193. public function setMascotaId(?MascotasView $mascotaId): self { $this->mascotaId = $mascotaId; return $this; }
  194. public function getDatosPersonaId(): ?DatosPersonasView { return $this->datosPersonaId; }
  195. public function setDatosPersonaId(?DatosPersonasView $datosPersonaId): self { $this->datosPersonaId = $datosPersonaId; return $this; }
  196. public function getUsuarioId(): ?UsuariosView { return $this->usuarioId; }
  197. public function setUsuarioId(?UsuariosView $usuarioId): self { $this->usuarioId = $usuarioId; return $this; }
  198. }