@movalib/movalib-commons 1.33.0 → 1.34.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { OrderPreference, OrderState, ProductType } from "../helpers/Enums";
|
|
1
|
+
import { OrderPreference, OrderState, PartsApplicationType, ProductType } from "../helpers/Enums";
|
|
2
2
|
import Operation from "./Operation";
|
|
3
3
|
import Supplier from "./Supplier";
|
|
4
4
|
export default class Product {
|
|
@@ -10,5 +10,6 @@ export default class Product {
|
|
|
10
10
|
operation?: Operation;
|
|
11
11
|
orderState?: OrderState;
|
|
12
12
|
supplier?: Supplier;
|
|
13
|
+
application?: PartsApplicationType;
|
|
13
14
|
constructor(id: string, code: string, name: string, type: ProductType, orderPreference: OrderPreference, originReferences: string[]);
|
|
14
15
|
}
|
package/package.json
CHANGED
package/src/models/Product.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { OrderPreference, OrderState, ProductType } from "../helpers/Enums";
|
|
1
|
+
import { OrderPreference, OrderState, PartsApplicationType, ProductType } from "../helpers/Enums";
|
|
2
2
|
import Operation from "./Operation";
|
|
3
3
|
import Supplier from "./Supplier";
|
|
4
4
|
|
|
@@ -16,6 +16,8 @@ export default class Product {
|
|
|
16
16
|
orderState?: OrderState;
|
|
17
17
|
// Eventuel fournisseur du produit
|
|
18
18
|
supplier?: Supplier;
|
|
19
|
+
// Eventuelle application du produit (avant, arrière)
|
|
20
|
+
application?: PartsApplicationType;
|
|
19
21
|
|
|
20
22
|
constructor(id:string, code: string, name:string, type: ProductType, orderPreference: OrderPreference, originReferences: string[]) {
|
|
21
23
|
this.id = id;
|