src/Entity/Intervenant.php line 8

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. /**
  4.  * Intervenant.
  5.  */
  6. class Intervenant
  7. {
  8.     /**
  9.      * @var int
  10.      */
  11.     private $id;
  12.     /**
  13.      * @var string
  14.      */
  15.     private $code;
  16.     /**
  17.      * @var string
  18.      */
  19.     private $titre;
  20.     /**
  21.      * @var string
  22.      */
  23.     private $description;
  24.     /**
  25.      * @var int
  26.      */
  27.     private $rang;
  28.     /**
  29.      * @var \Doctrine\Common\Collections\Collection
  30.      */
  31.     private $Mesure;
  32.     /**
  33.      * Constructor.
  34.      */
  35.     public function __construct()
  36.     {
  37.         $this->Mesure = new \Doctrine\Common\Collections\ArrayCollection();
  38.     }
  39.     /**
  40.      * Get id.
  41.      *
  42.      * @return int
  43.      */
  44.     public function getId()
  45.     {
  46.         return $this->id;
  47.     }
  48.     /**
  49.      * Set code.
  50.      *
  51.      * @param string $code
  52.      *
  53.      * @return Intervenant
  54.      */
  55.     public function setCode($code)
  56.     {
  57.         $this->code $code;
  58.         return $this;
  59.     }
  60.     /**
  61.      * Get code.
  62.      *
  63.      * @return string
  64.      */
  65.     public function getCode()
  66.     {
  67.         return $this->code;
  68.     }
  69.     /**
  70.      * Set titre.
  71.      *
  72.      * @param string $titre
  73.      *
  74.      * @return Intervenant
  75.      */
  76.     public function setTitre($titre)
  77.     {
  78.         $this->titre $titre;
  79.         return $this;
  80.     }
  81.     /**
  82.      * Get titre.
  83.      *
  84.      * @return string
  85.      */
  86.     public function getTitre()
  87.     {
  88.         return $this->titre;
  89.     }
  90.     /**
  91.      * Set description.
  92.      *
  93.      * @param string $description
  94.      *
  95.      * @return Intervenant
  96.      */
  97.     public function setDescription($description)
  98.     {
  99.         $this->description $description;
  100.         return $this;
  101.     }
  102.     /**
  103.      * Get description.
  104.      *
  105.      * @return string
  106.      */
  107.     public function getDescription()
  108.     {
  109.         return $this->description;
  110.     }
  111.     /**
  112.      * Set rang.
  113.      *
  114.      * @param int $rang
  115.      *
  116.      * @return Intervenant
  117.      */
  118.     public function setRang($rang)
  119.     {
  120.         $this->rang $rang;
  121.         return $this;
  122.     }
  123.     /**
  124.      * Get rang.
  125.      *
  126.      * @return int
  127.      */
  128.     public function getRang()
  129.     {
  130.         return $this->rang;
  131.     }
  132.     /**
  133.      * Add mesure.
  134.      *
  135.      * @param \App\Entity\Mesure $mesure
  136.      *
  137.      * @return Intervenant
  138.      */
  139.     public function addMesure(Mesure $mesure)
  140.     {
  141.         $this->Mesure[] = $mesure;
  142.         return $this;
  143.     }
  144.     /**
  145.      * Remove mesure.
  146.      *
  147.      * @param \App\Entity\Mesure $mesure
  148.      */
  149.     public function removeMesure(Mesure $mesure)
  150.     {
  151.         $this->Mesure->removeElement($mesure);
  152.     }
  153.     /**
  154.      * Get mesure.
  155.      *
  156.      * @return \Doctrine\Common\Collections\Collection
  157.      */
  158.     public function getMesure()
  159.     {
  160.         return $this->Mesure;
  161.     }
  162.     /**
  163.      * @var string
  164.      */
  165.     private $adresse;
  166.     /**
  167.      * @var string
  168.      */
  169.     private $telephone;
  170.     /**
  171.      * Set adresse.
  172.      *
  173.      * @param string $adresse
  174.      *
  175.      * @return Intervenant
  176.      */
  177.     public function setAdresse($adresse)
  178.     {
  179.         $this->adresse $adresse;
  180.         return $this;
  181.     }
  182.     /**
  183.      * Get adresse.
  184.      *
  185.      * @return string
  186.      */
  187.     public function getAdresse()
  188.     {
  189.         return $this->adresse;
  190.     }
  191.     /**
  192.      * Set telephone.
  193.      *
  194.      * @param string $telephone
  195.      *
  196.      * @return Intervenant
  197.      */
  198.     public function setTelephone($telephone)
  199.     {
  200.         $this->telephone $telephone;
  201.         return $this;
  202.     }
  203.     /**
  204.      * Get telephone.
  205.      *
  206.      * @return string
  207.      */
  208.     public function getTelephone()
  209.     {
  210.         return $this->telephone;
  211.     }
  212.     /**
  213.      * @var string
  214.      */
  215.     private $sourceContenu;
  216.     /**
  217.      * Set sourceContenu.
  218.      *
  219.      * @param string $sourceContenu
  220.      *
  221.      * @return Intervenant
  222.      */
  223.     public function setSourceContenu($sourceContenu)
  224.     {
  225.         $this->sourceContenu $sourceContenu;
  226.         return $this;
  227.     }
  228.     /**
  229.      * Get sourceContenu.
  230.      *
  231.      * @return string
  232.      */
  233.     public function getSourceContenu()
  234.     {
  235.         return $this->sourceContenu;
  236.     }
  237. }