src/Entity/Fielpet/View/DatospagosView.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. * DatospagosView
  7. *
  8. * @ORM\Table(name="DatosPagos", indexes={@ORM\Index(name="IDX_3AE953A4896A2938", columns={"datosPersonaId"}), @ORM\Index(name="IDX_3AE953A4702D1D47", columns={"tipo"})})
  9. * @ORM\Entity
  10. */
  11. class DatospagosView
  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="DatosPagos_id_seq", allocationSize=1, initialValue=1)
  20. */
  21. private $id;
  22. /**
  23. * @var string
  24. *
  25. * @ORM\Column(name="numero_pago", type="string", length=255, nullable=false)
  26. */
  27. private $numeroPago;
  28. /**
  29. * @var \DateTime
  30. *
  31. * @ORM\Column(name="vencimiento", type="custom_datetimetz", nullable=false)
  32. */
  33. private $vencimiento;
  34. /**
  35. * @var \DateTime
  36. *
  37. * @ORM\Column(name="createdAt", type="custom_datetimetz", nullable=false)
  38. */
  39. private $createdat;
  40. /**
  41. * @var \DateTime
  42. *
  43. * @ORM\Column(name="updatedAt", type="custom_datetimetz", nullable=false)
  44. */
  45. private $updatedat;
  46. /**
  47. * @var \DatospersonasView
  48. *
  49. * @ORM\ManyToOne(targetEntity="DatospersonasView")
  50. * @ORM\JoinColumns({
  51. * @ORM\JoinColumn(name="datosPersonaId", referencedColumnName="id")
  52. * })
  53. */
  54. private $datospersonaid;
  55. /**
  56. * @var \MediospagoView
  57. *
  58. * @ORM\ManyToOne(targetEntity="MediospagoView")
  59. * @ORM\JoinColumns({
  60. * @ORM\JoinColumn(name="tipo", referencedColumnName="id")
  61. * })
  62. */
  63. private $tipo;
  64. public function getId(): ?int
  65. {
  66. return $this->id;
  67. }
  68. public function getNumeroPago(): ?string
  69. {
  70. return $this->numeroPago;
  71. }
  72. public function setNumeroPago(string $numeroPago): self
  73. {
  74. $this->numeroPago = $numeroPago;
  75. return $this;
  76. }
  77. public function getVencimiento(): ?\DateTimeInterface
  78. {
  79. return $this->vencimiento;
  80. }
  81. public function setVencimiento(\DateTimeInterface $vencimiento): self
  82. {
  83. $this->vencimiento = $vencimiento;
  84. return $this;
  85. }
  86. public function getCreatedat(): ?\DateTimeInterface
  87. {
  88. return $this->createdat;
  89. }
  90. public function setCreatedat(\DateTimeInterface $createdat): self
  91. {
  92. $this->createdat = $createdat;
  93. return $this;
  94. }
  95. public function getUpdatedat(): ?\DateTimeInterface
  96. {
  97. return $this->updatedat;
  98. }
  99. public function setUpdatedat(\DateTimeInterface $updatedat): self
  100. {
  101. $this->updatedat = $updatedat;
  102. return $this;
  103. }
  104. public function getDatospersonaid(): ?DatosPersonasView
  105. {
  106. return $this->datospersonaid;
  107. }
  108. public function setDatospersonaid(?DatosPersonasView $datospersonaid): self
  109. {
  110. $this->datospersonaid = $datospersonaid;
  111. return $this;
  112. }
  113. public function getTipo(): ?MediospagoView
  114. {
  115. return $this->tipo;
  116. }
  117. public function setTipo(?MediospagoView $tipo): self
  118. {
  119. $this->tipo = $tipo;
  120. return $this;
  121. }
  122. }