src/Entity/AttachementEtiquette.php line 10

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use Doctrine\ORM\Mapping as ORM;
  4. /**
  5.  * @ORM\Entity(repositoryClass="App\Repository\AttachementEtiquetteRepository")
  6.  */
  7. class AttachementEtiquette
  8. {
  9.     /**
  10.      * @ORM\Id()
  11.      * @ORM\GeneratedValue()
  12.      * @ORM\Column(type="integer")
  13.      */
  14.     private $id;
  15.     /**
  16.      * @ORM\Column(type="string", length=255, nullable=true)
  17.      */
  18.     private $path;
  19.     /**
  20.      * @ORM\Column(type="string", length=255, nullable=true)
  21.      */
  22.     private $type;
  23.     /**
  24.      * @ORM\Column(type="datetime", nullable=true)
  25.      */
  26.     private $dateCreation;
  27.     /**
  28.      * @ORM\ManyToOne(targetEntity="App\Entity\Etiquette", inversedBy="attachementEtiquettes")
  29.      */
  30.     private $idEtiquette;
  31.     /**
  32.      * @ORM\Column(type="integer", nullable=true)
  33.      */
  34.     private $size;
  35.     /**
  36.      * @ORM\Column(type="string", length=255, nullable=true)
  37.      */
  38.     private $extension;
  39.     /**
  40.      * @ORM\Column(type="string", length=255, nullable=true)
  41.      */
  42.     private $statut;
  43.     public function getId(): ?int
  44.     {
  45.         return $this->id;
  46.     }
  47.     public function getPath(): ?string
  48.     {
  49.         return $this->path;
  50.     }
  51.     public function setPath(?string $path): self
  52.     {
  53.         $this->path $path;
  54.         return $this;
  55.     }
  56.     public function getType(): ?string
  57.     {
  58.         return $this->type;
  59.     }
  60.     public function setType(?string $type): self
  61.     {
  62.         $this->type $type;
  63.         return $this;
  64.     }
  65.     public function getDateCreation(): ?\DateTimeInterface
  66.     {
  67.         return $this->dateCreation;
  68.     }
  69.     public function setDateCreation(?\DateTimeInterface $dateCreation): self
  70.     {
  71.         $this->dateCreation $dateCreation;
  72.         return $this;
  73.     }
  74.     public function getIdEtiquette(): ?Etiquette
  75.     {
  76.         return $this->idEtiquette;
  77.     }
  78.     public function setIdEtiquette(?Etiquette $idEtiquette): self
  79.     {
  80.         $this->idEtiquette $idEtiquette;
  81.         return $this;
  82.     }
  83.     public function getSize(): ?int
  84.     {
  85.         return $this->size;
  86.     }
  87.     public function setSize(?int $size): self
  88.     {
  89.         $this->size $size;
  90.         return $this;
  91.     }
  92.     public function getExtension(): ?string
  93.     {
  94.         return $this->extension;
  95.     }
  96.     public function setExtension(?string $extension): self
  97.     {
  98.         $this->extension $extension;
  99.         return $this;
  100.     }
  101.     public function getStatut(): ?string
  102.     {
  103.         return $this->statut;
  104.     }
  105.     public function setStatut(?string $statut): self
  106.     {
  107.         $this->statut $statut;
  108.         return $this;
  109.     }
  110. }