src/Entity/ReceptionReponse.php line 15

Open in your IDE?
  1. <?php
  2. /**
  3.  * ReceptionType.php
  4.  * Created by Stéphane Brun
  5.  * Date: 17/07/2018 at 16:56
  6.  */
  7. namespace App\Entity;
  8. use Doctrine\ORM\Mapping as ORM;
  9. /**
  10.  * @ORM\Entity
  11.  * @ORM\Table(name="reception_reponse")
  12.  */
  13. class ReceptionReponse
  14. {
  15.     /**
  16.      * @ORM\Column(type="integer")
  17.      * @ORM\Id
  18.      * @ORM\GeneratedValue(strategy="AUTO")
  19.      */
  20.     protected $id;
  21.     /**
  22.      * @ORM\Column(name="en_clair", type="string", length=150)
  23.      */
  24.     protected $enClair;
  25.     /**
  26.      * @ORM\Column(name="code", type="string", length=50)
  27.      */
  28.     protected $code;
  29.     /**
  30.      * @return int
  31.      */
  32.     public function getId()
  33.     {
  34.         return $this->id;
  35.     }
  36.     /**
  37.      * @return string
  38.      */
  39.     public function getEnClair()
  40.     {
  41.         return $this->enClair;
  42.     }
  43.     /**
  44.      * @param string $enClair
  45.      */
  46.     public function setEnClair($enClair)
  47.     {
  48.         $this->enClair $enClair;
  49.     }
  50.     /**
  51.      * @return string
  52.      */
  53.     public function getCode()
  54.     {
  55.         return $this->code;
  56.     }
  57.     /**
  58.      * @param string $code
  59.      */
  60.     public function setCode($code)
  61.     {
  62.         $this->code $code;
  63.     }
  64. }