src/Entity/EvenementFormulaire.php line 17

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\BlogRepository;
  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=BlogRepository::class)
  9.  */
  10. /**
  11.  * @ORM\Entity
  12.  * @Vich\Uploadable
  13.  */
  14. class EvenementFormulaire
  15. {
  16.     /**
  17.      * @ORM\Id
  18.      * @ORM\GeneratedValue
  19.      * @ORM\Column(type="integer")
  20.      */
  21.     private $id;
  22.     
  23.   
  24.     /**
  25.      * @ORM\Column(type="integer")
  26.      */
  27.     private $evenement;
  28.     /**
  29.      * @ORM\Column(type="integer")
  30.      */
  31.     private $user;
  32.     /**
  33.      * @ORM\Column(type="boolean")
  34.      */
  35.     private $pay;
  36.      /**
  37.      * @ORM\Column(type="string", length=255)
  38.      */
  39.     private $montant;
  40.     /**
  41.      * @ORM\Column(type="string", length=255)
  42.      */
  43.     private $nom;
  44.     /**
  45.      * @ORM\Column(type="string", length=255)
  46.      */
  47.     private $prenom;
  48.     /**
  49.      * @ORM\Column(type="string", length=255)
  50.      */
  51.     private $email;
  52.      /**
  53.      * @ORM\Column(type="string", length=255)
  54.      */
  55.     
  56.     private $phone;
  57.     /**
  58.      * @ORM\Column(type="string", length=255)
  59.      */
  60.     private $type;
  61.   
  62.     public function getId(): ?int
  63.     {
  64.         return $this->id;
  65.     }
  66.     public function getNom(): ?string
  67.     {
  68.         return $this->nom;
  69.     }
  70.     public function setNom(string $nom): self
  71.     {
  72.         $this->nom $nom;
  73.         return $this;
  74.     }
  75.     public function getPrenom(): ?string
  76.     {
  77.         return $this->prenom;
  78.     }
  79.     public function setPrenom(string $prenom): self
  80.     {
  81.         $this->prenom $prenom;
  82.         return $this;
  83.     }
  84.     public function getPhone(): ?string
  85.     {
  86.         return $this->phone;
  87.     }
  88.     public function setPhone(string $phone): self
  89.     {
  90.         $this->phone $phone;
  91.         return $this;
  92.     }
  93.     /**** add email  */
  94.     public function getEmail(): ?string
  95.     {
  96.         return $this->email;
  97.     }
  98.     public function setEmail(string $email): self
  99.     {
  100.         $this->email $email;
  101.         return $this;
  102.     }
  103.     /****** */
  104.     public function getType(): ?string
  105.     {
  106.         return $this->type;
  107.     }
  108.     public function setType(string $type): self
  109.     {
  110.         $this->type $type;
  111.         return $this;
  112.     }
  113.     public function getEvenement(): ?int
  114.     {
  115.         return $this->evenement;
  116.     }
  117.     public function setEvenement(string $evenement): self
  118.     {
  119.         $this->evenement $evenement;
  120.         return $this;
  121.     }
  122.     public function getUser(): ?int
  123.     {
  124.         return $this->user;
  125.     }
  126.     public function setUser(string $user): self
  127.     {
  128.         $this->user $user;
  129.         return $this;
  130.     }
  131.     public function getPay(): ?bool
  132.     {
  133.         return $this->pay;
  134.     }
  135.     
  136.     public function setPay(bool $pay): self
  137.     {
  138.         $this->pay $pay;
  139.     
  140.         return $this;
  141.     }
  142.     public function getMontant(): ?string
  143.     {
  144.         return $this->montant;
  145.     }
  146.     public function setMonatnt(string $montant): self
  147.     {
  148.         $this->montant $montant;
  149.         return $this;
  150.     }
  151. }