1 | <?php |
||
28 | class Settings |
||
29 | { |
||
30 | /** |
||
31 | * @var int Id de la configuration |
||
32 | * |
||
33 | * @ORM\Column(name="id", type="integer") |
||
34 | * @ORM\Id |
||
35 | * @ORM\GeneratedValue(strategy="AUTO") |
||
36 | */ |
||
37 | private $id; |
||
38 | |||
39 | /** |
||
40 | * @var string sort mode inventory |
||
41 | * |
||
42 | * @ORM\Column(name="inventory_style", type="string", length=50) |
||
43 | */ |
||
44 | private $inventoryStyle; |
||
45 | |||
46 | /** |
||
47 | * @var string calculation of inventories and stocks |
||
48 | * |
||
49 | * @ORM\Column(name="calculation", type="string", length=50) |
||
50 | */ |
||
51 | private $calculation; |
||
52 | |||
53 | /** |
||
54 | * @var string currency's choice |
||
55 | * |
||
56 | * @ORM\Column(name="currency", type="string", length=50) |
||
57 | */ |
||
58 | private $currency; |
||
59 | |||
60 | /** |
||
61 | * Get id. |
||
62 | * |
||
63 | * @return int |
||
64 | */ |
||
65 | public function getId() |
||
69 | |||
70 | /** |
||
71 | * Set inventoryStyle. |
||
72 | * |
||
73 | * @param string $inventoryStyle Style d'inventaire |
||
74 | * |
||
75 | * @return Settings |
||
76 | */ |
||
77 | public function setInventoryStyle($inventoryStyle) |
||
86 | |||
87 | /** |
||
88 | * Get inventory_style. |
||
89 | * |
||
90 | * @return string |
||
91 | */ |
||
92 | public function getInventoryStyle() |
||
96 | |||
97 | /** |
||
98 | * Set calculation. |
||
99 | * |
||
100 | * @param string $calculation Mode de calcul de l'inventaire |
||
101 | * |
||
102 | * @return Settings |
||
103 | */ |
||
104 | public function setCalculation($calculation) |
||
110 | |||
111 | /** |
||
112 | * Get calculation. |
||
113 | * |
||
114 | * @return string |
||
115 | */ |
||
116 | public function getCalculation() |
||
120 | |||
121 | /** |
||
122 | * Set currency. |
||
123 | * |
||
124 | * @param string $currency Format monétaire de l'application |
||
125 | * |
||
126 | * @return Settings |
||
127 | */ |
||
128 | public function setCurrency($currency) |
||
134 | |||
135 | /** |
||
136 | * Get currency. |
||
137 | * |
||
138 | * @return string |
||
139 | */ |
||
140 | public function getCurrency() |
||
144 | } |
||
145 |