<?php
namespace App\Entity;
/**
* AssainissementRadon.
*/
class AssainissementRadon
{
/**
* @var int
*/
private $id;
/**
* @var string
*/
private $code;
/**
* @var string
*/
private $titre;
/**
* @var string
*/
private $description;
/**
* @var int
*/
private $rang;
/**
* @var \Doctrine\Common\Collections\Collection
*/
private $BatimentAssainissementRadon;
/**
* Constructor.
*/
public function __construct()
{
$this->BatimentAssainissementRadon = new \Doctrine\Common\Collections\ArrayCollection();
}
/**
* Get id.
*
* @return int
*/
public function getId()
{
return $this->id;
}
/**
* Set code.
*
* @param string $code
*
* @return AssainissementRadon
*/
public function setCode($code)
{
$this->code = $code;
return $this;
}
/**
* Get code.
*
* @return string
*/
public function getCode()
{
return $this->code;
}
/**
* Set titre.
*
* @param string $titre
*
* @return AssainissementRadon
*/
public function setTitre($titre)
{
$this->titre = $titre;
return $this;
}
/**
* Get titre.
*
* @return string
*/
public function getTitre()
{
return $this->titre;
}
/**
* Set description.
*
* @param string $description
*
* @return AssainissementRadon
*/
public function setDescription($description)
{
$this->description = $description;
return $this;
}
/**
* Get description.
*
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* Set rang.
*
* @param int $rang
*
* @return AssainissementRadon
*/
public function setRang($rang)
{
$this->rang = $rang;
return $this;
}
/**
* Get rang.
*
* @return int
*/
public function getRang()
{
return $this->rang;
}
/**
* Add batimentAssainissementRadon.
*
* @param \App\Entity\BatimentAssainissementRadon $batimentAssainissementRadon
*
* @return AssainissementRadon
*/
public function addBatimentAssainissementRadon(BatimentAssainissementRadon $batimentAssainissementRadon)
{
$this->BatimentAssainissementRadon[] = $batimentAssainissementRadon;
return $this;
}
/**
* Remove batimentAssainissementRadon.
*
* @param \App\Entity\BatimentAssainissementRadon $batimentAssainissementRadon
*/
public function removeBatimentAssainissementRadon(BatimentAssainissementRadon $batimentAssainissementRadon)
{
$this->BatimentAssainissementRadon->removeElement($batimentAssainissementRadon);
}
/**
* Get batimentAssainissementRadon.
*
* @return \Doctrine\Common\Collections\Collection
*/
public function getBatimentAssainissementRadon()
{
return $this->BatimentAssainissementRadon;
}
/**
* @var string
*/
private $categorie;
/**
* Set categorie.
*
* @param string $categorie
*
* @return AssainissementRadon
*/
public function setCategorie($categorie)
{
$this->categorie = $categorie;
return $this;
}
/**
* Get categorie.
*
* @return string
*/
public function getCategorie()
{
return $this->categorie;
}
}