src/Entity/EquipementsBatiment.php line 8

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. /**
  4.  * EquipementsBatiment.
  5.  */
  6. class EquipementsBatiment
  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 string
  26.      */
  27.     private $emplacement;
  28.     /**
  29.      * @var \App\Entity\Equipement
  30.      */
  31.     private $Equipement;
  32.     /**
  33.      * @var \App\Entity\Batiment
  34.      */
  35.     private $Batiment;
  36.     /**
  37.      * Get id.
  38.      *
  39.      * @return int
  40.      */
  41.     public function getId()
  42.     {
  43.         return $this->id;
  44.     }
  45.     /**
  46.      * Set code.
  47.      *
  48.      * @param string $code
  49.      *
  50.      * @return EquipementsBatiment
  51.      */
  52.     public function setCode($code)
  53.     {
  54.         $this->code $code;
  55.         return $this;
  56.     }
  57.     /**
  58.      * Get code.
  59.      *
  60.      * @return string
  61.      */
  62.     public function getCode()
  63.     {
  64.         return $this->code;
  65.     }
  66.     /**
  67.      * Set titre.
  68.      *
  69.      * @param string $titre
  70.      *
  71.      * @return EquipementsBatiment
  72.      */
  73.     public function setTitre($titre)
  74.     {
  75.         $this->titre $titre;
  76.         return $this;
  77.     }
  78.     /**
  79.      * Get titre.
  80.      *
  81.      * @return string
  82.      */
  83.     public function getTitre()
  84.     {
  85.         return $this->titre;
  86.     }
  87.     /**
  88.      * Set description.
  89.      *
  90.      * @param string $description
  91.      *
  92.      * @return EquipementsBatiment
  93.      */
  94.     public function setDescription($description)
  95.     {
  96.         $this->description $description;
  97.         return $this;
  98.     }
  99.     /**
  100.      * Get description.
  101.      *
  102.      * @return string
  103.      */
  104.     public function getDescription()
  105.     {
  106.         return $this->description;
  107.     }
  108.     /**
  109.      * Set emplacement.
  110.      *
  111.      * @param string $emplacement
  112.      *
  113.      * @return EquipementsBatiment
  114.      */
  115.     public function setEmplacement($emplacement)
  116.     {
  117.         $this->emplacement $emplacement;
  118.         return $this;
  119.     }
  120.     /**
  121.      * Get emplacement.
  122.      *
  123.      * @return string
  124.      */
  125.     public function getEmplacement()
  126.     {
  127.         return $this->emplacement;
  128.     }
  129.     /**
  130.      * Set equipement.
  131.      *
  132.      * @param \App\Entity\Equipement $equipement
  133.      *
  134.      * @return EquipementsBatiment
  135.      */
  136.     public function setEquipement(Equipement $equipement null)
  137.     {
  138.         $this->Equipement $equipement;
  139.         return $this;
  140.     }
  141.     /**
  142.      * Get equipement.
  143.      *
  144.      * @return \App\Entity\Equipement
  145.      */
  146.     public function getEquipement()
  147.     {
  148.         return $this->Equipement;
  149.     }
  150.     /**
  151.      * Set batiment.
  152.      *
  153.      * @param \App\Entity\Batiment $batiment
  154.      *
  155.      * @return EquipementsBatiment
  156.      */
  157.     public function setBatiment(Batiment $batiment null)
  158.     {
  159.         $this->Batiment $batiment;
  160.         return $this;
  161.     }
  162.     /**
  163.      * Get batiment.
  164.      *
  165.      * @return \App\Entity\Batiment
  166.      */
  167.     public function getBatiment()
  168.     {
  169.         return $this->Batiment;
  170.     }
  171. }