src/Entity/DocumentoEvento.php line 11

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use Doctrine\DBAL\Types\Types;
  4. use Doctrine\ORM\Mapping as ORM;
  5. /**
  6. * @ORM\Entity
  7. */
  8. class DocumentoEvento
  9. {
  10. /**
  11. * @ORM\Id
  12. * @ORM\Column(type="integer")
  13. * @ORM\GeneratedValue(strategy="AUTO")
  14. */
  15. private $id;
  16. /**
  17. * @ORM\Column(type="string", nullable=true)
  18. */
  19. private $descripcion;
  20. /**
  21. * @ORM\Column(type="string", nullable=true)
  22. */
  23. private $fileFile;
  24. /**
  25. * @ORM\Column(type="string", nullable=true)
  26. */
  27. private $fileName;
  28. /**
  29. * @ORM\Column(type="integer", nullable=true)
  30. */
  31. private $fileSize;
  32. /**
  33. * @ORM\Column(type="datetime", nullable=true)
  34. */
  35. private $createdAt;
  36. /**
  37. * @ORM\Column(type="datetime", nullable=true)
  38. */
  39. private $updatedAt;
  40. /**
  41. * @ORM\ManyToOne(targetEntity=\App\Entity\Evento::class, inversedBy="documentoEventos")
  42. * @ORM\JoinColumn(name="evento_id", referencedColumnName="id")
  43. */
  44. private $evento;
  45. public function getId(): ?int
  46. {
  47. return $this->id;
  48. }
  49. public function getDescripcion(): ?string
  50. {
  51. return $this->descripcion;
  52. }
  53. public function setDescripcion(?string $descripcion): static
  54. {
  55. $this->descripcion = $descripcion;
  56. return $this;
  57. }
  58. public function getFileFile(): ?string
  59. {
  60. return $this->fileFile;
  61. }
  62. public function setFileFile(?string $fileFile): static
  63. {
  64. $this->fileFile = $fileFile;
  65. return $this;
  66. }
  67. public function getFileName(): ?string
  68. {
  69. return $this->fileName;
  70. }
  71. public function setFileName(?string $fileName): static
  72. {
  73. $this->fileName = $fileName;
  74. return $this;
  75. }
  76. public function getFileSize(): ?int
  77. {
  78. return $this->fileSize;
  79. }
  80. public function setFileSize(?int $fileSize): static
  81. {
  82. $this->fileSize = $fileSize;
  83. return $this;
  84. }
  85. public function getCreatedAt(): ?\DateTimeInterface
  86. {
  87. return $this->createdAt;
  88. }
  89. public function setCreatedAt(?\DateTimeInterface $createdAt): static
  90. {
  91. $this->createdAt = $createdAt;
  92. return $this;
  93. }
  94. public function getUpdatedAt(): ?\DateTimeInterface
  95. {
  96. return $this->updatedAt;
  97. }
  98. public function setUpdatedAt(?\DateTimeInterface $updatedAt): static
  99. {
  100. $this->updatedAt = $updatedAt;
  101. return $this;
  102. }
  103. public function getEvento(): ?Evento
  104. {
  105. return $this->evento;
  106. }
  107. public function setEvento(?Evento $evento): static
  108. {
  109. $this->evento = $evento;
  110. return $this;
  111. }
  112. }