src/Entity/Contact.php line 11

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\ContactRepository;
  4. use Doctrine\ORM\Mapping as ORM;
  5. /**
  6.  * @ORM\Entity(repositoryClass=ContactRepository::class)
  7.  */
  8. class Contact
  9. {
  10.     /**
  11.      * @ORM\Id
  12.      * @ORM\GeneratedValue
  13.      * @ORM\Column(type="integer")
  14.      */
  15.     private $id;
  16.     /**
  17.      * @ORM\Column(type="string", length=255)
  18.      */
  19.     private $nomprenom;
  20.     /**
  21.      * @ORM\Column(type="string", length=255)
  22.      */
  23.     private $societe;
  24.     /**
  25.      * @ORM\Column(type="string", length=255)
  26.      */
  27.     private $adresse;
  28.     /**
  29.      * @ORM\Column(type="string", length=255)
  30.      */
  31.     private $mail;
  32.     /**
  33.      * @ORM\Column(type="string", length=255)
  34.      */
  35.     private $num;
  36.     /**
  37.      * @ORM\Column(type="text")
  38.      */
  39.     private $formation;
  40.     /**
  41.      * @ORM\Column(type="text")
  42.      */
  43.     private $message;
  44.     public function getId(): ?int
  45.     {
  46.         return $this->id;
  47.     }
  48.     public function getNomprenom(): ?string
  49.     {
  50.         return $this->nomprenom;
  51.     }
  52.     public function setNomprenom(string $nomprenom): self
  53.     {
  54.         $this->nomprenom $nomprenom;
  55.         return $this;
  56.     }
  57.     public function getSociete(): ?string
  58.     {
  59.         return $this->societe;
  60.     }
  61.     public function setSociete(string $societe): self
  62.     {
  63.         $this->societe $societe;
  64.         return $this;
  65.     }
  66.     public function getAdresse(): ?string
  67.     {
  68.         return $this->adresse;
  69.     }
  70.     public function setAdresse(string $adresse): self
  71.     {
  72.         $this->adresse $adresse;
  73.         return $this;
  74.     }
  75.     public function getMail(): ?string
  76.     {
  77.         return $this->mail;
  78.     }
  79.     public function setMail(string $mail): self
  80.     {
  81.         $this->mail $mail;
  82.         return $this;
  83.     }
  84.     public function getNum(): ?string
  85.     {
  86.         return $this->num;
  87.     }
  88.     public function setNum(string $num): self
  89.     {
  90.         $this->num $num;
  91.         return $this;
  92.     }
  93.     public function getFormation(): ?string
  94.     {
  95.         return $this->formation;
  96.     }
  97.     public function setFormation(string $formation): self
  98.     {
  99.         $this->formation $formation;
  100.         return $this;
  101.     }
  102.     public function getMessage(): ?string
  103.     {
  104.         return $this->message;
  105.     }
  106.     public function setMessage(string $message): self
  107.     {
  108.         $this->message $message;
  109.         return $this;
  110.     }
  111. }