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/Prestations.php | 62 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 62 insertions(+) create mode 100644 src/model/Prestations.php (limited to 'src/model/Prestations.php') diff --git a/src/model/Prestations.php b/src/model/Prestations.php new file mode 100644 index 0000000..4f58d70 --- /dev/null +++ b/src/model/Prestations.php @@ -0,0 +1,62 @@ +table = strtolower(__CLASS__); + } + + // setters + public function setID(int $value) + { + $this->ID = $value; + return($this); + } + public function setIDClient(int $value) + { + $this->ID_client = $value; + return($this); + } + public function setCombientiemeFois(int $value) + { + $this->combientieme_fois = $value; + return($this); + } + public function setCodePresta(string $value) + { + $this->code_presta = $value; + return($this); + } + public function setDate(int $value) + { + $this->date = $value; + return($this); + } + public function setType(string $value) + { + $this->type = $value; + return($this); + } + public function setModePaiement(string $value) + { + $this->mode_paiement = $value; + return($this); + } + public function setCommentaires(string $value) + { + $this->commentaires = $value; + return($this); + } +} -- cgit v1.2.3