src/Entity/Fielpet/View/DiagnosticosView.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. * DiagnosticosView
  7. *
  8. * @ORM\Table(name="diagnostico_view")
  9. * @ORM\Entity
  10. * @ORM\Entity(repositoryClass="App\Repository\Fielpet\View\DiagnosticosViewRepository")
  11. */
  12. class DiagnosticosView
  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="sinonimos", type="string", nullable=true, options={"default"="ARRAY[]::character varying[]"})
  31. */
  32. private $sinonimos = '';
  33. /**
  34. * @var \DateTime
  35. *
  36. * @ORM\Column(name="created_at", type="custom_datetimetz", nullable=false)
  37. */
  38. private $createdAt;
  39. /**
  40. * @var \DateTime
  41. *
  42. * @ORM\Column(name="updated_at", type="custom_datetimetz", nullable=false)
  43. */
  44. private $updatedat;
  45. /**
  46. * @return int
  47. */
  48. public function getId(): int
  49. {
  50. return $this->id;
  51. }
  52. /**
  53. * @param int $id
  54. */
  55. public function setId(int $id): void
  56. {
  57. $this->id = $id;
  58. }
  59. /**
  60. * @return string
  61. */
  62. public function getNombre(): string
  63. {
  64. return $this->nombre;
  65. }
  66. /**
  67. * @param string $nombre
  68. */
  69. public function setNombre(string $nombre): void
  70. {
  71. $this->nombre = $nombre;
  72. }
  73. /**
  74. * @return string|null
  75. */
  76. public function getSinonimos(): ?string
  77. {
  78. return $this->sinonimos;
  79. }
  80. /**
  81. * @param string|null $sinonimos
  82. */
  83. public function setSinonimos(?string $sinonimos): void
  84. {
  85. $this->sinonimos = $sinonimos;
  86. }
  87. /**
  88. * @return \DateTime
  89. */
  90. public function getCreatedAt(): ?\DateTime
  91. {
  92. return $this->createdAt;
  93. }
  94. /**
  95. * @param \DateTime $createdAt
  96. */
  97. public function setCreatedAt(\DateTime $createdAt): void
  98. {
  99. $this->createdAt = $createdAt;
  100. }
  101. /**
  102. * @return \DateTime
  103. */
  104. public function getUpdatedat(): ?\DateTime
  105. {
  106. return $this->updatedat;
  107. }
  108. /**
  109. * @param \DateTime $updatedat
  110. */
  111. public function setUpdatedat(\DateTime $updatedat): void
  112. {
  113. $this->updatedat = $updatedat;
  114. }
  115. }