src/Entity/Fielpet/View/SintomasistemaView.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. * SintomasistemaView
  7. *
  8. * @ORM\Table(name="SintomaSistema", indexes={@ORM\Index(name="IDX_DEBD0DF835AF0F32", columns={"sintomaId"}), @ORM\Index(name="IDX_DEBD0DF8738A08AE", columns={"sistemaId"})})
  9. * @ORM\Entity
  10. */
  11. class SintomasistemaView
  12. {
  13. /**
  14. * @var integer
  15. *
  16. * @ORM\Column(name="id", type="integer", nullable=false)
  17. * @ORM\Id
  18. * @ORM\GeneratedValue(strategy="IDENTITY")
  19. */
  20. private $id;
  21. /**
  22. * @var \DateTime
  23. *
  24. * @ORM\Column(name="createdAt", type="custom_datetimetz", nullable=false)
  25. */
  26. private $createdat;
  27. /**
  28. * @var \DateTime
  29. *
  30. * @ORM\Column(name="updatedAt", type="custom_datetimetz", nullable=false)
  31. */
  32. private $updatedat;
  33. /**
  34. * @var SintomaView
  35. *
  36. * @ORM\ManyToOne(targetEntity="SintomaView")
  37. * @ORM\JoinColumns({
  38. * @ORM\JoinColumn(name="sintomaId", referencedColumnName="id")
  39. * })
  40. */
  41. private $sintomaid;
  42. /**
  43. * @var SistemaView
  44. *
  45. * @ORM\ManyToOne(targetEntity="SistemaView")
  46. * @ORM\JoinColumns({
  47. * @ORM\JoinColumn(name="sistemaId", referencedColumnName="id")
  48. * })
  49. */
  50. private $sistemaid;
  51. public function getCreatedat(): ?\DateTimeInterface
  52. {
  53. return $this->createdat;
  54. }
  55. public function setCreatedat(\DateTimeInterface $createdat): self
  56. {
  57. $this->createdat = $createdat;
  58. return $this;
  59. }
  60. public function getUpdatedat(): ?\DateTimeInterface
  61. {
  62. return $this->updatedat;
  63. }
  64. public function setUpdatedat(\DateTimeInterface $updatedat): self
  65. {
  66. $this->updatedat = $updatedat;
  67. return $this;
  68. }
  69. public function getSintomaid(): ?SintomaView
  70. {
  71. return $this->sintomaid;
  72. }
  73. public function setSintomaid(?SintomaView $sintomaid): self
  74. {
  75. $this->sintomaid = $sintomaid;
  76. return $this;
  77. }
  78. public function getSistemaid(): ?SistemaView
  79. {
  80. return $this->sistemaid;
  81. }
  82. public function setSistemaid(?SistemaView $sistemaid): self
  83. {
  84. $this->sistemaid = $sistemaid;
  85. return $this;
  86. }
  87. public function getId(): ?int
  88. {
  89. return $this->id;
  90. }
  91. }