src/Entity/Fielpet/View/EventosSubVetformView.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. * EventosSubVetformView
  7. *
  8. * @ORM\Table(name="eventos_sub_vetform_view", indexes={@ORM\Index(name="IDX_200DC771FB34125D", columns={"eventoId"}), @ORM\Index(name="IDX_200DC771356F5F45", columns={"consultaId"}), @ORM\Index(name="IDX_200DC7717110ADCD", columns={"estudioMascotaId"}), @ORM\Index(name="IDX_200DC77165B1D2F9", columns={"internacionMascotaId"}), @ORM\Index(name="IDX_200DC771E48CB000", columns={"practicaMascotaId"}), @ORM\Index(name="IDX_200DC7719F60D4D", columns={"cirugiaMascotaId"})})
  9. * @ORM\Entity
  10. */
  11. class EventosSubVetformView
  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="EventosSubVetForm_id_seq", allocationSize=1, initialValue=1)
  20. */
  21. private $id;
  22. /**
  23. * @var \DateTime
  24. *
  25. * @ORM\Column(name="created_at", type="custom_datetimetz", nullable=false)
  26. */
  27. private $createdAt;
  28. /**
  29. * @var \DateTime
  30. *
  31. * @ORM\Column(name="updated_at", type="custom_datetimetz", nullable=false)
  32. */
  33. private $updatedAt;
  34. /**
  35. * @var \EventosView
  36. *
  37. * @ORM\ManyToOne(targetEntity="EventosView")
  38. * @ORM\JoinColumns({
  39. * @ORM\JoinColumn(name="evento_id", referencedColumnName="id")
  40. * })
  41. */
  42. private $eventoId;
  43. /**
  44. * @var \ConsultaView
  45. *
  46. * @ORM\ManyToOne(targetEntity="ConsultaView")
  47. * @ORM\JoinColumns({
  48. * @ORM\JoinColumn(name="consulta_id", referencedColumnName="id")
  49. * })
  50. */
  51. private $consultaId;
  52. /**
  53. * @var \EstudioMascotaView
  54. *
  55. * @ORM\ManyToOne(targetEntity="EstudioMascotaView")
  56. * @ORM\JoinColumns({
  57. * @ORM\JoinColumn(name="estudio_mascota_id", referencedColumnName="id")
  58. * })
  59. */
  60. private $estudioMascotaId;
  61. /**
  62. * @var \InternacionMascotaView
  63. *
  64. * @ORM\ManyToOne(targetEntity="InternacionMascotaView")
  65. * @ORM\JoinColumns({
  66. * @ORM\JoinColumn(name="internacion_mascota_id", referencedColumnName="id")
  67. * })
  68. */
  69. private $internacionMascotaId;
  70. /**
  71. * @var \PracticaMascotaView
  72. *
  73. * @ORM\ManyToOne(targetEntity="PracticaMascotaView")
  74. * @ORM\JoinColumns({
  75. * @ORM\JoinColumn(name="practica_mascota_id", referencedColumnName="id")
  76. * })
  77. */
  78. private $practicaMascotaId;
  79. /**
  80. * @var \CirugiaMascotaView
  81. *
  82. * @ORM\ManyToOne(targetEntity="CirugiaMascotaView")
  83. * @ORM\JoinColumns({
  84. * @ORM\JoinColumn(name="cirugia_mascota_id", referencedColumnName="id")
  85. * })
  86. */
  87. private $cirugiaMascotaId;
  88. public function getId(): ?int
  89. {
  90. return $this->id;
  91. }
  92. public function getCreatedAt()
  93. {
  94. return $this->createdAt;
  95. }
  96. public function setCreatedAt($createdAt): static
  97. {
  98. $this->createdAt = $createdAt;
  99. return $this;
  100. }
  101. public function getUpdatedAt()
  102. {
  103. return $this->updatedAt;
  104. }
  105. public function setUpdatedAt($updatedAt): static
  106. {
  107. $this->updatedAt = $updatedAt;
  108. return $this;
  109. }
  110. public function getEventoId(): ?EventosView
  111. {
  112. return $this->eventoId;
  113. }
  114. public function setEventoId(?EventosView $eventoId): static
  115. {
  116. $this->eventoId = $eventoId;
  117. return $this;
  118. }
  119. public function getConsultaId(): ?ConsultaView
  120. {
  121. return $this->consultaId;
  122. }
  123. public function setConsultaId(?ConsultaView $consultaId): static
  124. {
  125. $this->consultaId = $consultaId;
  126. return $this;
  127. }
  128. public function getEstudioMascotaId(): ?EstudioMascotaView
  129. {
  130. return $this->estudioMascotaId;
  131. }
  132. public function setEstudioMascotaId(?EstudioMascotaView $estudioMascotaId): static
  133. {
  134. $this->estudioMascotaId = $estudioMascotaId;
  135. return $this;
  136. }
  137. public function getInternacionMascotaId(): ?InternacionmascotaView
  138. {
  139. return $this->internacionMascotaId;
  140. }
  141. public function setInternacionMascotaId(?InternacionmascotaView $internacionMascotaId): static
  142. {
  143. $this->internacionMascotaId = $internacionMascotaId;
  144. return $this;
  145. }
  146. public function getPracticaMascotaId(): ?PracticaMascotaView
  147. {
  148. return $this->practicaMascotaId;
  149. }
  150. public function setPracticaMascotaId(?PracticaMascotaView $practicaMascotaId): static
  151. {
  152. $this->practicaMascotaId = $practicaMascotaId;
  153. return $this;
  154. }
  155. public function getCirugiaMascotaId(): ?CirugiaMascotaView
  156. {
  157. return $this->cirugiaMascotaId;
  158. }
  159. public function setCirugiaMascotaId(?CirugiaMascotaView $cirugiaMascotaId): static
  160. {
  161. $this->cirugiaMascotaId = $cirugiaMascotaId;
  162. return $this;
  163. }
  164. }