<?php
namespace App\Entity;
/**
* EquipementsBatiment.
*/
class EquipementsBatiment
{
/**
* @var int
*/
private $id;
/**
* @var string
*/
private $code;
/**
* @var string
*/
private $titre;
/**
* @var string
*/
private $description;
/**
* @var string
*/
private $emplacement;
/**
* @var \App\Entity\Equipement
*/
private $Equipement;
/**
* @var \App\Entity\Batiment
*/
private $Batiment;
/**
* Get id.
*
* @return int
*/
public function getId()
{
return $this->id;
}
/**
* Set code.
*
* @param string $code
*
* @return EquipementsBatiment
*/
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 EquipementsBatiment
*/
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 EquipementsBatiment
*/
public function setDescription($description)
{
$this->description = $description;
return $this;
}
/**
* Get description.
*
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* Set emplacement.
*
* @param string $emplacement
*
* @return EquipementsBatiment
*/
public function setEmplacement($emplacement)
{
$this->emplacement = $emplacement;
return $this;
}
/**
* Get emplacement.
*
* @return string
*/
public function getEmplacement()
{
return $this->emplacement;
}
/**
* Set equipement.
*
* @param \App\Entity\Equipement $equipement
*
* @return EquipementsBatiment
*/
public function setEquipement(Equipement $equipement = null)
{
$this->Equipement = $equipement;
return $this;
}
/**
* Get equipement.
*
* @return \App\Entity\Equipement
*/
public function getEquipement()
{
return $this->Equipement;
}
/**
* Set batiment.
*
* @param \App\Entity\Batiment $batiment
*
* @return EquipementsBatiment
*/
public function setBatiment(Batiment $batiment = null)
{
$this->Batiment = $batiment;
return $this;
}
/**
* Get batiment.
*
* @return \App\Entity\Batiment
*/
public function getBatiment()
{
return $this->Batiment;
}
}