<?php
namespace App\Entity;
/**
* Urbanisme.
*/
class Urbanisme
{
/**
* @var int
*/
private $id;
/**
* @var string
*/
private $code;
/**
* @var bool
*/
private $routeFortTrafic;
/**
* @var float
*/
private $distanceAxeRouteFortTrafic;
/**
* @var bool
*/
private $voieFerree;
/**
* @var float
*/
private $distanceAxeVoieFerree;
/**
* @var bool
*/
private $zoneIndustrielle;
/**
* @var float
*/
private $distanceAxeZoneIndustrielle;
/**
* @var bool
*/
private $zoneStockageHydrocarbure;
/**
* @var float
*/
private $distanceAxeStockageHydrocarbure;
/**
* @var bool
*/
private $sitePolueRehabilite;
/**
* @var int
*/
private $idBdOrigine;
/**
* @var \Doctrine\Common\Collections\Collection
*/
private $Batiment;
/**
* @var \App\Entity\ZoneHabitat
*/
private $ZoneHabitat;
/**
* @var \App\Entity\Adresse
*/
private $Adresse;
/**
* Constructor.
*/
public function __construct()
{
$this->Batiment = new \Doctrine\Common\Collections\ArrayCollection();
}
/**
* Get id.
*
* @return int
*/
public function getId()
{
return $this->id;
}
/**
* Set code.
*
* @param string $code
*
* @return Urbanisme
*/
public function setCode($code)
{
$this->code = $code;
return $this;
}
/**
* Get code.
*
* @return string
*/
public function getCode()
{
return $this->code;
}
/**
* Set routeFortTrafic.
*
* @param bool $routeFortTrafic
*
* @return Urbanisme
*/
public function setRouteFortTrafic($routeFortTrafic)
{
$this->routeFortTrafic = $routeFortTrafic;
return $this;
}
/**
* Get routeFortTrafic.
*
* @return bool
*/
public function getRouteFortTrafic()
{
return $this->routeFortTrafic;
}
/**
* Set distanceAxeRouteFortTrafic.
*
* @param float $distanceAxeRouteFortTrafic
*
* @return Urbanisme
*/
public function setDistanceAxeRouteFortTrafic($distanceAxeRouteFortTrafic)
{
$this->distanceAxeRouteFortTrafic = $distanceAxeRouteFortTrafic;
return $this;
}
/**
* Get distanceAxeRouteFortTrafic.
*
* @return float
*/
public function getDistanceAxeRouteFortTrafic()
{
return $this->distanceAxeRouteFortTrafic;
}
/**
* Set voieFerree.
*
* @param bool $voieFerree
*
* @return Urbanisme
*/
public function setVoieFerree($voieFerree)
{
$this->voieFerree = $voieFerree;
return $this;
}
/**
* Get voieFerree.
*
* @return bool
*/
public function getVoieFerree()
{
return $this->voieFerree;
}
/**
* Set distanceAxeVoieFerree.
*
* @param float $distanceAxeVoieFerree
*
* @return Urbanisme
*/
public function setDistanceAxeVoieFerree($distanceAxeVoieFerree)
{
$this->distanceAxeVoieFerree = $distanceAxeVoieFerree;
return $this;
}
/**
* Get distanceAxeVoieFerree.
*
* @return float
*/
public function getDistanceAxeVoieFerree()
{
return $this->distanceAxeVoieFerree;
}
/**
* Set zoneIndustrielle.
*
* @param bool $zoneIndustrielle
*
* @return Urbanisme
*/
public function setZoneIndustrielle($zoneIndustrielle)
{
$this->zoneIndustrielle = $zoneIndustrielle;
return $this;
}
/**
* Get zoneIndustrielle.
*
* @return bool
*/
public function getZoneIndustrielle()
{
return $this->zoneIndustrielle;
}
/**
* Set distanceAxeZoneIndustrielle.
*
* @param float $distanceAxeZoneIndustrielle
*
* @return Urbanisme
*/
public function setDistanceAxeZoneIndustrielle($distanceAxeZoneIndustrielle)
{
$this->distanceAxeZoneIndustrielle = $distanceAxeZoneIndustrielle;
return $this;
}
/**
* Get distanceAxeZoneIndustrielle.
*
* @return float
*/
public function getDistanceAxeZoneIndustrielle()
{
return $this->distanceAxeZoneIndustrielle;
}
/**
* Set zoneStockageHydrocarbure.
*
* @param bool $zoneStockageHydrocarbure
*
* @return Urbanisme
*/
public function setZoneStockageHydrocarbure($zoneStockageHydrocarbure)
{
$this->zoneStockageHydrocarbure = $zoneStockageHydrocarbure;
return $this;
}
/**
* Get zoneStockageHydrocarbure.
*
* @return bool
*/
public function getZoneStockageHydrocarbure()
{
return $this->zoneStockageHydrocarbure;
}
/**
* Set distanceAxeStockageHydrocarbure.
*
* @param float $distanceAxeStockageHydrocarbure
*
* @return Urbanisme
*/
public function setDistanceAxeStockageHydrocarbure($distanceAxeStockageHydrocarbure)
{
$this->distanceAxeStockageHydrocarbure = $distanceAxeStockageHydrocarbure;
return $this;
}
/**
* Get distanceAxeStockageHydrocarbure.
*
* @return float
*/
public function getDistanceAxeStockageHydrocarbure()
{
return $this->distanceAxeStockageHydrocarbure;
}
/**
* Set sitePolueRehabilite.
*
* @param bool $sitePolueRehabilite
*
* @return Urbanisme
*/
public function setSitePolueRehabilite($sitePolueRehabilite)
{
$this->sitePolueRehabilite = $sitePolueRehabilite;
return $this;
}
/**
* Get sitePolueRehabilite.
*
* @return bool
*/
public function getSitePolueRehabilite()
{
return $this->sitePolueRehabilite;
}
/**
* Set idBdOrigine.
*
* @param int $idBdOrigine
*
* @return Urbanisme
*/
public function setIdBdOrigine($idBdOrigine)
{
$this->idBdOrigine = $idBdOrigine;
return $this;
}
/**
* Get idBdOrigine.
*
* @return int
*/
public function getIdBdOrigine()
{
return $this->idBdOrigine;
}
/**
* Add batiment.
*
* @param \App\Entity\Batiment $batiment
*
* @return Urbanisme
*/
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;
}
/**
* Set zoneHabitat.
*
* @param \App\Entity\ZoneHabitat $zoneHabitat
*
* @return Urbanisme
*/
public function setZoneHabitat(ZoneHabitat $zoneHabitat = null)
{
$this->ZoneHabitat = $zoneHabitat;
return $this;
}
/**
* Get zoneHabitat.
*
* @return \App\Entity\ZoneHabitat
*/
public function getZoneHabitat()
{
return $this->ZoneHabitat;
}
/**
* Set adresse.
*
* @param \App\Entity\Adresse $adresse
*
* @return Urbanisme
*/
public function setAdresse(Adresse $adresse = null)
{
$this->Adresse = $adresse;
return $this;
}
/**
* Get adresse.
*
* @return \App\Entity\Adresse
*/
public function getAdresse()
{
return $this->Adresse;
}
/**
* @var \DateTime
*/
private $createdAt;
/**
* @var \DateTime
*/
private $updatedAt;
/**
* Set createdAt.
*
* @param \DateTime $createdAt
*
* @return Urbanisme
*/
public function setCreatedAt($createdAt)
{
$this->createdAt = $createdAt;
return $this;
}
/**
* Get createdAt.
*
* @return \DateTime
*/
public function getCreatedAt()
{
return $this->createdAt;
}
/**
* Set updatedAt.
*
* @param \DateTime $updatedAt
*
* @return Urbanisme
*/
public function setUpdatedAt($updatedAt)
{
$this->updatedAt = $updatedAt;
return $this;
}
/**
* Get updatedAt.
*
* @return \DateTime
*/
public function getUpdatedAt()
{
return $this->updatedAt;
}
public function isRouteFortTrafic(): ?bool
{
return $this->routeFortTrafic;
}
public function isVoieFerree(): ?bool
{
return $this->voieFerree;
}
public function isZoneIndustrielle(): ?bool
{
return $this->zoneIndustrielle;
}
public function isZoneStockageHydrocarbure(): ?bool
{
return $this->zoneStockageHydrocarbure;
}
public function isSitePolueRehabilite(): ?bool
{
return $this->sitePolueRehabilite;
}
}