<?php
namespace App\Entity;
/**
* ModificationEchantillonnage.
*/
class ModificationEchantillonnage
{
/**
* @var int
*/
private $id;
/**
* @var string
*/
private $code;
/**
* @var string
*/
private $titre;
/**
* @var string
*/
private $description;
/**
* @var \App\Entity\Batiment
*/
private $Batiment;
/**
* @var \App\Entity\Campagne
*/
private $Campagne;
/**
* Get id.
*
* @return int
*/
public function getId()
{
return $this->id;
}
/**
* Set code.
*
* @param string $code
*
* @return ModificationEchantillonnage
*/
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 ModificationEchantillonnage
*/
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 ModificationEchantillonnage
*/
public function setDescription($description)
{
$this->description = $description;
return $this;
}
/**
* Get description.
*
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* Set batiment.
*
* @param \App\Entity\Batiment $batiment
*
* @return ModificationEchantillonnage
*/
public function setBatiment(Batiment $batiment = null)
{
$this->Batiment = $batiment;
return $this;
}
/**
* Get batiment.
*
* @return \App\Entity\Batiment
*/
public function getBatiment()
{
return $this->Batiment;
}
/**
* Set campagne.
*
* @param \App\Entity\Campagne $campagne
*
* @return ModificationEchantillonnage
*/
public function setCampagne(Campagne $campagne = null)
{
$this->Campagne = $campagne;
return $this;
}
/**
* Get campagne.
*
* @return \App\Entity\Campagne
*/
public function getCampagne()
{
return $this->Campagne;
}
}