src/Entity/Fielpet/View/NormasView.php line 11

Open in your IDE?
  1. <?php
  2. namespace App\Entity\Fielpet\View;
  3. use Doctrine\ORM\Mapping as ORM;
  4. /**
  5. * NormasView
  6. *
  7. * @ORM\Table(name="normas_view")
  8. * @ORM\Entity
  9. * @ORM\Entity(repositoryClass="App\Repository\Fielpet\View\NormasViewRepository")
  10. */
  11. class NormasView
  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="Normas_id_seq", allocationSize=1, initialValue=1)
  20. */
  21. private $id;
  22. /**
  23. * @var VetFormView|null
  24. *
  25. * @ORM\ManyToOne(targetEntity="VetFormView")
  26. * @ORM\JoinColumns({
  27. * @ORM\JoinColumn(name="`vetFormId`", referencedColumnName="id")
  28. * })
  29. */
  30. private $vetForm;
  31. /**
  32. * @var int|null
  33. *
  34. * @ORM\Column(name="cumplimiento", type="integer", nullable=true)
  35. */
  36. private $cumplimiento;
  37. /**
  38. * @var string|null
  39. *
  40. * @ORM\Column(name="estado", type="string", length=255, nullable=true)
  41. */
  42. private $estado;
  43. /**
  44. * @var string|null
  45. *
  46. * @ORM\Column(name="texto_recomendacion", type="text", nullable=true)
  47. */
  48. private $textoRecomendacion;
  49. /**
  50. * @var string|null
  51. *
  52. * @ORM\Column(name="texto_observaciones", type="text", nullable=true)
  53. */
  54. private $textoObservaciones;
  55. /**
  56. * @var \DateTime
  57. *
  58. * @ORM\Column(name="`createdAt`", type="custom_datetimetz", nullable=false)
  59. */
  60. private $createdAt;
  61. /**
  62. * @var \DateTime
  63. *
  64. * @ORM\Column(name="`updatedAt`", type="custom_datetimetz", nullable=false)
  65. */
  66. private $updatedAt;
  67. public function getId(): ?int
  68. {
  69. return $this->id;
  70. }
  71. public function getVetForm(): ?VetFormView
  72. {
  73. return $this->vetForm;
  74. }
  75. public function setVetForm(?VetFormView $vetForm): static
  76. {
  77. $this->vetForm = $vetForm;
  78. return $this;
  79. }
  80. public function getCumplimiento(): ?int
  81. {
  82. return $this->cumplimiento;
  83. }
  84. public function setCumplimiento(?int $cumplimiento): static
  85. {
  86. $this->cumplimiento = $cumplimiento;
  87. return $this;
  88. }
  89. public function getEstado(): ?string
  90. {
  91. return $this->estado;
  92. }
  93. public function setEstado(?string $estado): static
  94. {
  95. $this->estado = $estado;
  96. return $this;
  97. }
  98. public function getTextoRecomendacion(): ?string
  99. {
  100. return $this->textoRecomendacion;
  101. }
  102. public function setTextoRecomendacion(?string $textoRecomendacion): static
  103. {
  104. $this->textoRecomendacion = $textoRecomendacion;
  105. return $this;
  106. }
  107. public function getTextoObservaciones(): ?string
  108. {
  109. return $this->textoObservaciones;
  110. }
  111. public function setTextoObservaciones(?string $textoObservaciones): static
  112. {
  113. $this->textoObservaciones = $textoObservaciones;
  114. return $this;
  115. }
  116. public function getCreatedAt(): ?\DateTime
  117. {
  118. return $this->createdAt;
  119. }
  120. public function setCreatedAt(\DateTime $createdAt): static
  121. {
  122. $this->createdAt = $createdAt;
  123. return $this;
  124. }
  125. public function getUpdatedAt(): ?\DateTime
  126. {
  127. return $this->updatedAt;
  128. }
  129. public function setUpdatedAt(\DateTime $updatedAt): static
  130. {
  131. $this->updatedAt = $updatedAt;
  132. return $this;
  133. }
  134. }