src/Entity/Urbanisme.php line 8

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. /**
  4.  * Urbanisme.
  5.  */
  6. class Urbanisme
  7. {
  8.     /**
  9.      * @var int
  10.      */
  11.     private $id;
  12.     /**
  13.      * @var string
  14.      */
  15.     private $code;
  16.     /**
  17.      * @var bool
  18.      */
  19.     private $routeFortTrafic;
  20.     /**
  21.      * @var float
  22.      */
  23.     private $distanceAxeRouteFortTrafic;
  24.     /**
  25.      * @var bool
  26.      */
  27.     private $voieFerree;
  28.     /**
  29.      * @var float
  30.      */
  31.     private $distanceAxeVoieFerree;
  32.     /**
  33.      * @var bool
  34.      */
  35.     private $zoneIndustrielle;
  36.     /**
  37.      * @var float
  38.      */
  39.     private $distanceAxeZoneIndustrielle;
  40.     /**
  41.      * @var bool
  42.      */
  43.     private $zoneStockageHydrocarbure;
  44.     /**
  45.      * @var float
  46.      */
  47.     private $distanceAxeStockageHydrocarbure;
  48.     /**
  49.      * @var bool
  50.      */
  51.     private $sitePolueRehabilite;
  52.     /**
  53.      * @var int
  54.      */
  55.     private $idBdOrigine;
  56.     /**
  57.      * @var \Doctrine\Common\Collections\Collection
  58.      */
  59.     private $Batiment;
  60.     /**
  61.      * @var \App\Entity\ZoneHabitat
  62.      */
  63.     private $ZoneHabitat;
  64.     /**
  65.      * @var \App\Entity\Adresse
  66.      */
  67.     private $Adresse;
  68.     /**
  69.      * Constructor.
  70.      */
  71.     public function __construct()
  72.     {
  73.         $this->Batiment = new \Doctrine\Common\Collections\ArrayCollection();
  74.     }
  75.     /**
  76.      * Get id.
  77.      *
  78.      * @return int
  79.      */
  80.     public function getId()
  81.     {
  82.         return $this->id;
  83.     }
  84.     /**
  85.      * Set code.
  86.      *
  87.      * @param string $code
  88.      *
  89.      * @return Urbanisme
  90.      */
  91.     public function setCode($code)
  92.     {
  93.         $this->code $code;
  94.         return $this;
  95.     }
  96.     /**
  97.      * Get code.
  98.      *
  99.      * @return string
  100.      */
  101.     public function getCode()
  102.     {
  103.         return $this->code;
  104.     }
  105.     /**
  106.      * Set routeFortTrafic.
  107.      *
  108.      * @param bool $routeFortTrafic
  109.      *
  110.      * @return Urbanisme
  111.      */
  112.     public function setRouteFortTrafic($routeFortTrafic)
  113.     {
  114.         $this->routeFortTrafic $routeFortTrafic;
  115.         return $this;
  116.     }
  117.     /**
  118.      * Get routeFortTrafic.
  119.      *
  120.      * @return bool
  121.      */
  122.     public function getRouteFortTrafic()
  123.     {
  124.         return $this->routeFortTrafic;
  125.     }
  126.     /**
  127.      * Set distanceAxeRouteFortTrafic.
  128.      *
  129.      * @param float $distanceAxeRouteFortTrafic
  130.      *
  131.      * @return Urbanisme
  132.      */
  133.     public function setDistanceAxeRouteFortTrafic($distanceAxeRouteFortTrafic)
  134.     {
  135.         $this->distanceAxeRouteFortTrafic $distanceAxeRouteFortTrafic;
  136.         return $this;
  137.     }
  138.     /**
  139.      * Get distanceAxeRouteFortTrafic.
  140.      *
  141.      * @return float
  142.      */
  143.     public function getDistanceAxeRouteFortTrafic()
  144.     {
  145.         return $this->distanceAxeRouteFortTrafic;
  146.     }
  147.     /**
  148.      * Set voieFerree.
  149.      *
  150.      * @param bool $voieFerree
  151.      *
  152.      * @return Urbanisme
  153.      */
  154.     public function setVoieFerree($voieFerree)
  155.     {
  156.         $this->voieFerree $voieFerree;
  157.         return $this;
  158.     }
  159.     /**
  160.      * Get voieFerree.
  161.      *
  162.      * @return bool
  163.      */
  164.     public function getVoieFerree()
  165.     {
  166.         return $this->voieFerree;
  167.     }
  168.     /**
  169.      * Set distanceAxeVoieFerree.
  170.      *
  171.      * @param float $distanceAxeVoieFerree
  172.      *
  173.      * @return Urbanisme
  174.      */
  175.     public function setDistanceAxeVoieFerree($distanceAxeVoieFerree)
  176.     {
  177.         $this->distanceAxeVoieFerree $distanceAxeVoieFerree;
  178.         return $this;
  179.     }
  180.     /**
  181.      * Get distanceAxeVoieFerree.
  182.      *
  183.      * @return float
  184.      */
  185.     public function getDistanceAxeVoieFerree()
  186.     {
  187.         return $this->distanceAxeVoieFerree;
  188.     }
  189.     /**
  190.      * Set zoneIndustrielle.
  191.      *
  192.      * @param bool $zoneIndustrielle
  193.      *
  194.      * @return Urbanisme
  195.      */
  196.     public function setZoneIndustrielle($zoneIndustrielle)
  197.     {
  198.         $this->zoneIndustrielle $zoneIndustrielle;
  199.         return $this;
  200.     }
  201.     /**
  202.      * Get zoneIndustrielle.
  203.      *
  204.      * @return bool
  205.      */
  206.     public function getZoneIndustrielle()
  207.     {
  208.         return $this->zoneIndustrielle;
  209.     }
  210.     /**
  211.      * Set distanceAxeZoneIndustrielle.
  212.      *
  213.      * @param float $distanceAxeZoneIndustrielle
  214.      *
  215.      * @return Urbanisme
  216.      */
  217.     public function setDistanceAxeZoneIndustrielle($distanceAxeZoneIndustrielle)
  218.     {
  219.         $this->distanceAxeZoneIndustrielle $distanceAxeZoneIndustrielle;
  220.         return $this;
  221.     }
  222.     /**
  223.      * Get distanceAxeZoneIndustrielle.
  224.      *
  225.      * @return float
  226.      */
  227.     public function getDistanceAxeZoneIndustrielle()
  228.     {
  229.         return $this->distanceAxeZoneIndustrielle;
  230.     }
  231.     /**
  232.      * Set zoneStockageHydrocarbure.
  233.      *
  234.      * @param bool $zoneStockageHydrocarbure
  235.      *
  236.      * @return Urbanisme
  237.      */
  238.     public function setZoneStockageHydrocarbure($zoneStockageHydrocarbure)
  239.     {
  240.         $this->zoneStockageHydrocarbure $zoneStockageHydrocarbure;
  241.         return $this;
  242.     }
  243.     /**
  244.      * Get zoneStockageHydrocarbure.
  245.      *
  246.      * @return bool
  247.      */
  248.     public function getZoneStockageHydrocarbure()
  249.     {
  250.         return $this->zoneStockageHydrocarbure;
  251.     }
  252.     /**
  253.      * Set distanceAxeStockageHydrocarbure.
  254.      *
  255.      * @param float $distanceAxeStockageHydrocarbure
  256.      *
  257.      * @return Urbanisme
  258.      */
  259.     public function setDistanceAxeStockageHydrocarbure($distanceAxeStockageHydrocarbure)
  260.     {
  261.         $this->distanceAxeStockageHydrocarbure $distanceAxeStockageHydrocarbure;
  262.         return $this;
  263.     }
  264.     /**
  265.      * Get distanceAxeStockageHydrocarbure.
  266.      *
  267.      * @return float
  268.      */
  269.     public function getDistanceAxeStockageHydrocarbure()
  270.     {
  271.         return $this->distanceAxeStockageHydrocarbure;
  272.     }
  273.     /**
  274.      * Set sitePolueRehabilite.
  275.      *
  276.      * @param bool $sitePolueRehabilite
  277.      *
  278.      * @return Urbanisme
  279.      */
  280.     public function setSitePolueRehabilite($sitePolueRehabilite)
  281.     {
  282.         $this->sitePolueRehabilite $sitePolueRehabilite;
  283.         return $this;
  284.     }
  285.     /**
  286.      * Get sitePolueRehabilite.
  287.      *
  288.      * @return bool
  289.      */
  290.     public function getSitePolueRehabilite()
  291.     {
  292.         return $this->sitePolueRehabilite;
  293.     }
  294.     /**
  295.      * Set idBdOrigine.
  296.      *
  297.      * @param int $idBdOrigine
  298.      *
  299.      * @return Urbanisme
  300.      */
  301.     public function setIdBdOrigine($idBdOrigine)
  302.     {
  303.         $this->idBdOrigine $idBdOrigine;
  304.         return $this;
  305.     }
  306.     /**
  307.      * Get idBdOrigine.
  308.      *
  309.      * @return int
  310.      */
  311.     public function getIdBdOrigine()
  312.     {
  313.         return $this->idBdOrigine;
  314.     }
  315.     /**
  316.      * Add batiment.
  317.      *
  318.      * @param \App\Entity\Batiment $batiment
  319.      *
  320.      * @return Urbanisme
  321.      */
  322.     public function addBatiment(Batiment $batiment)
  323.     {
  324.         $this->Batiment[] = $batiment;
  325.         return $this;
  326.     }
  327.     /**
  328.      * Remove batiment.
  329.      *
  330.      * @param \App\Entity\Batiment $batiment
  331.      */
  332.     public function removeBatiment(Batiment $batiment)
  333.     {
  334.         $this->Batiment->removeElement($batiment);
  335.     }
  336.     /**
  337.      * Get batiment.
  338.      *
  339.      * @return \Doctrine\Common\Collections\Collection
  340.      */
  341.     public function getBatiment()
  342.     {
  343.         return $this->Batiment;
  344.     }
  345.     /**
  346.      * Set zoneHabitat.
  347.      *
  348.      * @param \App\Entity\ZoneHabitat $zoneHabitat
  349.      *
  350.      * @return Urbanisme
  351.      */
  352.     public function setZoneHabitat(ZoneHabitat $zoneHabitat null)
  353.     {
  354.         $this->ZoneHabitat $zoneHabitat;
  355.         return $this;
  356.     }
  357.     /**
  358.      * Get zoneHabitat.
  359.      *
  360.      * @return \App\Entity\ZoneHabitat
  361.      */
  362.     public function getZoneHabitat()
  363.     {
  364.         return $this->ZoneHabitat;
  365.     }
  366.     /**
  367.      * Set adresse.
  368.      *
  369.      * @param \App\Entity\Adresse $adresse
  370.      *
  371.      * @return Urbanisme
  372.      */
  373.     public function setAdresse(Adresse $adresse null)
  374.     {
  375.         $this->Adresse $adresse;
  376.         return $this;
  377.     }
  378.     /**
  379.      * Get adresse.
  380.      *
  381.      * @return \App\Entity\Adresse
  382.      */
  383.     public function getAdresse()
  384.     {
  385.         return $this->Adresse;
  386.     }
  387.     /**
  388.      * @var \DateTime
  389.      */
  390.     private $createdAt;
  391.     /**
  392.      * @var \DateTime
  393.      */
  394.     private $updatedAt;
  395.     /**
  396.      * Set createdAt.
  397.      *
  398.      * @param \DateTime $createdAt
  399.      *
  400.      * @return Urbanisme
  401.      */
  402.     public function setCreatedAt($createdAt)
  403.     {
  404.         $this->createdAt $createdAt;
  405.         return $this;
  406.     }
  407.     /**
  408.      * Get createdAt.
  409.      *
  410.      * @return \DateTime
  411.      */
  412.     public function getCreatedAt()
  413.     {
  414.         return $this->createdAt;
  415.     }
  416.     /**
  417.      * Set updatedAt.
  418.      *
  419.      * @param \DateTime $updatedAt
  420.      *
  421.      * @return Urbanisme
  422.      */
  423.     public function setUpdatedAt($updatedAt)
  424.     {
  425.         $this->updatedAt $updatedAt;
  426.         return $this;
  427.     }
  428.     /**
  429.      * Get updatedAt.
  430.      *
  431.      * @return \DateTime
  432.      */
  433.     public function getUpdatedAt()
  434.     {
  435.         return $this->updatedAt;
  436.     }
  437.     public function isRouteFortTrafic(): ?bool
  438.     {
  439.         return $this->routeFortTrafic;
  440.     }
  441.     public function isVoieFerree(): ?bool
  442.     {
  443.         return $this->voieFerree;
  444.     }
  445.     public function isZoneIndustrielle(): ?bool
  446.     {
  447.         return $this->zoneIndustrielle;
  448.     }
  449.     public function isZoneStockageHydrocarbure(): ?bool
  450.     {
  451.         return $this->zoneStockageHydrocarbure;
  452.     }
  453.     public function isSitePolueRehabilite(): ?bool
  454.     {
  455.         return $this->sitePolueRehabilite;
  456.     }
  457. }