<?php
namespace App\Entity;
use App\Repository\SimulSitePanneauxRepository;
use Doctrine\ORM\Mapping as ORM;
use Symfony\Component\Validator\Constraints as Assert;
/**
* @ORM\Entity(repositoryClass=SimulSitePanneauxRepository::class)
*/
class SimulSitePanneaux
{
/**
* @ORM\Id()
* @ORM\GeneratedValue()
* @ORM\Column(type="integer")
*/
private $id;
/**
* @ORM\Column(type="string", length=255, nullable=true)
*/
private $habitant;
/**
* @ORM\Column(type="integer", nullable=true)
* @Assert\Length(
* min = 5,
* max = 5,
* minMessage = "Code postal doit avoir {{ limit }} chiffres",
* maxMessage = "Code postal doit avoir {{ limit }} chiffres",
* allowEmptyString = false
* )
*/
private $cp;
/**
* @ORM\Column(type="string", length=255, nullable=true)
*/
private $domicile;
/**
* @ORM\Column(type="string", nullable=true)
*/
private $date_construction;
/**
* @ORM\Column(type="string", length=255, nullable=true)
*/
private $chauffage;
/**
* @ORM\Column(type="string", length=255, nullable=true)
*/
private $orientation_toiture;
/**
* @ORM\Column(type="integer", nullable=true)
*/
private $surface_pan_toiture;
/**
* @ORM\Column(type="integer", nullable=true)
*/
private $inclinaison_toiture;
/**
* @ORM\Column(type="integer", nullable=true)
*/
private $conso_elec_mois;
/**
* @ORM\Column(type="string", length=255, nullable=true)
*/
private $nom;
/**
* @ORM\Column(type="string", length=255, nullable=true)
*/
private $prenom;
/**
* @ORM\Column(type="string", length=255, nullable=true)
*/
private $mail;
/**
* @ORM\Column(type="string", length=255, nullable=true)
*/
private $tel;
/**
* @ORM\Column(type="string", length=255)
*/
private $random_simul_id;
public function getId(): ?int
{
return $this->id;
}
public function getHabitant(): ?string
{
return $this->habitant;
}
public function setHabitant(?string $habitant): self
{
$this->habitant = $habitant;
return $this;
}
public function getCp(): ?int
{
return $this->cp;
}
public function setCp(?int $cp): self
{
$this->cp = $cp;
return $this;
}
public function getDomicile(): ?string
{
return $this->domicile;
}
public function setDomicile(?string $domicile): self
{
$this->domicile = $domicile;
return $this;
}
public function getDateConstruction(): ?string
{
return $this->date_construction;
}
public function setDateConstruction(?string $date_construction): self
{
$this->date_construction = $date_construction;
return $this;
}
public function getChauffage(): ?string
{
return $this->chauffage;
}
public function setChauffage(?string $chauffage): self
{
$this->chauffage = $chauffage;
return $this;
}
public function getOrientationToiture(): ?string
{
return $this->orientation_toiture;
}
public function setOrientationToiture(?string $orientation_toiture): self
{
$this->orientation_toiture = $orientation_toiture;
return $this;
}
public function getSurfacePanToiture(): ?int
{
return $this->surface_pan_toiture;
}
public function setSurfacePanToiture(?int $surface_pan_toiture): self
{
$this->surface_pan_toiture = $surface_pan_toiture;
return $this;
}
public function getInclinaisonToiture(): ?int
{
return $this->inclinaison_toiture;
}
public function setInclinaisonToiture(?int $inclinaison_toiture): self
{
$this->inclinaison_toiture = $inclinaison_toiture;
return $this;
}
public function getConsoElecMois(): ?int
{
return $this->conso_elec_mois;
}
public function setConsoElecMois(?int $conso_elec_mois): self
{
$this->conso_elec_mois = $conso_elec_mois;
return $this;
}
public function getNom(): ?string
{
return $this->nom;
}
public function setNom(?string $nom): self
{
$this->nom = $nom;
return $this;
}
public function getPrenom(): ?string
{
return $this->prenom;
}
public function setPrenom(?string $prenom): self
{
$this->prenom = $prenom;
return $this;
}
public function getMail(): ?string
{
return $this->mail;
}
public function setMail(?string $mail): self
{
$this->mail = $mail;
return $this;
}
public function getTel(): ?string
{
return $this->tel;
}
public function setTel(?string $tel): self
{
$this->tel = $tel;
return $this;
}
public function getRandomSimulId(): ?string
{
return $this->random_simul_id;
}
public function setRandomSimulId(string $random_simul_id): self
{
$this->random_simul_id = $random_simul_id;
return $this;
}
}