src/Entity/AssainissementRadon.php line 8

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. /**
  4.  * AssainissementRadon.
  5.  */
  6. class AssainissementRadon
  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 $BatimentAssainissementRadon;
  32.     /**
  33.      * Constructor.
  34.      */
  35.     public function __construct()
  36.     {
  37.         $this->BatimentAssainissementRadon = 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 AssainissementRadon
  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 AssainissementRadon
  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 AssainissementRadon
  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 AssainissementRadon
  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 batimentAssainissementRadon.
  134.      *
  135.      * @param \App\Entity\BatimentAssainissementRadon $batimentAssainissementRadon
  136.      *
  137.      * @return AssainissementRadon
  138.      */
  139.     public function addBatimentAssainissementRadon(BatimentAssainissementRadon $batimentAssainissementRadon)
  140.     {
  141.         $this->BatimentAssainissementRadon[] = $batimentAssainissementRadon;
  142.         return $this;
  143.     }
  144.     /**
  145.      * Remove batimentAssainissementRadon.
  146.      *
  147.      * @param \App\Entity\BatimentAssainissementRadon $batimentAssainissementRadon
  148.      */
  149.     public function removeBatimentAssainissementRadon(BatimentAssainissementRadon $batimentAssainissementRadon)
  150.     {
  151.         $this->BatimentAssainissementRadon->removeElement($batimentAssainissementRadon);
  152.     }
  153.     /**
  154.      * Get batimentAssainissementRadon.
  155.      *
  156.      * @return \Doctrine\Common\Collections\Collection
  157.      */
  158.     public function getBatimentAssainissementRadon()
  159.     {
  160.         return $this->BatimentAssainissementRadon;
  161.     }
  162.     /**
  163.      * @var string
  164.      */
  165.     private $categorie;
  166.     /**
  167.      * Set categorie.
  168.      *
  169.      * @param string $categorie
  170.      *
  171.      * @return AssainissementRadon
  172.      */
  173.     public function setCategorie($categorie)
  174.     {
  175.         $this->categorie $categorie;
  176.         return $this;
  177.     }
  178.     /**
  179.      * Get categorie.
  180.      *
  181.      * @return string
  182.      */
  183.     public function getCategorie()
  184.     {
  185.         return $this->categorie;
  186.     }
  187. }