src/Entity/Fielpet/View/RecomendacionMascotaView.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. * RecomendacionMascotaView
  7. *
  8. * @ORM\Table(name="recomendacion_mascota_view", indexes={@ORM\Index(name="IDX_67C7B6074F531111", columns={"vetFormId"}), @ORM\Index(name="IDX_67C7B60752066F5", columns={"siniestroId"})})
  9. * @ORM\Entity
  10. */
  11. class RecomendacionMascotaView
  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="RecomendacionMascota_id_seq", allocationSize=1, initialValue=1)
  20. */
  21. private $id;
  22. /**
  23. * @var string|null
  24. *
  25. * @ORM\Column(name="recomendacion", type="string", length=255, nullable=true)
  26. */
  27. private $recomendacion;
  28. /**
  29. * @var \DateTime
  30. *
  31. * @ORM\Column(name="created_at", type="custom_datetimetz", nullable=false)
  32. */
  33. private $createdAt;
  34. /**
  35. * @var \DateTime
  36. *
  37. * @ORM\Column(name="updated_at", type="custom_datetimetz", nullable=false)
  38. */
  39. private $updatedAt;
  40. /**
  41. * @var VetFormView
  42. *
  43. * @ORM\ManyToOne(targetEntity="VetFormView")
  44. * @ORM\JoinColumns({
  45. * @ORM\JoinColumn(name="vetform_id", referencedColumnName="id")
  46. * })
  47. */
  48. private $vetformId;
  49. /**
  50. * @var SiniestroView
  51. *
  52. * @ORM\ManyToOne(targetEntity="SiniestroView")
  53. * @ORM\JoinColumns({
  54. * @ORM\JoinColumn(name="siniestro_id", referencedColumnName="id")
  55. * })
  56. */
  57. private $siniestroId;
  58. /**
  59. * @return int
  60. */
  61. public function getId(): int
  62. {
  63. return $this->id;
  64. }
  65. /**
  66. * @param int $id
  67. */
  68. public function setId(int $id): void
  69. {
  70. $this->id = $id;
  71. }
  72. /**
  73. * @return string|null
  74. */
  75. public function getRecomendacion(): ?string
  76. {
  77. return $this->recomendacion;
  78. }
  79. /**
  80. * @param string|null $recomendacion
  81. */
  82. public function setRecomendacion(?string $recomendacion): void
  83. {
  84. $this->recomendacion = $recomendacion;
  85. }
  86. /**
  87. * @return \DateTime
  88. */
  89. public function getCreatedAt(): \DateTime
  90. {
  91. return $this->createdAt;
  92. }
  93. /**
  94. * @param \DateTime $createdAt
  95. */
  96. public function setCreatedAt(\DateTime $createdAt): void
  97. {
  98. $this->createdAt = $createdAt;
  99. }
  100. /**
  101. * @return \DateTime
  102. */
  103. public function getUpdatedAt(): \DateTime
  104. {
  105. return $this->updatedAt;
  106. }
  107. /**
  108. * @param \DateTime $updatedAt
  109. */
  110. public function setUpdatedAt(\DateTime $updatedAt): void
  111. {
  112. $this->updatedAt = $updatedAt;
  113. }
  114. /**
  115. * @return VetFormView
  116. */
  117. public function getVetformId(): VetFormView
  118. {
  119. return $this->vetformId;
  120. }
  121. /**
  122. * @param VetFormView $vetformId
  123. */
  124. public function setVetformId(VetFormView $vetformId): void
  125. {
  126. $this->vetformId = $vetformId;
  127. }
  128. /**
  129. * @return SiniestroView
  130. */
  131. public function getSiniestroId(): SiniestroView
  132. {
  133. return $this->siniestroId;
  134. }
  135. /**
  136. * @param SiniestroView $siniestroId
  137. */
  138. public function setSiniestroId(SiniestroView $siniestroId): void
  139. {
  140. $this->siniestroId = $siniestroId;
  141. }
  142. }