From ff14091476a35de16a9ea3208501040cfae93a06 Mon Sep 17 00:00:00 2001 From: polo Date: Wed, 14 Dec 2022 12:55:46 +0100 Subject: MODEL + reorganisation --- src/model/Locations.php | 74 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 74 insertions(+) create mode 100644 src/model/Locations.php (limited to 'src/model/Locations.php') diff --git a/src/model/Locations.php b/src/model/Locations.php new file mode 100644 index 0000000..2aa175a --- /dev/null +++ b/src/model/Locations.php @@ -0,0 +1,74 @@ +table = strtolower(__CLASS__); + } + + // setters + public function setID(int $value) + { + $this->ID = $value; + return($this); + } + public function setIDPresta(int $value) + { + $this->ID_presta = $value; + return($this); + } + public function setNatureBien(string $value) + { + $this->nature_bien = $value; + return($this); + } + public function setModele(string $value) + { + $this->modele = $value; + return($this); + } + public function setValeur(float $value) + { + $this->valeur = $value; + return($this); + } + public function setEtatDesLieuxDebut(string $value) + { + $this->etat_des_lieux_debut = $value; + return($this); + } + public function setEtatDesLieuxFin(string $value) + { + $this->etat_des_lieux_fin = $value; + return($this); + } + public function setDureeLocation(string $value) + { + $this->duree_location = $value; + return($this); + } + public function setlLyerMensuel(float $value) + { + $this->loyer_mensuel = $value; + return($this); + } + public function setTotalHT(float $value) + { + $this->total_HT = $value; + return($this); + } +} -- cgit v1.2.3