<?phpnamespace App\Entity;use App\Repository\FileRepository;use Doctrine\DBAL\Types\Types;use Doctrine\ORM\Mapping as ORM;#[ORM\Entity(repositoryClass: FileRepository::class)]class File{ #[ORM\Id] #[ORM\GeneratedValue] #[ORM\Column] private ?int $id = null; #[ORM\Column(type: Types::DATETIME_MUTABLE)] private ?\DateTimeInterface $created = null; #[ORM\Column(type: Types::DATETIME_MUTABLE)] private ?\DateTimeInterface $updated = null; #[ORM\Column(type: Types::TEXT)] private ?string $name = null; #[ORM\Column(type: Types::TEXT)] private ?string $path = null; #[ORM\Column(length: 255, nullable: true)] private ?string $size = null; #[ORM\Column(nullable: true)] private ?int $createdById = null; #[ORM\Column(nullable: true)] private ?int $updatedById = null; public function getId(): ?int { return $this->id; } public function getCreated(): ?\DateTimeInterface { return $this->created; } public function setCreated(\DateTimeInterface $created): static { $this->created = $created; return $this; } public function getUpdated(): ?\DateTimeInterface { return $this->updated; } public function setUpdated(\DateTimeInterface $updated): static { $this->updated = $updated; return $this; } public function getName(): ?string { return $this->name; } public function setName(string $name): static { $this->name = $name; return $this; } public function getPath(): ?string { return $this->path; } public function setPath(string $path): static { $this->path = $path; return $this; } public function getSize(): ?string { return $this->size; } public function setSize(?string $size): static { $this->size = $size; return $this; } public function getCreatedById(): ?int { return $this->createdById; } public function setCreatedById(?int $createdById): static { $this->createdById = $createdById; return $this; } public function getUpdatedById(): ?int { return $this->updatedById; } public function setUpdatedById(?int $updatedById): static { $this->updatedById = $updatedById; return $this; }}