src/Entity/Fielpet/View/VacunasView.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. * VacunasView
  7. *
  8. * @ORM\Table(name="Vacunas", indexes={@ORM\Index(name="IDX_6B111E75BF7FE938", columns={"usuarioId"})})
  9. * @ORM\Entity
  10. */
  11. class VacunasView
  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="Vacunas_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|null
  30. *
  31. * @ORM\Column(name="animal", type="string", length=255, nullable=true)
  32. */
  33. private $animal;
  34. /**
  35. * @var bool|null
  36. *
  37. * @ORM\Column(name="is_active", type="boolean", nullable=true)
  38. */
  39. private $isActive = false;
  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 \UsuariosView
  54. *
  55. * @ORM\ManyToOne(targetEntity="UsuariosView")
  56. * @ORM\JoinColumns({
  57. * @ORM\JoinColumn(name="usuarioId", referencedColumnName="id")
  58. * })
  59. */
  60. private $usuarioid;
  61. public function getId(): ?int
  62. {
  63. return $this->id;
  64. }
  65. public function getNombre(): ?string
  66. {
  67. return $this->nombre;
  68. }
  69. public function setNombre(string $nombre): self
  70. {
  71. $this->nombre = $nombre;
  72. return $this;
  73. }
  74. public function getAnimal(): ?string
  75. {
  76. return $this->animal;
  77. }
  78. public function setAnimal(?string $animal): self
  79. {
  80. $this->animal = $animal;
  81. return $this;
  82. }
  83. public function getIsActive(): ?bool
  84. {
  85. return $this->isActive;
  86. }
  87. public function setIsActive(?bool $isActive): self
  88. {
  89. $this->isActive = $isActive;
  90. return $this;
  91. }
  92. public function getCreatedat(): ?\DateTimeInterface
  93. {
  94. return $this->createdat;
  95. }
  96. public function setCreatedat(\DateTimeInterface $createdat): self
  97. {
  98. $this->createdat = $createdat;
  99. return $this;
  100. }
  101. public function getUpdatedat(): ?\DateTimeInterface
  102. {
  103. return $this->updatedat;
  104. }
  105. public function setUpdatedat(\DateTimeInterface $updatedat): self
  106. {
  107. $this->updatedat = $updatedat;
  108. return $this;
  109. }
  110. public function getUsuarioid(): ?UsuariosView
  111. {
  112. return $this->usuarioid;
  113. }
  114. public function setUsuarioid(?UsuariosView $usuarioid): self
  115. {
  116. $this->usuarioid = $usuarioid;
  117. return $this;
  118. }
  119. public function isIsActive(): ?bool
  120. {
  121. return $this->isActive;
  122. }
  123. }