src/Entity/Fielpet/View/VetcontactView.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. * VetcontactView
  7. *
  8. * @ORM\Table(name="VetContact", indexes={@ORM\Index(name="IDX_77DDC522356F5F45", columns={"consultaId"}), @ORM\Index(name="IDX_77DDC5227110ADCD", columns={"estudioMascotaId"}), @ORM\Index(name="IDX_77DDC52265B1D2F9", columns={"internacionMascotaId"}), @ORM\Index(name="IDX_77DDC522E48CB000", columns={"practicaMascotaId"}), @ORM\Index(name="IDX_77DDC5229F60D4D", columns={"cirugiaMascotaId"}), @ORM\Index(name="IDX_77DDC5224F531111", columns={"vetFormId"})})
  9. * @ORM\Entity
  10. */
  11. class VetcontactView
  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="VetContact_id_seq", allocationSize=1, initialValue=1)
  20. */
  21. private $id;
  22. /**
  23. * @var string|null
  24. *
  25. * @ORM\Column(name="nombre", type="string", length=255, nullable=true)
  26. */
  27. private $nombre;
  28. /**
  29. * @var string|null
  30. *
  31. * @ORM\Column(name="telefono", type="string", length=255, nullable=true)
  32. */
  33. private $telefono;
  34. /**
  35. * @var string|null
  36. *
  37. * @ORM\Column(name="mail", type="string", length=255, nullable=true)
  38. */
  39. private $mail;
  40. /**
  41. * @var \DateTime
  42. *
  43. * @ORM\Column(name="createdAt", type="custom_datetimetz", nullable=false)
  44. */
  45. private $createdat;
  46. /**
  47. * @var \DateTime
  48. *
  49. * @ORM\Column(name="updatedAt", type="custom_datetimetz", nullable=false)
  50. */
  51. private $updatedat;
  52. /**
  53. * @var \ConsultaView
  54. *
  55. * @ORM\ManyToOne(targetEntity="ConsultaView")
  56. * @ORM\JoinColumns({
  57. * @ORM\JoinColumn(name="consultaId", referencedColumnName="id")
  58. * })
  59. */
  60. private $consultaid;
  61. /**
  62. * @var \EstudiomascotaView
  63. *
  64. * @ORM\ManyToOne(targetEntity="EstudiomascotaView")
  65. * @ORM\JoinColumns({
  66. * @ORM\JoinColumn(name="estudioMascotaId", referencedColumnName="id")
  67. * })
  68. */
  69. private $estudiomascotaid;
  70. /**
  71. * @var \InternacionmascotaView
  72. *
  73. * @ORM\ManyToOne(targetEntity="InternacionmascotaView")
  74. * @ORM\JoinColumns({
  75. * @ORM\JoinColumn(name="internacionMascotaId", referencedColumnName="id")
  76. * })
  77. */
  78. private $internacionmascotaid;
  79. /**
  80. * @var \PracticamascotaView
  81. *
  82. * @ORM\ManyToOne(targetEntity="PracticamascotaView")
  83. * @ORM\JoinColumns({
  84. * @ORM\JoinColumn(name="practicaMascotaId", referencedColumnName="id")
  85. * })
  86. */
  87. private $practicamascotaid;
  88. /**
  89. * @var \CirugiamascotaView
  90. *
  91. * @ORM\ManyToOne(targetEntity="CirugiamascotaView")
  92. * @ORM\JoinColumns({
  93. * @ORM\JoinColumn(name="cirugiaMascotaId", referencedColumnName="id")
  94. * })
  95. */
  96. private $cirugiamascotaid;
  97. /**
  98. * @var \VetFormView
  99. *
  100. * @ORM\ManyToOne(targetEntity="VetFormView")
  101. * @ORM\JoinColumns({
  102. * @ORM\JoinColumn(name="vetFormId", referencedColumnName="id")
  103. * })
  104. */
  105. private $vetformid;
  106. public function getId(): ?int
  107. {
  108. return $this->id;
  109. }
  110. public function getNombre(): ?string
  111. {
  112. return $this->nombre;
  113. }
  114. public function setNombre(?string $nombre): self
  115. {
  116. $this->nombre = $nombre;
  117. return $this;
  118. }
  119. public function getTelefono(): ?string
  120. {
  121. return $this->telefono;
  122. }
  123. public function setTelefono(?string $telefono): self
  124. {
  125. $this->telefono = $telefono;
  126. return $this;
  127. }
  128. public function getMail(): ?string
  129. {
  130. return $this->mail;
  131. }
  132. public function setMail(?string $mail): self
  133. {
  134. $this->mail = $mail;
  135. return $this;
  136. }
  137. public function getCreatedat(): ?\DateTimeInterface
  138. {
  139. return $this->createdat;
  140. }
  141. public function setCreatedat(\DateTimeInterface $createdat): self
  142. {
  143. $this->createdat = $createdat;
  144. return $this;
  145. }
  146. public function getUpdatedat(): ?\DateTimeInterface
  147. {
  148. return $this->updatedat;
  149. }
  150. public function setUpdatedat(\DateTimeInterface $updatedat): self
  151. {
  152. $this->updatedat = $updatedat;
  153. return $this;
  154. }
  155. public function getConsultaid(): ?ConsultaView
  156. {
  157. return $this->consultaid;
  158. }
  159. public function setConsultaid(?ConsultaView $consultaid): self
  160. {
  161. $this->consultaid = $consultaid;
  162. return $this;
  163. }
  164. public function getEstudiomascotaid(): ?EstudiomascotaView
  165. {
  166. return $this->estudiomascotaid;
  167. }
  168. public function setEstudiomascotaid(?EstudiomascotaView $estudiomascotaid): self
  169. {
  170. $this->estudiomascotaid = $estudiomascotaid;
  171. return $this;
  172. }
  173. public function getInternacionmascotaid(): ?InternacionmascotaView
  174. {
  175. return $this->internacionmascotaid;
  176. }
  177. public function setInternacionmascotaid(?InternacionmascotaView $internacionmascotaid): self
  178. {
  179. $this->internacionmascotaid = $internacionmascotaid;
  180. return $this;
  181. }
  182. public function getPracticamascotaid(): ?PracticaMascotaView
  183. {
  184. return $this->practicamascotaid;
  185. }
  186. public function setPracticamascotaid(?PracticaMascotaView $practicamascotaid): self
  187. {
  188. $this->practicamascotaid = $practicamascotaid;
  189. return $this;
  190. }
  191. public function getCirugiamascotaid(): ?CirugiamascotaView
  192. {
  193. return $this->cirugiamascotaid;
  194. }
  195. public function setCirugiamascotaid(?CirugiamascotaView $cirugiamascotaid): self
  196. {
  197. $this->cirugiamascotaid = $cirugiamascotaid;
  198. return $this;
  199. }
  200. public function getVetformid(): ?VetFormView
  201. {
  202. return $this->vetformid;
  203. }
  204. public function setVetformid(?VetFormView $vetformid): self
  205. {
  206. $this->vetformid = $vetformid;
  207. return $this;
  208. }
  209. }