src/Entity/TraitementSurfaceMateriau.php line 8

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. /**
  4.  * TraitementSurfaceMateriau.
  5.  */
  6. class TraitementSurfaceMateriau
  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 $precisionAutre;
  24.     /**
  25.      * @var \App\Entity\TraitementSurface
  26.      */
  27.     private $TraitementSurface;
  28.     /**
  29.      * @var \App\Entity\Mesure
  30.      */
  31.     private $Mesure;
  32.     /**
  33.      * @return string
  34.      */
  35.     public function __toString()
  36.     {
  37.         return $this->titre;
  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 TraitementSurfaceMateriau
  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 TraitementSurfaceMateriau
  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 precisionAutre.
  92.      *
  93.      * @param string $precisionAutre
  94.      *
  95.      * @return TraitementSurfaceMateriau
  96.      */
  97.     public function setPrecisionAutre($precisionAutre)
  98.     {
  99.         $this->precisionAutre $precisionAutre;
  100.         return $this;
  101.     }
  102.     /**
  103.      * Get precisionAutre.
  104.      *
  105.      * @return string
  106.      */
  107.     public function getPrecisionAutre()
  108.     {
  109.         return $this->precisionAutre;
  110.     }
  111.     /**
  112.      * Set traitementSurface.
  113.      *
  114.      * @param \App\Entity\TraitementSurface $traitementSurface
  115.      *
  116.      * @return TraitementSurfaceMateriau
  117.      */
  118.     public function setTraitementSurface(TraitementSurface $traitementSurface null)
  119.     {
  120.         $this->TraitementSurface $traitementSurface;
  121.         return $this;
  122.     }
  123.     /**
  124.      * Get traitementSurface.
  125.      *
  126.      * @return \App\Entity\TraitementSurface
  127.      */
  128.     public function getTraitementSurface()
  129.     {
  130.         return $this->TraitementSurface;
  131.     }
  132.     /**
  133.      * Set mesure.
  134.      *
  135.      * @param \App\Entity\Mesure $mesure
  136.      *
  137.      * @return TraitementSurfaceMateriau
  138.      */
  139.     public function setMesure(Mesure $mesure null)
  140.     {
  141.         $this->Mesure $mesure;
  142.         return $this;
  143.     }
  144.     /**
  145.      * Get mesure.
  146.      *
  147.      * @return \App\Entity\Mesure
  148.      */
  149.     public function getMesure()
  150.     {
  151.         return $this->Mesure;
  152.     }
  153. }