src/Entity/Fielpet/View/AaBbvafileView.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. * AaBbvafileView
  7. *
  8. * @ORM\Table(name="aa_bbvafile_view", indexes={@ORM\Index(name="IDX_A383FBB5CF1679B9", columns={"archivo_adjunto_id"}), @ORM\Index(name="IDX_A383FBB552066F5", columns={"siniestroId"})})
  9. * @ORM\Entity
  10. */
  11. class AaBbvafileView
  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_BbvaFile_id_seq", allocationSize=1, initialValue=1)
  20. */
  21. private $id;
  22. /**
  23. * @var \DateTime
  24. *
  25. * @ORM\Column(name="createdAt", type="custom_datetimetz", nullable=false)
  26. */
  27. private $createdat;
  28. /**
  29. * @var \DateTime
  30. *
  31. * @ORM\Column(name="updatedAt", type="custom_datetimetz", nullable=false)
  32. */
  33. private $updatedat;
  34. /**
  35. * @var \ArchivoadjuntoView
  36. *
  37. * @ORM\ManyToOne(targetEntity="ArchivoadjuntoView")
  38. * @ORM\JoinColumns({
  39. * @ORM\JoinColumn(name="archivo_adjunto_id", referencedColumnName="id")
  40. * })
  41. */
  42. private $archivoAdjunto;
  43. /**
  44. * @var \SiniestroView
  45. *
  46. * @ORM\ManyToOne(targetEntity="SiniestroView")
  47. * @ORM\JoinColumns({
  48. * @ORM\JoinColumn(name="siniestroId", referencedColumnName="id")
  49. * })
  50. */
  51. private $siniestroid;
  52. public function getId(): ?int
  53. {
  54. return $this->id;
  55. }
  56. public function getCreatedat(): ?\DateTimeInterface
  57. {
  58. return $this->createdat;
  59. }
  60. public function setCreatedat(\DateTimeInterface $createdat): static
  61. {
  62. $this->createdat = $createdat;
  63. return $this;
  64. }
  65. public function getUpdatedat(): ?\DateTimeInterface
  66. {
  67. return $this->updatedat;
  68. }
  69. public function setUpdatedat(\DateTimeInterface $updatedat): static
  70. {
  71. $this->updatedat = $updatedat;
  72. return $this;
  73. }
  74. public function getArchivoAdjunto(): ?ArchivoadjuntoView
  75. {
  76. return $this->archivoAdjunto;
  77. }
  78. public function setArchivoAdjunto(?ArchivoadjuntoView $archivoAdjunto): static
  79. {
  80. $this->archivoAdjunto = $archivoAdjunto;
  81. return $this;
  82. }
  83. public function getSiniestroid(): ?SiniestroView
  84. {
  85. return $this->siniestroid;
  86. }
  87. public function setSiniestroid(?SiniestroView $siniestroid): static
  88. {
  89. $this->siniestroid = $siniestroid;
  90. return $this;
  91. }
  92. }