<?php
namespace App\Entity;
/**
* ValeursRepartitionOccupants.
*/
class ValeursRepartitionOccupants
{
/**
* @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 $RepartitionHabitantsAge;
/**
* @var \Doctrine\Common\Collections\Collection
*/
private $RepartitionOccupantsHeuresSemaine;
/**
* Constructor.
*/
public function __construct()
{
$this->RepartitionHabitantsAge = new \Doctrine\Common\Collections\ArrayCollection();
$this->RepartitionOccupantsHeuresSemaine = new \Doctrine\Common\Collections\ArrayCollection();
}
/**
* Get id.
*
* @return int
*/
public function getId()
{
return $this->id;
}
/**
* Set code.
*
* @param string $code
*
* @return ValeursRepartitionOccupants
*/
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 ValeursRepartitionOccupants
*/
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 ValeursRepartitionOccupants
*/
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 ValeursRepartitionOccupants
*/
public function setRang($rang)
{
$this->rang = $rang;
return $this;
}
/**
* Get rang.
*
* @return int
*/
public function getRang()
{
return $this->rang;
}
/**
* Add repartitionHabitantsAge.
*
* @param \App\Entity\RepartitionHabitantsAge $repartitionHabitantsAge
*
* @return ValeursRepartitionOccupants
*/
public function addRepartitionHabitantsAge(RepartitionHabitantsAge $repartitionHabitantsAge)
{
$this->RepartitionHabitantsAge[] = $repartitionHabitantsAge;
return $this;
}
/**
* Remove repartitionHabitantsAge.
*
* @param \App\Entity\RepartitionHabitantsAge $repartitionHabitantsAge
*/
public function removeRepartitionHabitantsAge(RepartitionHabitantsAge $repartitionHabitantsAge)
{
$this->RepartitionHabitantsAge->removeElement($repartitionHabitantsAge);
}
/**
* Get repartitionHabitantsAge.
*
* @return \Doctrine\Common\Collections\Collection
*/
public function getRepartitionHabitantsAge()
{
return $this->RepartitionHabitantsAge;
}
/**
* Add repartitionOccupantsHeuresSemaine.
*
* @param \App\Entity\RepartitionOccupantsHeuresSemaine $repartitionOccupantsHeuresSemaine
*
* @return ValeursRepartitionOccupants
*/
public function addRepartitionOccupantsHeuresSemaine(RepartitionOccupantsHeuresSemaine $repartitionOccupantsHeuresSemaine)
{
$this->RepartitionOccupantsHeuresSemaine[] = $repartitionOccupantsHeuresSemaine;
return $this;
}
/**
* Remove repartitionOccupantsHeuresSemaine.
*
* @param \App\Entity\RepartitionOccupantsHeuresSemaine $repartitionOccupantsHeuresSemaine
*/
public function removeRepartitionOccupantsHeuresSemaine(RepartitionOccupantsHeuresSemaine $repartitionOccupantsHeuresSemaine)
{
$this->RepartitionOccupantsHeuresSemaine->removeElement($repartitionOccupantsHeuresSemaine);
}
/**
* Get repartitionOccupantsHeuresSemaine.
*
* @return \Doctrine\Common\Collections\Collection
*/
public function getRepartitionOccupantsHeuresSemaine()
{
return $this->RepartitionOccupantsHeuresSemaine;
}
/**
* @var string
*/
private $descriminator;
/**
* Set descriminator.
*
* @param string $descriminator
*
* @return ValeursRepartitionOccupants
*/
public function setDescriminator($descriminator)
{
$this->descriminator = $descriminator;
return $this;
}
/**
* Get descriminator.
*
* @return string
*/
public function getDescriminator()
{
return $this->descriminator;
}
}