summaryrefslogtreecommitdiff
path: root/src/model/DevisFactures.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/model/DevisFactures.php')
-rw-r--r--src/model/DevisFactures.php98
1 files changed, 98 insertions, 0 deletions
diff --git a/src/model/DevisFactures.php b/src/model/DevisFactures.php
new file mode 100644
index 0000000..be733dd
--- /dev/null
+++ b/src/model/DevisFactures.php
@@ -0,0 +1,98 @@
1<?php
2// model/DevisFactures.php
3
4class DevisFactures extends Model
5{
6 // lecture des données ou hydratation
7 private $ID;
8 private $ID_presta;
9 private $validite_devis;
10 private $signature_devis;
11 private $taches;
12 private $machine;
13 private $OS;
14 private $donnees;
15 private $cles_licences;
16 private $total_main_d_oeuvre;
17 private $pieces;
18 private $total_pieces;
19 private $deplacement;
20 private $total_HT;
21
22 public function __construct()
23 {
24 $this->table = strtolower(__CLASS__);
25 }
26
27 // setters
28 public function setID(int $value)
29 {
30 $this->ID = $value;
31 return($this);
32 }
33 public function setIDPresta(int $value)
34 {
35 $this->ID_presta = $value;
36 return($this);
37 }
38 public function setValiditeDdevis(string $value)
39 {
40 $this->validite_devis = $value;
41 return($this);
42 }
43 public function setSignatureDevis(string $value)
44 {
45 $this->signature_devis = $value;
46 return($this);
47 }
48 public function setTaches(string $value)
49 {
50 $this->taches = $value;
51 return($this);
52 }
53 public function setMachine(string $value)
54 {
55 $this->machine = $value;
56 return($this);
57 }
58 public function setOS(string $value)
59 {
60 $this->OS = $value;
61 return($this);
62 }
63 public function setDonnees(string $value)
64 {
65 $this->donnees = $value;
66 return($this);
67 }
68 public function setClesLicences(string $value)
69 {
70 $this->cles_licences = $value;
71 return($this);
72 }
73 public function setTotalMainDOeuvre(float $value)
74 {
75 $this->total_main_d_oeuvre = $value;
76 return($this);
77 }
78 public function setPieces(string $value)
79 {
80 $this->pieces = $value;
81 return($this);
82 }
83 public function setTotalPieces(float $value)
84 {
85 $this->total_pieces = $value;
86 return($this);
87 }
88 public function setDeplacement(float $value)
89 {
90 $this->deplacement = $value;
91 return($this);
92 }
93 public function setTotalHT(float $value)
94 {
95 $this->total_HT = $value;
96 return($this);
97 }
98}