src/Entity/Informationeps.php line 14

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\InformationepsRepository;
  4. use Doctrine\ORM\Mapping as ORM;
  5. use Symfony\Component\HttpFoundation\File\File;
  6. use Vich\UploaderBundle\Mapping\Annotation as Vich;
  7. /**
  8.  * @ORM\Entity(repositoryClass=InformationepsRepository::class)
  9.  * @Vich\Uploadable
  10.  */
  11. class Informationeps
  12. {
  13.     /**
  14.      * @ORM\Id
  15.      * @ORM\GeneratedValue
  16.      * @ORM\Column(type="integer")
  17.      */
  18.     private $id;
  19.     /**
  20.      * @ORM\Column(type="text")
  21.      */
  22.     private $name;
  23.     /**
  24.      * @ORM\Column(type="text", nullable=true)
  25.      */
  26.     private $address;
  27.     /**
  28.      * @ORM\Column(type="string", length=40)
  29.      */
  30.     private $telephone;
  31.     /**
  32.      * @ORM\Column(type="string", length=255)
  33.      */
  34.     private $email;
  35.       /**
  36.      * @Doctrine\ORM\Mapping\Column(type="string", length=255, nullable=true)
  37.      */
  38.     private $image;
  39.     /**
  40.      * @Vich\UploadableField(mapping="photo_eps", fileNameProperty="image")
  41.      */
  42.     private $fichier;
  43.     /**
  44.      * @Doctrine\ORM\Mapping\Column(type="string", length=255, nullable=true)
  45.      */
  46.     private $imagefiligrame;
  47.     /**
  48.      * @Vich\UploadableField(mapping="photo_eps", fileNameProperty="imagefiligrame")
  49.      */
  50.     private $fichierfiligrame;
  51.      /**
  52.      * @ORM\Column(type="datetime_immutable", nullable=true)
  53.      */
  54.     private $updateAt;
  55.     /**
  56.      * @Doctrine\ORM\Mapping\Column(type="string", length=255, nullable=true)
  57.      */
  58.     private $certification;
  59.     /**
  60.      * @Vich\UploadableField(mapping="photo_eps", fileNameProperty="certification")
  61.      */
  62.     private $fichiercertification;
  63.     /**
  64.      * @ORM\Column(type="text", nullable=true)
  65.      */
  66.     private $pourquoieps;
  67.     /**
  68.      * @ORM\Column(type="string", length=255, nullable=true)
  69.      */
  70.     private $ReglementInterieur
  71.     /**
  72.      * @Vich\UploadableField(mapping="reglement_interieur", fileNameProperty="ReglementInterieur")
  73.      */
  74.     private $fichierReglement;
  75.     /**
  76.      * @ORM\Column(type="string", length=255, nullable=true)
  77.      */
  78.     private $LivretAcceuil;  
  79.     /**
  80.      * @Vich\UploadableField(mapping="livret_acceuil", fileNameProperty="LivretAcceuil")
  81.     */
  82.     private $fichierLivret
  83.     public function getId(): ?int
  84.     {
  85.         return $this->id;
  86.     }
  87.     public function getName(): ?string
  88.     {
  89.         return $this->name;
  90.     }
  91.     public function setName(string $name): self
  92.     {
  93.         $this->name $name;
  94.         return $this;
  95.     }
  96.     public function getAddress(): ?string
  97.     {
  98.         return $this->address;
  99.     }
  100.     public function setAddress(?string $address): self
  101.     {
  102.         $this->address $address;
  103.         return $this;
  104.     }
  105.     public function getTelephone(): ?string
  106.     {
  107.         return $this->telephone;
  108.     }
  109.     public function setTelephone(string $telephone): self
  110.     {
  111.         $this->telephone $telephone;
  112.         return $this;
  113.     }
  114.     public function getEmail(): ?string
  115.     {
  116.         return $this->email;
  117.     }
  118.     public function setEmail(string $email): self
  119.     {
  120.         $this->email $email;
  121.         return $this;
  122.     }
  123.     public function setFichier(?File $image null)
  124.     {
  125.         $this->fichier $image;
  126.         if ($image) {
  127.             $this->updateAt = new \DateTimeImmutable();
  128.         }
  129.     }
  130.     public function getFichier()
  131.     {
  132.         return $this->fichier;
  133.     }
  134.     public function setImage($image)
  135.     {
  136.         $this->image $image;
  137.     }
  138.     public function getImage()
  139.     {
  140.         return $this->image;
  141.     }
  142.     //
  143.     public function setFichierFiligrame(?File $image null)
  144.     {
  145.         $this->fichierfiligrame $image;
  146.         if ($image) {
  147.             $this->updateAt = new \DateTimeImmutable();
  148.         }
  149.     }
  150.     public function getFichierFiligrame()
  151.     {
  152.         return $this->fichierfiligrame;
  153.     }
  154.     public function setImageFiligrame($image)
  155.     {
  156.         $this->imagefiligrame $image;
  157.     }
  158.     public function getImageFiligrame()
  159.     {
  160.         return $this->imagefiligrame;
  161.     }
  162.     public function getUpdateAt(): ?\DateTimeImmutable
  163.     {
  164.         return $this->updateAt;
  165.     }
  166.     public function setUpdateAt(?\DateTimeImmutable $updateAt): self
  167.     {
  168.         $this->updateAt $updateAt;
  169.         return $this;
  170.     }
  171.     public function setFichierCertification(?File $image null)
  172.     {
  173.         $this->fichiercertification $image;
  174.         if ($image) {
  175.             $this->updateAt = new \DateTimeImmutable();
  176.         }
  177.     }
  178.     public function getFichierCertification()
  179.     {
  180.         return $this->fichiercertification;
  181.     }
  182.     public function setCertification($image)
  183.     {
  184.         $this->certification $image;
  185.     }
  186.     public function getCertification()
  187.     {
  188.         return $this->certification;
  189.     }
  190.     public function getPourquoieps(): ?string
  191.     {
  192.         return $this->pourquoieps;
  193.     }
  194.     public function setPourquoieps(?string $pourquoieps): self
  195.     {
  196.         $this->pourquoieps $pourquoieps;
  197.         return $this;
  198.     }
  199.     public function getReglementInterieur(): ?string
  200.     {
  201.         return $this->ReglementInterieur;
  202.     }
  203.     public function setReglementInterieur(?string $ReglementInterieur): self
  204.     {
  205.         $this->ReglementInterieur $ReglementInterieur;
  206.         return $this;
  207.     }
  208.     public function getLivretAcceuil(): ?string
  209.     {
  210.         return $this->LivretAcceuil;
  211.     }
  212.     public function setLivretAcceuil(?string $LivretAcceuil): self
  213.     {
  214.         $this->LivretAcceuil $LivretAcceuil;
  215.         return $this;
  216.     } 
  217.    
  218.     public function getFichierReglement()
  219.     {
  220.         return $this->fichierReglement;
  221.     }
  222.     public function setFichierReglement(?File $ReglementInterieur null)
  223.     {
  224.         $this->fichierReglement $ReglementInterieur;
  225.         if ($ReglementInterieur) {
  226.             $this->updateAt = new \DateTimeImmutable();
  227.         }
  228.     } 
  229.     public function getFichierLivret()
  230.     {  
  231.         return $this->fichierLivret;
  232.     }
  233.     public function setFichierLivret(?File $LivrerAcceuil null)
  234.     {
  235.         $this->fichierLivret $LivrerAcceuil
  236.         if ($LivrerAcceuil) {
  237.             $this->updateAt = new \DateTimeImmutable();
  238.         }
  239.     }
  240. }