src/Entity/InteractionSol.php line 8

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. /**
  4.  * InteractionSol.
  5.  */
  6. class InteractionSol
  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 $autrePrecision;
  24.     /**
  25.      * @var \App\Entity\Batiment
  26.      */
  27.     private $Batiment;
  28.     /**
  29.      * @var \App\Entity\InterfaceSol
  30.      */
  31.     private $InterfaceSol;
  32.     /**
  33.      * Get id.
  34.      *
  35.      * @return int
  36.      */
  37.     public function getId()
  38.     {
  39.         return $this->id;
  40.     }
  41.     public function __toString()
  42.     {
  43.         if (is_null($this->titre)) {
  44.             return '';
  45.         }
  46.         return $this->titre;
  47.     }
  48.     /**
  49.      * Set code.
  50.      *
  51.      * @param string $code
  52.      *
  53.      * @return InteractionSol
  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 InteractionSol
  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 autrePrecision.
  92.      *
  93.      * @param string $autrePrecision
  94.      *
  95.      * @return InteractionSol
  96.      */
  97.     public function setAutrePrecision($autrePrecision)
  98.     {
  99.         $this->autrePrecision $autrePrecision;
  100.         return $this;
  101.     }
  102.     /**
  103.      * Get autrePrecision.
  104.      *
  105.      * @return string
  106.      */
  107.     public function getAutrePrecision()
  108.     {
  109.         return $this->autrePrecision;
  110.     }
  111.     /**
  112.      * Set batiment.
  113.      *
  114.      * @param \App\Entity\Batiment $batiment
  115.      *
  116.      * @return InteractionSol
  117.      */
  118.     public function setBatiment(Batiment $batiment null)
  119.     {
  120.         $this->Batiment $batiment;
  121.         return $this;
  122.     }
  123.     /**
  124.      * Get batiment.
  125.      *
  126.      * @return \App\Entity\Batiment
  127.      */
  128.     public function getBatiment()
  129.     {
  130.         return $this->Batiment;
  131.     }
  132.     /**
  133.      * Set interfaceSol.
  134.      *
  135.      * @param \App\Entity\InterfaceSol $interfaceSol
  136.      *
  137.      * @return InteractionSol
  138.      */
  139.     public function setInterfaceSol(InterfaceSol $interfaceSol null)
  140.     {
  141.         $this->InterfaceSol $interfaceSol;
  142.         return $this;
  143.     }
  144.     /**
  145.      * Get interfaceSol.
  146.      *
  147.      * @return \App\Entity\InterfaceSol
  148.      */
  149.     public function getInterfaceSol()
  150.     {
  151.         return $this->InterfaceSol;
  152.     }
  153. }