<?phpnamespace App\Entity;use Doctrine\DBAL\Types\Types;use Doctrine\ORM\Mapping as ORM;/** * @ORM\Entity */class DocumentoEvento{ /** * @ORM\Id * @ORM\Column(type="integer") * @ORM\GeneratedValue(strategy="AUTO") */ private $id; /** * @ORM\Column(type="string", nullable=true) */ private $descripcion; /** * @ORM\Column(type="string", nullable=true) */ private $fileFile; /** * @ORM\Column(type="string", nullable=true) */ private $fileName; /** * @ORM\Column(type="integer", nullable=true) */ private $fileSize; /** * @ORM\Column(type="datetime", nullable=true) */ private $createdAt; /** * @ORM\Column(type="datetime", nullable=true) */ private $updatedAt; /** * @ORM\ManyToOne(targetEntity=\App\Entity\Evento::class, inversedBy="documentoEventos") * @ORM\JoinColumn(name="evento_id", referencedColumnName="id") */ private $evento; public function getId(): ?int { return $this->id; } public function getDescripcion(): ?string { return $this->descripcion; } public function setDescripcion(?string $descripcion): static { $this->descripcion = $descripcion; return $this; } public function getFileFile(): ?string { return $this->fileFile; } public function setFileFile(?string $fileFile): static { $this->fileFile = $fileFile; return $this; } public function getFileName(): ?string { return $this->fileName; } public function setFileName(?string $fileName): static { $this->fileName = $fileName; return $this; } public function getFileSize(): ?int { return $this->fileSize; } public function setFileSize(?int $fileSize): static { $this->fileSize = $fileSize; return $this; } public function getCreatedAt(): ?\DateTimeInterface { return $this->createdAt; } public function setCreatedAt(?\DateTimeInterface $createdAt): static { $this->createdAt = $createdAt; return $this; } public function getUpdatedAt(): ?\DateTimeInterface { return $this->updatedAt; } public function setUpdatedAt(?\DateTimeInterface $updatedAt): static { $this->updatedAt = $updatedAt; return $this; } public function getEvento(): ?Evento { return $this->evento; } public function setEvento(?Evento $evento): static { $this->evento = $evento; return $this; }}