src/Entity/Fielpet/View/EventosdespexternaView.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. * EventosdespexternaView
  7. *
  8. * @ORM\Table(name="EventosDespExterna", indexes={@ORM\Index(name="IDX_CC5A3ECBFB34125D", columns={"eventoId"}), @ORM\Index(name="IDX_CC5A3ECB613311E3", columns={"productoDesparacitacionId"})})
  9. * @ORM\Entity
  10. */
  11. class EventosdespexternaView
  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="EventosDespExterna_id_seq", allocationSize=1, initialValue=1)
  20. */
  21. private $id;
  22. /**
  23. * @var \DateTime|null
  24. *
  25. * @ORM\Column(name="refuerzo", type="custom_datetimetz", nullable=true)
  26. */
  27. private $refuerzo;
  28. /**
  29. * @var \DateTime
  30. *
  31. * @ORM\Column(name="createdAt", type="custom_datetimetz", nullable=false)
  32. */
  33. private $createdat;
  34. /**
  35. * @var \DateTime
  36. *
  37. * @ORM\Column(name="updatedAt", type="custom_datetimetz", nullable=false)
  38. */
  39. private $updatedat;
  40. /**
  41. * @var \EventosView
  42. *
  43. * @ORM\ManyToOne(targetEntity="EventosView")
  44. * @ORM\JoinColumns({
  45. * @ORM\JoinColumn(name="eventoId", referencedColumnName="id")
  46. * })
  47. */
  48. private $eventoid;
  49. /**
  50. * @var \ProductosdesparacitacionView
  51. *
  52. * @ORM\ManyToOne(targetEntity="ProductosdesparacitacionView")
  53. * @ORM\JoinColumns({
  54. * @ORM\JoinColumn(name="productoDesparacitacionId", referencedColumnName="id")
  55. * })
  56. */
  57. private $productodesparacitacionid;
  58. public function getId(): ?int
  59. {
  60. return $this->id;
  61. }
  62. public function getRefuerzo(): ?\DateTimeInterface
  63. {
  64. return $this->refuerzo;
  65. }
  66. public function setRefuerzo(?\DateTimeInterface $refuerzo): self
  67. {
  68. $this->refuerzo = $refuerzo;
  69. return $this;
  70. }
  71. public function getCreatedat(): ?\DateTimeInterface
  72. {
  73. return $this->createdat;
  74. }
  75. public function setCreatedat(\DateTimeInterface $createdat): self
  76. {
  77. $this->createdat = $createdat;
  78. return $this;
  79. }
  80. public function getUpdatedat(): ?\DateTimeInterface
  81. {
  82. return $this->updatedat;
  83. }
  84. public function setUpdatedat(\DateTimeInterface $updatedat): self
  85. {
  86. $this->updatedat = $updatedat;
  87. return $this;
  88. }
  89. public function getEventoid(): ?EventosView
  90. {
  91. return $this->eventoid;
  92. }
  93. public function setEventoid(?EventosView $eventoid): self
  94. {
  95. $this->eventoid = $eventoid;
  96. return $this;
  97. }
  98. public function getProductodesparacitacionid(): ?ProductosdesparacitacionView
  99. {
  100. return $this->productodesparacitacionid;
  101. }
  102. public function setProductodesparacitacionid(?ProductosdesparacitacionView $productodesparacitacionid): self
  103. {
  104. $this->productodesparacitacionid = $productodesparacitacionid;
  105. return $this;
  106. }
  107. }