<?php
namespace App\Entity;
use App\Repository\UploadedfileRepository;
use Doctrine\ORM\Mapping as ORM;
#[ORM\Entity(repositoryClass: UploadedfileRepository::class)]
class Uploadedfile
{
#[ORM\Id]
#[ORM\GeneratedValue]
#[ORM\Column]
private ?int $id = null;
#[ORM\Column(length: 255)]
private ?string $name = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $type = null;
#[ORM\Column(nullable: true)]
private ?int $size = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $date = null;
public function getId(): ?int
{
return $this->id;
}
public function getName(): ?string
{
return $this->name;
}
public function setName(string $name): self
{
$this->name = $name;
return $this;
}
public function getType(): ?string
{
return $this->type;
}
public function setType(?string $type): self
{
$this->type = $type;
return $this;
}
public function getSize(): ?int
{
return $this->size;
}
public function setSize(?int $size): self
{
$this->size = $size;
return $this;
}
public function getDate(): ?string
{
return $this->date;
}
public function setDate(?string $date): self
{
$this->date = $date;
return $this;
}
}