src/Entity/Fielpet/View/FarmacologiamascotacustomView.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. * FarmacologiamascotacustomView
  7. *
  8. * @ORM\Table(name="`FarmacologiaMascotaCustom`", indexes={@ORM\Index(name="IDX_115500B04F531111", columns={"vetFormId"})})
  9. * @ORM\Entity
  10. */
  11. class FarmacologiamascotacustomView
  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="FarmacologiaMascotaCustom_id_seq", allocationSize=1, initialValue=1)
  20. */
  21. private $id;
  22. /**
  23. * @var string
  24. *
  25. * @ORM\Column(name="nombre", type="string", length=255, nullable=false)
  26. */
  27. private $nombre;
  28. /**
  29. * @var string
  30. *
  31. * @ORM\Column(name="dosaje", type="string", length=255, nullable=false)
  32. */
  33. private $dosaje;
  34. /**
  35. * @var string
  36. *
  37. * @ORM\Column(name="frecuencia", type="string", length=255, nullable=false)
  38. */
  39. private $frecuencia;
  40. /**
  41. * @var string
  42. *
  43. * @ORM\Column(name="duracion", type="string", length=255, nullable=false)
  44. */
  45. private $duracion;
  46. /**
  47. * @var \DateTime
  48. *
  49. * @ORM\Column(name="`createdAt`", type="custom_datetimetz", nullable=false)
  50. */
  51. private $createdat;
  52. /**
  53. * @var \DateTime
  54. *
  55. * @ORM\Column(name="`updatedAt`", type="custom_datetimetz", nullable=false)
  56. */
  57. private $updatedat;
  58. /**
  59. * @var VetFormView
  60. *
  61. * @ORM\ManyToOne(targetEntity="VetFormView")
  62. * @ORM\JoinColumns({
  63. * @ORM\JoinColumn(name="`vetFormId`", referencedColumnName="id")
  64. * })
  65. */
  66. private $vetformid;
  67. public function getId(): ?int
  68. {
  69. return $this->id;
  70. }
  71. public function getNombre(): ?string
  72. {
  73. return $this->nombre;
  74. }
  75. public function setNombre(string $nombre): self
  76. {
  77. $this->nombre = $nombre;
  78. return $this;
  79. }
  80. public function getDosaje(): ?string
  81. {
  82. return $this->dosaje;
  83. }
  84. public function setDosaje(string $dosaje): self
  85. {
  86. $this->dosaje = $dosaje;
  87. return $this;
  88. }
  89. public function getFrecuencia(): ?string
  90. {
  91. return $this->frecuencia;
  92. }
  93. public function setFrecuencia(string $frecuencia): self
  94. {
  95. $this->frecuencia = $frecuencia;
  96. return $this;
  97. }
  98. public function getDuracion(): ?string
  99. {
  100. return $this->duracion;
  101. }
  102. public function setDuracion(string $duracion): self
  103. {
  104. $this->duracion = $duracion;
  105. return $this;
  106. }
  107. public function getCreatedat(): ?\DateTimeInterface
  108. {
  109. return $this->createdat;
  110. }
  111. public function setCreatedat(\DateTimeInterface $createdat): self
  112. {
  113. $this->createdat = $createdat;
  114. return $this;
  115. }
  116. public function getUpdatedat(): ?\DateTimeInterface
  117. {
  118. return $this->updatedat;
  119. }
  120. public function setUpdatedat(\DateTimeInterface $updatedat): self
  121. {
  122. $this->updatedat = $updatedat;
  123. return $this;
  124. }
  125. public function getVetformid(): ?VetFormView
  126. {
  127. return $this->vetformid;
  128. }
  129. public function setVetformid(?VetFormView $vetformid): self
  130. {
  131. $this->vetformid = $vetformid;
  132. return $this;
  133. }
  134. }