src/Entity/Fielpet/View/AaDniView.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. * AaDniView
  7. *
  8. * @ORM\Table(name="AA_Dni", indexes={@ORM\Index(name="IDX_3BB8ACAECF1679B9", columns={"archivo_adjunto_id"}), @ORM\Index(name="IDX_3BB8ACAE52066F5", columns={"siniestroId"})})
  9. * @ORM\Entity
  10. */
  11. class AaDniView
  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="AA_Dni_id_seq", allocationSize=1, initialValue=1)
  20. */
  21. private $id;
  22. /**
  23. * @var string|null
  24. *
  25. * @ORM\Column(name="lado", type="string", length=255, nullable=true)
  26. */
  27. private $lado;
  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 \ArchivoadjuntoView
  42. *
  43. * @ORM\ManyToOne(targetEntity="ArchivoadjuntoView")
  44. * @ORM\JoinColumns({
  45. * @ORM\JoinColumn(name="archivo_adjunto_id", referencedColumnName="id")
  46. * })
  47. */
  48. private $archivoAdjunto;
  49. /**
  50. * @var \SiniestroView
  51. *
  52. * @ORM\ManyToOne(targetEntity="SiniestroView")
  53. * @ORM\JoinColumns({
  54. * @ORM\JoinColumn(name="siniestroId", referencedColumnName="id")
  55. * })
  56. */
  57. private $siniestroid;
  58. public function getId(): ?int
  59. {
  60. return $this->id;
  61. }
  62. public function getLado(): ?string
  63. {
  64. return $this->lado;
  65. }
  66. public function setLado(?string $lado): self
  67. {
  68. $this->lado = $lado;
  69. return $this;
  70. }
  71. public function getCreatedat(): ?\DateTimeInterface
  72. {
  73. return $this->createdat;
  74. }
  75. public function setCreatedat(\DateTimeInterface $createdat): self
  76. {
  77. $this->createdat = $createdat;
  78. return $this;
  79. }
  80. public function getUpdatedat(): ?\DateTimeInterface
  81. {
  82. return $this->updatedat;
  83. }
  84. public function setUpdatedat(\DateTimeInterface $updatedat): self
  85. {
  86. $this->updatedat = $updatedat;
  87. return $this;
  88. }
  89. public function getArchivoAdjunto(): ?ArchivoadjuntoView
  90. {
  91. return $this->archivoAdjunto;
  92. }
  93. public function setArchivoAdjunto(?ArchivoadjuntoView $archivoAdjunto): self
  94. {
  95. $this->archivoAdjunto = $archivoAdjunto;
  96. return $this;
  97. }
  98. public function getSiniestroid(): ?SiniestroView
  99. {
  100. return $this->siniestroid;
  101. }
  102. public function setSiniestroid(?SiniestroView $siniestroid): self
  103. {
  104. $this->siniestroid = $siniestroid;
  105. return $this;
  106. }
  107. }