src/Entity/DepotFichier.php line 10
<?php
namespace App\Entity;
use App\Repository\DepotFichierRepository;
use Doctrine\DBAL\Types\Types;
use Doctrine\ORM\Mapping as ORM;
#[ORM\Entity(repositoryClass: DepotFichierRepository::class)]
class DepotFichier
{
#[ORM\Id]
#[ORM\GeneratedValue]
#[ORM\Column]
private ?int $id = null;
#[ORM\Column(length: 255)]
private ?string $prenom = null;
#[ORM\Column(length: 255)]
private ?string $nom = null;
#[ORM\Column(length: 255)]
private ?string $fonction = null;
#[ORM\Column(length: 10)]
private ?string $typeCollectivite = null;
#[ORM\Column(length: 255)]
private ?string $email = null;
#[ORM\Column(length: 20)]
private ?string $telephone = null;
#[ORM\Column(length: 255)]
private ?string $identifiantCollectivite = null;
#[ORM\Column(length: 255)]
private ?string $fichier = null;
#[ORM\Column(length: 255)]
private ?string $originalFilename = null;
#[ORM\Column(length: 20)]
private ?string $ip = null;
#[ORM\Column(type: Types::DATETIME_IMMUTABLE)]
private ?\DateTimeInterface $dateDepot = null;
public function getId(): ?int
{
return $this->id;
}
public function getPrenom(): ?string
{
return $this->prenom;
}
public function setPrenom(string $prenom): static
{
$this->prenom = $prenom;
return $this;
}
public function getNom(): ?string
{
return $this->nom;
}
public function setNom(string $nom): static
{
$this->nom = $nom;
return $this;
}
public function getFonction(): ?string
{
return $this->fonction;
}
public function setFonction(string $fonction): static
{
$this->fonction = $fonction;
return $this;
}
public function getTypeCollectivite(): ?string
{
return $this->typeCollectivite;
}
public function setTypeCollectivite(string $typeCollectivite): static
{
$this->typeCollectivite = $typeCollectivite;
return $this;
}
public function getEmail(): ?string
{
return $this->email;
}
public function setEmail(string $email): static
{
$this->email = $email;
return $this;
}
public function getTelephone(): ?string
{
return $this->telephone;
}
public function setTelephone(string $telephone): static
{
$this->telephone = $telephone;
return $this;
}
public function getIdentifiantCollectivite(): ?string
{
return $this->identifiantCollectivite;
}
public function setIdentifiantCollectivite(string $identifiantCollectivite): static
{
$this->identifiantCollectivite = $identifiantCollectivite;
return $this;
}
public function getFichier(): ?string
{
return $this->fichier;
}
public function setFichier(string $fichier): static
{
$this->fichier = $fichier;
return $this;
}
public function getOriginalFilename(): ?string
{
return $this->originalFilename;
}
public function setOriginalFilename(string $originalFilename): static
{
$this->originalFilename = $originalFilename;
return $this;
}
public function getIp(): ?string
{
return $this->ip;
}
public function setIp(string $ip): static
{
$this->ip = $ip;
return $this;
}
public function getDateDepot(): ?\DateTimeInterface
{
return $this->dateDepot;
}
public function setDateDepot(\DateTimeInterface $dateDepot): static
{
$this->dateDepot = $dateDepot;
return $this;
}
}