src/Entity/SimulSitePanneaux.php line 12

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\SimulSitePanneauxRepository;
  4. use Doctrine\ORM\Mapping as ORM;
  5. use Symfony\Component\Validator\Constraints as Assert;
  6. /**
  7.  * @ORM\Entity(repositoryClass=SimulSitePanneauxRepository::class)
  8.  */
  9. class SimulSitePanneaux
  10. {
  11.     /**
  12.      * @ORM\Id()
  13.      * @ORM\GeneratedValue()
  14.      * @ORM\Column(type="integer")
  15.      */
  16.     private $id;
  17.     /**
  18.      * @ORM\Column(type="string", length=255, nullable=true)
  19.      */
  20.     private $habitant;
  21.     /**
  22.      * @ORM\Column(type="integer", nullable=true)
  23.      * @Assert\Length(
  24.      *      min = 5,
  25.      *      max = 5,
  26.      *      minMessage = "Code postal doit avoir {{ limit }} chiffres",
  27.      *      maxMessage = "Code postal doit avoir {{ limit }} chiffres",
  28.      *      allowEmptyString = false
  29.      * )
  30.      */
  31.     private $cp;
  32.     /**
  33.      * @ORM\Column(type="string", length=255, nullable=true)
  34.      */
  35.     private $domicile;
  36.     /**
  37.      * @ORM\Column(type="string", nullable=true)
  38.      */
  39.     private $date_construction;
  40.     /**
  41.      * @ORM\Column(type="string", length=255, nullable=true)
  42.      */
  43.     private $chauffage;
  44.     /**
  45.      * @ORM\Column(type="string", length=255, nullable=true)
  46.      */
  47.     private $orientation_toiture;
  48.     /**
  49.      * @ORM\Column(type="integer", nullable=true)
  50.      */
  51.     private $surface_pan_toiture;
  52.     /**
  53.      * @ORM\Column(type="integer", nullable=true)
  54.      */
  55.     private $inclinaison_toiture;
  56.     /**
  57.      * @ORM\Column(type="integer", nullable=true)
  58.      */
  59.     private $conso_elec_mois;
  60.     /**
  61.      * @ORM\Column(type="string", length=255, nullable=true)
  62.      */
  63.     private $nom;
  64.     /**
  65.      * @ORM\Column(type="string", length=255, nullable=true)
  66.      */
  67.     private $prenom;
  68.     /**
  69.      * @ORM\Column(type="string", length=255, nullable=true)
  70.      */
  71.     private $mail;
  72.     /**
  73.      * @ORM\Column(type="string", length=255, nullable=true)
  74.      */
  75.     private $tel;
  76.     /**
  77.      * @ORM\Column(type="string", length=255)
  78.      */
  79.     private $random_simul_id;
  80.     public function getId(): ?int
  81.     {
  82.         return $this->id;
  83.     }
  84.     public function getHabitant(): ?string
  85.     {
  86.         return $this->habitant;
  87.     }
  88.     public function setHabitant(?string $habitant): self
  89.     {
  90.         $this->habitant $habitant;
  91.         return $this;
  92.     }
  93.     public function getCp(): ?int
  94.     {
  95.         return $this->cp;
  96.     }
  97.     public function setCp(?int $cp): self
  98.     {
  99.         $this->cp $cp;
  100.         return $this;
  101.     }
  102.     public function getDomicile(): ?string
  103.     {
  104.         return $this->domicile;
  105.     }
  106.     public function setDomicile(?string $domicile): self
  107.     {
  108.         $this->domicile $domicile;
  109.         return $this;
  110.     }
  111.     public function getDateConstruction(): ?string
  112.     {
  113.         return $this->date_construction;
  114.     }
  115.     public function setDateConstruction(?string $date_construction): self
  116.     {
  117.         $this->date_construction $date_construction;
  118.         return $this;
  119.     }
  120.     public function getChauffage(): ?string
  121.     {
  122.         return $this->chauffage;
  123.     }
  124.     public function setChauffage(?string $chauffage): self
  125.     {
  126.         $this->chauffage $chauffage;
  127.         return $this;
  128.     }
  129.     public function getOrientationToiture(): ?string
  130.     {
  131.         return $this->orientation_toiture;
  132.     }
  133.     public function setOrientationToiture(?string $orientation_toiture): self
  134.     {
  135.         $this->orientation_toiture $orientation_toiture;
  136.         return $this;
  137.     }
  138.     public function getSurfacePanToiture(): ?int
  139.     {
  140.         return $this->surface_pan_toiture;
  141.     }
  142.     public function setSurfacePanToiture(?int $surface_pan_toiture): self
  143.     {
  144.         $this->surface_pan_toiture $surface_pan_toiture;
  145.         return $this;
  146.     }
  147.     public function getInclinaisonToiture(): ?int
  148.     {
  149.         return $this->inclinaison_toiture;
  150.     }
  151.     public function setInclinaisonToiture(?int $inclinaison_toiture): self
  152.     {
  153.         $this->inclinaison_toiture $inclinaison_toiture;
  154.         return $this;
  155.     }
  156.     public function getConsoElecMois(): ?int
  157.     {
  158.         return $this->conso_elec_mois;
  159.     }
  160.     public function setConsoElecMois(?int $conso_elec_mois): self
  161.     {
  162.         $this->conso_elec_mois $conso_elec_mois;
  163.         return $this;
  164.     }
  165.     public function getNom(): ?string
  166.     {
  167.         return $this->nom;
  168.     }
  169.     public function setNom(?string $nom): self
  170.     {
  171.         $this->nom $nom;
  172.         return $this;
  173.     }
  174.     public function getPrenom(): ?string
  175.     {
  176.         return $this->prenom;
  177.     }
  178.     public function setPrenom(?string $prenom): self
  179.     {
  180.         $this->prenom $prenom;
  181.         return $this;
  182.     }
  183.     public function getMail(): ?string
  184.     {
  185.         return $this->mail;
  186.     }
  187.     public function setMail(?string $mail): self
  188.     {
  189.         $this->mail $mail;
  190.         return $this;
  191.     }
  192.     public function getTel(): ?string
  193.     {
  194.         return $this->tel;
  195.     }
  196.     public function setTel(?string $tel): self
  197.     {
  198.         $this->tel $tel;
  199.         return $this;
  200.     }
  201.     public function getRandomSimulId(): ?string
  202.     {
  203.         return $this->random_simul_id;
  204.     }
  205.     public function setRandomSimulId(string $random_simul_id): self
  206.     {
  207.         $this->random_simul_id $random_simul_id;
  208.         return $this;
  209.     }
  210. }