src/Entity/Fielpet/View/SintomaView.php line 14

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. * SintomaView
  7. *
  8. * @ORM\Table(name="sintoma_view")
  9. * @ORM\Entity
  10. * @ORM\Entity(repositoryClass="App\Repository\Fielpet\View\SintomaViewRepository")
  11. */
  12. class SintomaView
  13. {
  14. /**
  15. * @var int
  16. *
  17. * @ORM\Column(name="id", type="integer", nullable=false)
  18. * @ORM\Id
  19. */
  20. private $id;
  21. /**
  22. * @var string
  23. *
  24. * @ORM\Column(name="nombre", type="string", length=255, nullable=false)
  25. */
  26. private $nombre;
  27. /**
  28. * @var string|null
  29. *
  30. * @ORM\Column(name="clasificaciones", type="string", nullable=true, options={"default"="ARRAY[]::character varying[]"})
  31. */
  32. private $clasificaciones = '';
  33. /**
  34. * @var bool|null
  35. *
  36. * @ORM\Column(name="evidencia", type="boolean", nullable=true)
  37. */
  38. private $evidencia;
  39. /**
  40. * @var \DateTime
  41. *
  42. * @ORM\Column(name="created_at", type="custom_datetimetz", nullable=false)
  43. */
  44. private $createdAt;
  45. /**
  46. * @var \DateTime
  47. *
  48. * @ORM\Column(name="updated_at", type="custom_datetimetz", nullable=false)
  49. */
  50. private $updatedAt;
  51. /**
  52. * @return int
  53. */
  54. public function getId(): int
  55. {
  56. return $this->id;
  57. }
  58. /**
  59. * @param int $id
  60. */
  61. public function setId(int $id): void
  62. {
  63. $this->id = $id;
  64. }
  65. /**
  66. * @return string
  67. */
  68. public function getNombre(): string
  69. {
  70. return $this->nombre;
  71. }
  72. /**
  73. * @param string $nombre
  74. */
  75. public function setNombre(string $nombre): void
  76. {
  77. $this->nombre = $nombre;
  78. }
  79. /**
  80. * @return string|null
  81. */
  82. public function getClasificaciones(): ?string
  83. {
  84. return $this->clasificaciones;
  85. }
  86. /**
  87. * @param string|null $clasificaciones
  88. */
  89. public function setClasificaciones(?string $clasificaciones): void
  90. {
  91. $this->clasificaciones = $clasificaciones;
  92. }
  93. /**
  94. * @return bool|null
  95. */
  96. public function getEvidencia(): ?bool
  97. {
  98. return $this->evidencia;
  99. }
  100. /**
  101. * @param bool|null $evidencia
  102. */
  103. public function setEvidencia(?bool $evidencia): void
  104. {
  105. $this->evidencia = $evidencia;
  106. }
  107. /**
  108. * @return \DateTime
  109. */
  110. public function getCreatedAt(): \DateTime
  111. {
  112. return $this->createdAt;
  113. }
  114. /**
  115. * @param \DateTime $createdAt
  116. */
  117. public function setCreatedAt(\DateTime $createdAt): void
  118. {
  119. $this->createdAt = $createdAt;
  120. }
  121. /**
  122. * @return \DateTime
  123. */
  124. public function getUpdatedAt(): \DateTime
  125. {
  126. return $this->updatedAt;
  127. }
  128. /**
  129. * @param \DateTime $updatedAt
  130. */
  131. public function setUpdatedAt(\DateTime $updatedAt): void
  132. {
  133. $this->updatedAt = $updatedAt;
  134. }
  135. }