<?php
namespace App\Entity;
/**
* AmenagementInterieur.
*/
class AmenagementInterieur
{
/**
* @var int
*/
private $id;
/**
* @var string
*/
private $code;
/**
* @var string
*/
private $titre;
/**
* @var string
*/
private $description;
/**
* @var int
*/
private $rang;
/**
* @var int
*/
private $idBdOrigine;
/**
* @var \Doctrine\Common\Collections\Collection
*/
private $AmenagementInterieurPeriodeMesure;
/**
* Constructor.
*/
public function __construct()
{
$this->AmenagementInterieurPeriodeMesure = new \Doctrine\Common\Collections\ArrayCollection();
}
/**
* @return string
*/
public function __toString()
{
return $this->titre;
}
/**
* Get id.
*
* @return int
*/
public function getId()
{
return $this->id;
}
/**
* Set code.
*
* @param string $code
*
* @return AmenagementInterieur
*/
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 AmenagementInterieur
*/
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 AmenagementInterieur
*/
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 AmenagementInterieur
*/
public function setRang($rang)
{
$this->rang = $rang;
return $this;
}
/**
* Get rang.
*
* @return int
*/
public function getRang()
{
return $this->rang;
}
/**
* Set idBdOrigine.
*
* @param int $idBdOrigine
*
* @return AmenagementInterieur
*/
public function setIdBdOrigine($idBdOrigine)
{
$this->idBdOrigine = $idBdOrigine;
return $this;
}
/**
* Get idBdOrigine.
*
* @return int
*/
public function getIdBdOrigine()
{
return $this->idBdOrigine;
}
/**
* Add amenagementInterieurPeriodeMesure.
*
* @param \App\Entity\AmenagementInterieurPeriodeMesure $amenagementInterieurPeriodeMesure
*
* @return AmenagementInterieur
*/
public function addAmenagementInterieurPeriodeMesure(AmenagementInterieurPeriodeMesure $amenagementInterieurPeriodeMesure)
{
$this->AmenagementInterieurPeriodeMesure[] = $amenagementInterieurPeriodeMesure;
return $this;
}
/**
* Remove amenagementInterieurPeriodeMesure.
*
* @param \App\Entity\AmenagementInterieurPeriodeMesure $amenagementInterieurPeriodeMesure
*/
public function removeAmenagementInterieurPeriodeMesure(AmenagementInterieurPeriodeMesure $amenagementInterieurPeriodeMesure)
{
$this->AmenagementInterieurPeriodeMesure->removeElement($amenagementInterieurPeriodeMesure);
}
/**
* Get amenagementInterieurPeriodeMesure.
*
* @return \Doctrine\Common\Collections\Collection
*/
public function getAmenagementInterieurPeriodeMesure()
{
return $this->AmenagementInterieurPeriodeMesure;
}
}