src/Entity/DepotFichier.php line 10

  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\DepotFichierRepository;
  4. use Doctrine\DBAL\Types\Types;
  5. use Doctrine\ORM\Mapping as ORM;
  6. #[ORM\Entity(repositoryClassDepotFichierRepository::class)]
  7. class DepotFichier
  8. {
  9.     #[ORM\Id]
  10.     #[ORM\GeneratedValue]
  11.     #[ORM\Column]
  12.     private ?int $id null;
  13.     #[ORM\Column(length255)]
  14.     private ?string $prenom null;
  15.     #[ORM\Column(length255)]
  16.     private ?string $nom null;
  17.     #[ORM\Column(length255)]
  18.     private ?string $fonction null;
  19.     #[ORM\Column(length10)]
  20.     private ?string $typeCollectivite null;
  21.     #[ORM\Column(length255)]
  22.     private ?string $email null;
  23.     #[ORM\Column(length20)]
  24.     private ?string $telephone null;
  25.     #[ORM\Column(length255)]
  26.     private ?string $identifiantCollectivite null;
  27.     #[ORM\Column(length255)]
  28.     private ?string $fichier null;
  29.     #[ORM\Column(length255)]
  30.     private ?string $originalFilename null;
  31.     #[ORM\Column(length20)]
  32.     private ?string $ip null;
  33.     #[ORM\Column(typeTypes::DATETIME_IMMUTABLE)]
  34.     private ?\DateTimeInterface $dateDepot null;
  35.     public function getId(): ?int
  36.     {
  37.         return $this->id;
  38.     }
  39.     public function getPrenom(): ?string
  40.     {
  41.         return $this->prenom;
  42.     }
  43.     public function setPrenom(string $prenom): static
  44.     {
  45.         $this->prenom $prenom;
  46.         return $this;
  47.     }
  48.     public function getNom(): ?string
  49.     {
  50.         return $this->nom;
  51.     }
  52.     public function setNom(string $nom): static
  53.     {
  54.         $this->nom $nom;
  55.         return $this;
  56.     }
  57.     public function getFonction(): ?string
  58.     {
  59.         return $this->fonction;
  60.     }
  61.     public function setFonction(string $fonction): static
  62.     {
  63.         $this->fonction $fonction;
  64.         return $this;
  65.     }
  66.     public function getTypeCollectivite(): ?string
  67.     {
  68.         return $this->typeCollectivite;
  69.     }
  70.     public function setTypeCollectivite(string $typeCollectivite): static
  71.     {
  72.         $this->typeCollectivite $typeCollectivite;
  73.         return $this;
  74.     }
  75.     public function getEmail(): ?string
  76.     {
  77.         return $this->email;
  78.     }
  79.     public function setEmail(string $email): static
  80.     {
  81.         $this->email $email;
  82.         return $this;
  83.     }
  84.     public function getTelephone(): ?string
  85.     {
  86.         return $this->telephone;
  87.     }
  88.     public function setTelephone(string $telephone): static
  89.     {
  90.         $this->telephone $telephone;
  91.         return $this;
  92.     }
  93.     public function getIdentifiantCollectivite(): ?string
  94.     {
  95.         return $this->identifiantCollectivite;
  96.     }
  97.     public function setIdentifiantCollectivite(string $identifiantCollectivite): static
  98.     {
  99.         $this->identifiantCollectivite $identifiantCollectivite;
  100.         return $this;
  101.     }
  102.     public function getFichier(): ?string
  103.     {
  104.         return $this->fichier;
  105.     }
  106.     public function setFichier(string $fichier): static
  107.     {
  108.         $this->fichier $fichier;
  109.         return $this;
  110.     }
  111.     public function getOriginalFilename(): ?string
  112.     {
  113.         return $this->originalFilename;
  114.     }
  115.     public function setOriginalFilename(string $originalFilename): static
  116.     {
  117.         $this->originalFilename $originalFilename;
  118.         return $this;
  119.     }
  120.     public function getIp(): ?string
  121.     {
  122.         return $this->ip;
  123.     }
  124.     public function setIp(string $ip): static
  125.     {
  126.         $this->ip $ip;
  127.         return $this;
  128.     }
  129.     public function getDateDepot(): ?\DateTimeInterface
  130.     {
  131.         return $this->dateDepot;
  132.     }
  133.     public function setDateDepot(\DateTimeInterface $dateDepot): static
  134.     {
  135.         $this->dateDepot $dateDepot;
  136.         return $this;
  137.     }
  138. }