src/Entity/Fielpet/View/DiagnosticoscustomView.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. * DiagnosticoscustomView
  7. *
  8. * @ORM\Table(name="DiagnosticosCustom", indexes={@ORM\Index(name="IDX_262C12D44F531111", columns={"vetFormId"})})
  9. * @ORM\Entity
  10. */
  11. class DiagnosticoscustomView
  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="DiagnosticosCustom_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 \DateTime
  30. *
  31. * @ORM\Column(name="createdAt", type="custom_datetimetz", nullable=false)
  32. */
  33. private $createdat;
  34. /**
  35. * @var \DateTime
  36. *
  37. * @ORM\Column(name="updatedAt", type="custom_datetimetz", nullable=false)
  38. */
  39. private $updatedat;
  40. /**
  41. * @var VetFormView
  42. *
  43. * @ORM\ManyToOne(targetEntity="VetFormView")
  44. * @ORM\JoinColumns({
  45. * @ORM\JoinColumn(name="vetFormId", referencedColumnName="id")
  46. * })
  47. */
  48. private $vetformid;
  49. public function getId(): ?int
  50. {
  51. return $this->id;
  52. }
  53. public function getNombre(): ?string
  54. {
  55. return $this->nombre;
  56. }
  57. public function setNombre(string $nombre): self
  58. {
  59. $this->nombre = $nombre;
  60. return $this;
  61. }
  62. public function getCreatedat(): ?\DateTimeInterface
  63. {
  64. return $this->createdat;
  65. }
  66. public function setCreatedat(\DateTimeInterface $createdat): self
  67. {
  68. $this->createdat = $createdat;
  69. return $this;
  70. }
  71. public function getUpdatedat(): ?\DateTimeInterface
  72. {
  73. return $this->updatedat;
  74. }
  75. public function setUpdatedat(\DateTimeInterface $updatedat): self
  76. {
  77. $this->updatedat = $updatedat;
  78. return $this;
  79. }
  80. public function getVetformid(): ?VetFormView
  81. {
  82. return $this->vetformid;
  83. }
  84. public function setVetformid(?VetFormView $vetformid): self
  85. {
  86. $this->vetformid = $vetformid;
  87. return $this;
  88. }
  89. }