diff options
author | polo <ordipolo@gmx.fr> | 2024-07-16 05:04:13 +0200 |
---|---|---|
committer | polo <ordipolo@gmx.fr> | 2024-07-16 05:04:13 +0200 |
commit | 9c9cda0ac823863c6760d77984ea2ecaf87c52ab (patch) | |
tree | fc00fd9fbd71bf2b62bca5fe5627f2a9e816870d /src/model/CESU.php | |
parent | c4a3f80a6dccdff9b2abff6f159ef8fdd4382787 (diff) | |
download | AppliGestionPHP-9c9cda0ac823863c6760d77984ea2ecaf87c52ab.zip |
renommage complet des ID en id: variables, méthodes, BDD
Diffstat (limited to 'src/model/CESU.php')
-rw-r--r-- | src/model/CESU.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/model/CESU.php b/src/model/CESU.php index 8bea94d..2768b8f 100644 --- a/src/model/CESU.php +++ b/src/model/CESU.php | |||
@@ -6,8 +6,8 @@ class CESU extends Model | |||
6 | //~ const TABLE = 'cesu'; | 6 | //~ const TABLE = 'cesu'; |
7 | 7 | ||
8 | // lecture des données ou hydratation | 8 | // lecture des données ou hydratation |
9 | protected $ID; | 9 | protected $id; |
10 | protected $ID_presta; | 10 | protected $id_presta; |
11 | protected $taches; | 11 | protected $taches; |
12 | protected $duree_travail; | 12 | protected $duree_travail; |
13 | protected $salaire; | 13 | protected $salaire; |
@@ -42,9 +42,9 @@ class CESU extends Model | |||
42 | } | 42 | } |
43 | 43 | ||
44 | // setters | 44 | // setters |
45 | public function setIDPresta(int $value) | 45 | public function setIdPresta(int $value) |
46 | { | 46 | { |
47 | $this->ID_presta = $value; | 47 | $this->id_presta = $value; |
48 | return($this); | 48 | return($this); |
49 | } | 49 | } |
50 | public function setTaches(string $value) | 50 | public function setTaches(string $value) |