<?php
namespace App\Entity;
/**
* InteractionSol.
*/
class InteractionSol
{
/**
* @var int
*/
private $id;
/**
* @var string
*/
private $code;
/**
* @var string
*/
private $titre;
/**
* @var string
*/
private $autrePrecision;
/**
* @var \App\Entity\Batiment
*/
private $Batiment;
/**
* @var \App\Entity\InterfaceSol
*/
private $InterfaceSol;
/**
* Get id.
*
* @return int
*/
public function getId()
{
return $this->id;
}
public function __toString()
{
if (is_null($this->titre)) {
return '';
}
return $this->titre;
}
/**
* Set code.
*
* @param string $code
*
* @return InteractionSol
*/
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 InteractionSol
*/
public function setTitre($titre)
{
$this->titre = $titre;
return $this;
}
/**
* Get titre.
*
* @return string
*/
public function getTitre()
{
return $this->titre;
}
/**
* Set autrePrecision.
*
* @param string $autrePrecision
*
* @return InteractionSol
*/
public function setAutrePrecision($autrePrecision)
{
$this->autrePrecision = $autrePrecision;
return $this;
}
/**
* Get autrePrecision.
*
* @return string
*/
public function getAutrePrecision()
{
return $this->autrePrecision;
}
/**
* Set batiment.
*
* @param \App\Entity\Batiment $batiment
*
* @return InteractionSol
*/
public function setBatiment(Batiment $batiment = null)
{
$this->Batiment = $batiment;
return $this;
}
/**
* Get batiment.
*
* @return \App\Entity\Batiment
*/
public function getBatiment()
{
return $this->Batiment;
}
/**
* Set interfaceSol.
*
* @param \App\Entity\InterfaceSol $interfaceSol
*
* @return InteractionSol
*/
public function setInterfaceSol(InterfaceSol $interfaceSol = null)
{
$this->InterfaceSol = $interfaceSol;
return $this;
}
/**
* Get interfaceSol.
*
* @return \App\Entity\InterfaceSol
*/
public function getInterfaceSol()
{
return $this->InterfaceSol;
}
}