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/Locations.php | |
| parent | c4a3f80a6dccdff9b2abff6f159ef8fdd4382787 (diff) | |
| download | AppliGestionPHP-9c9cda0ac823863c6760d77984ea2ecaf87c52ab.tar.gz AppliGestionPHP-9c9cda0ac823863c6760d77984ea2ecaf87c52ab.tar.bz2 AppliGestionPHP-9c9cda0ac823863c6760d77984ea2ecaf87c52ab.zip | |
renommage complet des ID en id: variables, méthodes, BDD
Diffstat (limited to 'src/model/Locations.php')
| -rw-r--r-- | src/model/Locations.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/model/Locations.php b/src/model/Locations.php index 103cecd..c6b8deb 100644 --- a/src/model/Locations.php +++ b/src/model/Locations.php | |||
| @@ -4,8 +4,8 @@ | |||
| 4 | class Locations extends Model | 4 | class Locations extends Model |
| 5 | { | 5 | { |
| 6 | // lecture des données ou hydratation | 6 | // lecture des données ou hydratation |
| 7 | protected $ID; | 7 | protected $id; |
| 8 | protected $ID_presta; | 8 | protected $id_presta; |
| 9 | protected $designation; | 9 | protected $designation; |
| 10 | protected $modele_description; | 10 | protected $modele_description; |
| 11 | protected $valeur; | 11 | protected $valeur; |
| @@ -70,9 +70,9 @@ class Locations extends Model | |||
| 70 | } | 70 | } |
| 71 | 71 | ||
| 72 | // setters | 72 | // setters |
| 73 | public function setIDPresta(int $value) | 73 | public function setIdPresta(int $value) |
| 74 | { | 74 | { |
| 75 | $this->ID_presta = $value; | 75 | $this->id_presta = $value; |
| 76 | return($this); | 76 | return($this); |
| 77 | } | 77 | } |
| 78 | public function setDesignation(string $value) | 78 | public function setDesignation(string $value) |
