@movalib/movalib-commons 1.0.91 → 1.0.92
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,6 +1,7 @@
|
|
|
1
1
|
import Operation from "./Operation";
|
|
2
2
|
export default class Prestation {
|
|
3
3
|
id: number;
|
|
4
|
+
code: string;
|
|
4
5
|
name: string;
|
|
5
6
|
description: string;
|
|
6
7
|
category: string;
|
|
@@ -16,5 +17,5 @@ export default class Prestation {
|
|
|
16
17
|
* Opérations inhérentes à cette prestation
|
|
17
18
|
*/
|
|
18
19
|
operations?: Operation[];
|
|
19
|
-
constructor(id: number, name: string, description: string, category: string, downtime: number, appointmentDelay: number, operations?: Operation[]);
|
|
20
|
+
constructor(id: number, code: string, name: string, description: string, category: string, downtime: number, appointmentDelay: number, operations?: Operation[]);
|
|
20
21
|
}
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
var Prestation = /** @class */ (function () {
|
|
4
|
-
function Prestation(id, name, description, category, downtime, appointmentDelay, operations) {
|
|
4
|
+
function Prestation(id, code, name, description, category, downtime, appointmentDelay, operations) {
|
|
5
5
|
this.id = id;
|
|
6
|
+
this.code = code;
|
|
6
7
|
this.name = name;
|
|
7
8
|
this.description = description;
|
|
8
9
|
this.category = category;
|
package/package.json
CHANGED
package/src/models/Prestation.ts
CHANGED
|
@@ -4,6 +4,7 @@ export default class Prestation {
|
|
|
4
4
|
|
|
5
5
|
// Properties
|
|
6
6
|
id: number;
|
|
7
|
+
code: string;
|
|
7
8
|
name: string;
|
|
8
9
|
description: string;
|
|
9
10
|
category: string;
|
|
@@ -20,9 +21,10 @@ export default class Prestation {
|
|
|
20
21
|
*/
|
|
21
22
|
operations?: Operation[];
|
|
22
23
|
|
|
23
|
-
constructor(id:number, name:string, description: string, category:string,
|
|
24
|
+
constructor(id:number, code: string, name:string, description: string, category:string,
|
|
24
25
|
downtime:number, appointmentDelay: number, operations?: Operation[]) {
|
|
25
26
|
this.id = id;
|
|
27
|
+
this.code = code;
|
|
26
28
|
this.name = name;
|
|
27
29
|
this.description = description;
|
|
28
30
|
this.category = category;
|