<?php
namespace App\Entity;
use Doctrine\Common\Collections\ArrayCollection;
/**
* Participant.
*/
class Participant
{
/**
* @var int
*/
private $id;
/**
* @var string
*/
private $nom;
/**
* @var string
*/
private $prenom;
/**
* @var string
*/
private $email;
/**
* @var string
*/
private $telephoneFixe;
/**
* @var string
*/
private $telephonePortable;
/**
* @var \Doctrine\Common\Collections\Collection
*/
private $Batiment;
/**
* Constructor.
*/
public function __construct()
{
$this->Batiment = new \Doctrine\Common\Collections\ArrayCollection();
$this->Mesure = new ArrayCollection();
}
public function __toString()
{
return $this->nom.' '.$this->prenom;
}
/**
* Get id.
*
* @return int
*/
public function getId()
{
return $this->id;
}
/**
* Set nom.
*
* @param string $nom
*
* @return Participant
*/
public function setNom($nom)
{
$this->nom = $nom;
return $this;
}
/**
* Get nom.
*
* @return string
*/
public function getNom()
{
return $this->nom;
}
/**
* Set prenom.
*
* @param string $prenom
*
* @return Participant
*/
public function setPrenom($prenom)
{
$this->prenom = $prenom;
return $this;
}
/**
* Get prenom.
*
* @return string
*/
public function getPrenom()
{
return $this->prenom;
}
/**
* Set email.
*
* @param string $email
*
* @return Participant
*/
public function setEmail($email)
{
$this->email = $email;
return $this;
}
/**
* Get email.
*
* @return string
*/
public function getEmail()
{
return $this->email;
}
/**
* Set telephoneFixe.
*
* @param string $telephoneFixe
*
* @return Participant
*/
public function setTelephoneFixe($telephoneFixe)
{
$this->telephoneFixe = $telephoneFixe;
return $this;
}
/**
* Get telephoneFixe.
*
* @return string
*/
public function getTelephoneFixe()
{
return $this->telephoneFixe;
}
/**
* Set telephonePortable.
*
* @param string $telephonePortable
*
* @return Participant
*/
public function setTelephonePortable($telephonePortable)
{
$this->telephonePortable = $telephonePortable;
return $this;
}
/**
* Get telephonePortable.
*
* @return string
*/
public function getTelephonePortable()
{
return $this->telephonePortable;
}
/**
* Add batiment.
*
* @param \App\Entity\Batiment $batiment
*
* @return Participant
*/
public function addBatiment(Batiment $batiment)
{
$this->Batiment[] = $batiment;
return $this;
}
/**
* Remove batiment.
*
* @param \App\Entity\Batiment $batiment
*/
public function removeBatiment(Batiment $batiment)
{
$this->Batiment->removeElement($batiment);
}
/**
* Get batiment.
*
* @return \Doctrine\Common\Collections\Collection
*/
public function getBatiment()
{
return $this->Batiment;
}
/**
* @var \Doctrine\Common\Collections\Collection
*/
private $Mesure;
/**
* Add mesure.
*
* @param \App\Entity\Mesure $mesure
*
* @return Participant
*/
public function addMesure(Mesure $mesure)
{
$this->Mesure[] = $mesure;
return $this;
}
/**
* Remove mesure.
*
* @param \App\Entity\Mesure $mesure
*/
public function removeMesure(Mesure $mesure)
{
$this->Mesure->removeElement($mesure);
}
/**
* Get mesure.
*
* @return \Doctrine\Common\Collections\Collection
*/
public function getMesure()
{
return $this->Mesure;
}
/**
* @var string
*/
private $sourceContenu;
/**
* Set sourceContenu.
*
* @param string $sourceContenu
*
* @return Participant
*/
public function setSourceContenu($sourceContenu)
{
$this->sourceContenu = $sourceContenu;
return $this;
}
/**
* Get sourceContenu.
*
* @return string
*/
public function getSourceContenu()
{
return $this->sourceContenu;
}
/**
* @var string
*/
private $adresseNumeroRue;
/**
* @var \App\Entity\Commune
*/
private $Commune;
/**
* Set adresseNumeroRue.
*
* @param string $adresseNumeroRue
*
* @return Participant
*/
public function setAdresseNumeroRue($adresseNumeroRue)
{
$this->adresseNumeroRue = $adresseNumeroRue;
return $this;
}
/**
* Get adresseNumeroRue.
*
* @return string
*/
public function getAdresseNumeroRue()
{
return $this->adresseNumeroRue;
}
/**
* Set commune.
*
* @param \App\Entity\Commune $commune
*
* @return Participant
*/
public function setCommune(Commune $commune = null)
{
$this->Commune = $commune;
return $this;
}
/**
* Get commune.
*
* @return \App\Entity\Commune
*/
public function getCommune()
{
return $this->Commune;
}
}