law-common 10.18.1-beta.5 → 10.18.1-beta.6
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,6 @@
|
|
|
1
1
|
import { ITaskApiEntity } from "../../api";
|
|
2
2
|
import { TaskStatusEnum, TaskTypeEnum } from "../enums/task.entity.enum";
|
|
3
|
-
export declare class
|
|
3
|
+
export declare class TaskEntityModel implements ITaskApiEntity {
|
|
4
4
|
id: number;
|
|
5
5
|
name: string;
|
|
6
6
|
description: string;
|
|
@@ -10,5 +10,5 @@ export declare class TaskEntity implements ITaskApiEntity {
|
|
|
10
10
|
updatedBy: number;
|
|
11
11
|
createdOn: string;
|
|
12
12
|
updatedOn: string;
|
|
13
|
-
static fromApiEntity(apiEntity: ITaskApiEntity):
|
|
13
|
+
static fromApiEntity(apiEntity: ITaskApiEntity): TaskEntityModel;
|
|
14
14
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.TaskEntityModel = void 0;
|
|
4
4
|
const task_entity_enum_1 = require("../enums/task.entity.enum");
|
|
5
|
-
class
|
|
5
|
+
class TaskEntityModel {
|
|
6
6
|
constructor() {
|
|
7
7
|
this.id = 0;
|
|
8
8
|
this.name = "";
|
|
@@ -15,9 +15,9 @@ class TaskEntity {
|
|
|
15
15
|
this.updatedOn = "";
|
|
16
16
|
}
|
|
17
17
|
static fromApiEntity(apiEntity) {
|
|
18
|
-
const entity = new
|
|
18
|
+
const entity = new TaskEntityModel();
|
|
19
19
|
Object.assign(entity, apiEntity);
|
|
20
20
|
return entity;
|
|
21
21
|
}
|
|
22
22
|
}
|
|
23
|
-
exports.
|
|
23
|
+
exports.TaskEntityModel = TaskEntityModel;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ITimesheetApiEntity } from "../../api";
|
|
2
2
|
import { TimesheetStatusEnum } from "../enums/timesheet.status.enum";
|
|
3
|
-
export declare class
|
|
3
|
+
export declare class TimesheetEntityModel implements ITimesheetApiEntity {
|
|
4
4
|
id: number;
|
|
5
5
|
userId: number;
|
|
6
6
|
projectId: number;
|
|
@@ -14,5 +14,5 @@ export declare class TimesheetEntity implements ITimesheetApiEntity {
|
|
|
14
14
|
updatedBy: number;
|
|
15
15
|
createdOn: string;
|
|
16
16
|
updatedOn: string;
|
|
17
|
-
static fromApiEntity(apiEntity: ITimesheetApiEntity):
|
|
17
|
+
static fromApiEntity(apiEntity: ITimesheetApiEntity): TimesheetEntityModel;
|
|
18
18
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.TimesheetEntityModel = void 0;
|
|
4
4
|
const timesheet_status_enum_1 = require("../enums/timesheet.status.enum");
|
|
5
|
-
class
|
|
5
|
+
class TimesheetEntityModel {
|
|
6
6
|
constructor() {
|
|
7
7
|
this.id = 0;
|
|
8
8
|
this.userId = 0;
|
|
@@ -17,9 +17,9 @@ class TimesheetEntity {
|
|
|
17
17
|
this.updatedOn = "";
|
|
18
18
|
}
|
|
19
19
|
static fromApiEntity(apiEntity) {
|
|
20
|
-
const entity = new
|
|
20
|
+
const entity = new TimesheetEntityModel();
|
|
21
21
|
Object.assign(entity, apiEntity);
|
|
22
22
|
return entity;
|
|
23
23
|
}
|
|
24
24
|
}
|
|
25
|
-
exports.
|
|
25
|
+
exports.TimesheetEntityModel = TimesheetEntityModel;
|