law-common 10.64.2-beta.1 → 10.64.2-beta.2
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.
- package/dist/src/entities/model/bank_history.entity.model.d.ts +2 -2
- package/dist/src/entities/model/bank_history.entity.model.js +9 -9
- package/dist/src/entities/model/base_history.entity.model.d.ts +17 -0
- package/dist/src/entities/model/base_history.entity.model.js +29 -0
- package/dist/src/entities/model/billing-reimbursement-expense-history.entity.model.d.ts +4 -17
- package/dist/src/entities/model/billing-reimbursement-expense-history.entity.model.js +30 -21
- package/dist/src/entities/model/billing-transaction-history.entity.model.d.ts +4 -17
- package/dist/src/entities/model/billing-transaction-history.entity.model.js +30 -21
- package/dist/src/entities/model/billing_history.entity.model.d.ts +4 -17
- package/dist/src/entities/model/billing_history.entity.model.js +27 -21
- package/dist/src/entities/model/billing_timesheet_history.entity.model.d.ts +4 -17
- package/dist/src/entities/model/billing_timesheet_history.entity.model.js +30 -21
- package/dist/src/entities/model/leave_history.entity.model.d.ts +4 -17
- package/dist/src/entities/model/leave_history.entity.model.js +27 -21
- package/dist/src/entities/model/reimbursement_history.entity.model.d.ts +4 -17
- package/dist/src/entities/model/reimbursement_history.entity.model.js +27 -21
- package/dist/src/entities/model/timesheet_history.entity.model.d.ts +3 -29
- package/dist/src/entities/model/timesheet_history.entity.model.js +28 -46
- package/dist/src/entities/model/vendor_history.entity.model.d.ts +4 -17
- package/dist/src/entities/model/vendor_history.entity.model.js +27 -21
- package/dist/src/entities/model/vendor_invoice_history.entity.model.d.ts +4 -17
- package/dist/src/entities/model/vendor_invoice_history.entity.model.js +27 -21
- package/dist/src/entities/model/vendor_invoice_item_history.entity.model.d.ts +4 -17
- package/dist/src/entities/model/vendor_invoice_item_history.entity.model.js +30 -21
- package/dist/src/entities/model/work_from_home_history.entity.model.d.ts +4 -17
- package/dist/src/entities/model/work_from_home_history.entity.model.js +30 -21
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { EntityEnum, IBaseHistoryEntity } from "../interface/entity.utils.interface";
|
|
2
|
-
import {
|
|
3
|
-
export declare class BankHistoryEntityModel extends
|
|
2
|
+
import { BaseHistoryEntityModel } from "./base_history.entity.model";
|
|
3
|
+
export declare class BankHistoryEntityModel extends BaseHistoryEntityModel<EntityEnum.BANK_HISTORY> {
|
|
4
4
|
static fromEntity(entity: IBaseHistoryEntity): BankHistoryEntityModel;
|
|
5
5
|
}
|
|
@@ -1,13 +1,19 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.BankHistoryEntityModel = void 0;
|
|
2
4
|
// import { HistoryOperationEnum } from "../enums/history_operation.enum";
|
|
3
5
|
// import { EntityEnum } from "../interface/entity.utils.interface";
|
|
4
6
|
// import { IBankHistoryEntity } from "../interface/bank_history.entity.interface";
|
|
5
7
|
// import { RelationConfigs } from "../interface/relation-config.interface";
|
|
6
8
|
// import { BaseEntityModel } from "./base.entity.model";
|
|
7
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
-
exports.BankHistoryEntityModel = void 0;
|
|
9
9
|
const entity_utils_interface_1 = require("../interface/entity.utils.interface");
|
|
10
|
-
const
|
|
10
|
+
const base_history_entity_model_1 = require("./base_history.entity.model");
|
|
11
|
+
class BankHistoryEntityModel extends base_history_entity_model_1.BaseHistoryEntityModel {
|
|
12
|
+
static fromEntity(entity) {
|
|
13
|
+
return base_history_entity_model_1.BaseHistoryEntityModel.createFromEntity(entity_utils_interface_1.EntityEnum.BANK_HISTORY, entity);
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
exports.BankHistoryEntityModel = BankHistoryEntityModel;
|
|
11
17
|
// export class BankHistoryEntityModel extends BaseEntityModel<EntityEnum.BANK_HISTORY> implements IBankHistoryEntity {
|
|
12
18
|
// id: number = 0;
|
|
13
19
|
// entityId: number = 0;
|
|
@@ -27,9 +33,3 @@ const timesheet_history_entity_model_1 = require("./timesheet_history.entity.mod
|
|
|
27
33
|
// return BankHistoryEntityModel.relationConfigs;
|
|
28
34
|
// }
|
|
29
35
|
// }
|
|
30
|
-
class BankHistoryEntityModel extends timesheet_history_entity_model_1.HistoryEntityModel {
|
|
31
|
-
static fromEntity(entity) {
|
|
32
|
-
return timesheet_history_entity_model_1.HistoryEntityModel.createFromEntity(entity_utils_interface_1.EntityEnum.BANK_HISTORY, entity);
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
exports.BankHistoryEntityModel = BankHistoryEntityModel;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { HistoryOperationEnum } from "../enums/history_operation.enum";
|
|
2
|
+
import { EntityEnum, IBaseHistoryEntity } from "../interface/entity.utils.interface";
|
|
3
|
+
import { RelationConfigs } from "../interface/relation-config.interface";
|
|
4
|
+
import { BaseEntityModel } from "./base.entity.model";
|
|
5
|
+
export declare class BaseHistoryEntityModel<E extends EntityEnum> extends BaseEntityModel<E> implements IBaseHistoryEntity {
|
|
6
|
+
id: number;
|
|
7
|
+
entityId: number;
|
|
8
|
+
operation: HistoryOperationEnum;
|
|
9
|
+
data: string;
|
|
10
|
+
createdOn: number;
|
|
11
|
+
updatedOn: number;
|
|
12
|
+
createdBy: number;
|
|
13
|
+
updatedBy: number;
|
|
14
|
+
static relationConfigs: RelationConfigs<[], EntityEnum>;
|
|
15
|
+
static createFromEntity<E extends EntityEnum>(entityEnum: E, entity: IBaseHistoryEntity): BaseHistoryEntityModel<E>;
|
|
16
|
+
getRelationConfigs(): [];
|
|
17
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.BaseHistoryEntityModel = void 0;
|
|
4
|
+
const history_operation_enum_1 = require("../enums/history_operation.enum");
|
|
5
|
+
const base_entity_model_1 = require("./base.entity.model");
|
|
6
|
+
class BaseHistoryEntityModel extends base_entity_model_1.BaseEntityModel {
|
|
7
|
+
constructor() {
|
|
8
|
+
super(...arguments);
|
|
9
|
+
this.id = 0;
|
|
10
|
+
this.entityId = 0;
|
|
11
|
+
this.operation = history_operation_enum_1.HistoryOperationEnum.CREATE;
|
|
12
|
+
this.data = "";
|
|
13
|
+
this.createdOn = 0;
|
|
14
|
+
this.updatedOn = 0;
|
|
15
|
+
this.createdBy = 0;
|
|
16
|
+
this.updatedBy = 0;
|
|
17
|
+
}
|
|
18
|
+
// Renamed to avoid collision with subclass overrides
|
|
19
|
+
static createFromEntity(entityEnum, entity) {
|
|
20
|
+
const result = new BaseHistoryEntityModel(entityEnum);
|
|
21
|
+
Object.assign(result, entity);
|
|
22
|
+
return result;
|
|
23
|
+
}
|
|
24
|
+
getRelationConfigs() {
|
|
25
|
+
return BaseHistoryEntityModel.relationConfigs;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
exports.BaseHistoryEntityModel = BaseHistoryEntityModel;
|
|
29
|
+
BaseHistoryEntityModel.relationConfigs = [];
|
|
@@ -1,18 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
import { BaseEntityModel } from "./base.entity.model";
|
|
6
|
-
export declare class BillingReimbursementExpenseHistoryEntityModel extends BaseEntityModel<EntityEnum.BILLING_REIMBURESMENT_EXPENSE_HISTORY> implements IBillingReimbursementExpenseHistoryEntity {
|
|
7
|
-
id: number;
|
|
8
|
-
entityId: number;
|
|
9
|
-
operation: HistoryOperationEnum;
|
|
10
|
-
data: string;
|
|
11
|
-
createdOn: number;
|
|
12
|
-
updatedOn: number;
|
|
13
|
-
createdBy: number;
|
|
14
|
-
updatedBy: number;
|
|
15
|
-
static relationConfigs: RelationConfigs<[], EntityEnum.BILLING_REIMBURESMENT_EXPENSE_HISTORY>;
|
|
16
|
-
static fromEntity(entity: IBillingReimbursementExpenseHistoryEntity): BillingReimbursementExpenseHistoryEntityModel;
|
|
17
|
-
getRelationConfigs(): [];
|
|
1
|
+
import { EntityEnum, IBaseHistoryEntity } from "../interface/entity.utils.interface";
|
|
2
|
+
import { BaseHistoryEntityModel } from "./base_history.entity.model";
|
|
3
|
+
export declare class BillingReimbursementExpenseHistoryEntityModel extends BaseHistoryEntityModel<EntityEnum.BILLING_REIMBURESMENT_EXPENSE_HISTORY> {
|
|
4
|
+
static fromEntity(entity: IBaseHistoryEntity): BillingReimbursementExpenseHistoryEntityModel;
|
|
18
5
|
}
|
|
@@ -1,29 +1,38 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.BillingReimbursementExpenseHistoryEntityModel = void 0;
|
|
4
|
-
const history_operation_enum_1 = require("../enums/history_operation.enum");
|
|
5
4
|
const entity_utils_interface_1 = require("../interface/entity.utils.interface");
|
|
6
|
-
const
|
|
7
|
-
class BillingReimbursementExpenseHistoryEntityModel extends
|
|
8
|
-
constructor() {
|
|
9
|
-
super(...arguments);
|
|
10
|
-
this.id = 0;
|
|
11
|
-
this.entityId = 0;
|
|
12
|
-
this.operation = history_operation_enum_1.HistoryOperationEnum.CREATE;
|
|
13
|
-
this.data = "";
|
|
14
|
-
this.createdOn = 0;
|
|
15
|
-
this.updatedOn = 0;
|
|
16
|
-
this.createdBy = 0;
|
|
17
|
-
this.updatedBy = 0;
|
|
18
|
-
}
|
|
5
|
+
const base_history_entity_model_1 = require("./base_history.entity.model");
|
|
6
|
+
class BillingReimbursementExpenseHistoryEntityModel extends base_history_entity_model_1.BaseHistoryEntityModel {
|
|
19
7
|
static fromEntity(entity) {
|
|
20
|
-
|
|
21
|
-
Object.assign(result, entity);
|
|
22
|
-
return result;
|
|
23
|
-
}
|
|
24
|
-
getRelationConfigs() {
|
|
25
|
-
return BillingReimbursementExpenseHistoryEntityModel.relationConfigs;
|
|
8
|
+
return base_history_entity_model_1.BaseHistoryEntityModel.createFromEntity(entity_utils_interface_1.EntityEnum.BILLING_REIMBURESMENT_EXPENSE_HISTORY, entity);
|
|
26
9
|
}
|
|
27
10
|
}
|
|
28
11
|
exports.BillingReimbursementExpenseHistoryEntityModel = BillingReimbursementExpenseHistoryEntityModel;
|
|
29
|
-
|
|
12
|
+
// import { HistoryOperationEnum } from "../enums/history_operation.enum";
|
|
13
|
+
// import { EntityEnum } from "../interface/entity.utils.interface";
|
|
14
|
+
// import { IBillingReimbursementExpenseHistoryEntity } from "../interface/billing-reimbursement-expense-history.entity.interface";
|
|
15
|
+
// import { RelationConfigs } from "../interface/relation-config.interface";
|
|
16
|
+
// import { BaseEntityModel } from "./base.entity.model";
|
|
17
|
+
// export class BillingReimbursementExpenseHistoryEntityModel
|
|
18
|
+
// extends BaseEntityModel<EntityEnum.BILLING_REIMBURESMENT_EXPENSE_HISTORY>
|
|
19
|
+
// implements IBillingReimbursementExpenseHistoryEntity
|
|
20
|
+
// {
|
|
21
|
+
// id: number = 0;
|
|
22
|
+
// entityId: number = 0;
|
|
23
|
+
// operation: HistoryOperationEnum = HistoryOperationEnum.CREATE;
|
|
24
|
+
// data: string = "";
|
|
25
|
+
// createdOn: number = 0;
|
|
26
|
+
// updatedOn: number = 0;
|
|
27
|
+
// createdBy: number = 0;
|
|
28
|
+
// updatedBy: number = 0;
|
|
29
|
+
// static relationConfigs: RelationConfigs<[], EntityEnum.BILLING_REIMBURESMENT_EXPENSE_HISTORY> = [];
|
|
30
|
+
// static fromEntity(entity: IBillingReimbursementExpenseHistoryEntity): BillingReimbursementExpenseHistoryEntityModel {
|
|
31
|
+
// const result = new BillingReimbursementExpenseHistoryEntityModel(EntityEnum.BILLING_REIMBURESMENT_EXPENSE_HISTORY);
|
|
32
|
+
// Object.assign(result, entity);
|
|
33
|
+
// return result;
|
|
34
|
+
// }
|
|
35
|
+
// getRelationConfigs() {
|
|
36
|
+
// return BillingReimbursementExpenseHistoryEntityModel.relationConfigs;
|
|
37
|
+
// }
|
|
38
|
+
// }
|
|
@@ -1,18 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
import { BaseEntityModel } from "./base.entity.model";
|
|
6
|
-
export declare class BillingTransactionHistoryEntityModel extends BaseEntityModel<EntityEnum.BILLING_TRANSACTION_HISTORY> implements IBillingTransactionHistoryEntity {
|
|
7
|
-
id: number;
|
|
8
|
-
entityId: number;
|
|
9
|
-
operation: HistoryOperationEnum;
|
|
10
|
-
data: string;
|
|
11
|
-
createdOn: number;
|
|
12
|
-
updatedOn: number;
|
|
13
|
-
createdBy: number;
|
|
14
|
-
updatedBy: number;
|
|
15
|
-
static relationConfigs: RelationConfigs<[], EntityEnum.BILLING_TRANSACTION_HISTORY>;
|
|
16
|
-
static fromEntity(entity: IBillingTransactionHistoryEntity): BillingTransactionHistoryEntityModel;
|
|
17
|
-
getRelationConfigs(): [];
|
|
1
|
+
import { EntityEnum, IBaseHistoryEntity } from "../interface/entity.utils.interface";
|
|
2
|
+
import { BaseHistoryEntityModel } from "./base_history.entity.model";
|
|
3
|
+
export declare class BillingTransactionHistoryEntityModel extends BaseHistoryEntityModel<EntityEnum.BILLING_TRANSACTION_HISTORY> {
|
|
4
|
+
static fromEntity(entity: IBaseHistoryEntity): BillingTransactionHistoryEntityModel;
|
|
18
5
|
}
|
|
@@ -1,29 +1,38 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.BillingTransactionHistoryEntityModel = void 0;
|
|
4
|
-
const history_operation_enum_1 = require("../enums/history_operation.enum");
|
|
5
4
|
const entity_utils_interface_1 = require("../interface/entity.utils.interface");
|
|
6
|
-
const
|
|
7
|
-
class BillingTransactionHistoryEntityModel extends
|
|
8
|
-
constructor() {
|
|
9
|
-
super(...arguments);
|
|
10
|
-
this.id = 0;
|
|
11
|
-
this.entityId = 0;
|
|
12
|
-
this.operation = history_operation_enum_1.HistoryOperationEnum.CREATE;
|
|
13
|
-
this.data = "";
|
|
14
|
-
this.createdOn = 0;
|
|
15
|
-
this.updatedOn = 0;
|
|
16
|
-
this.createdBy = 0;
|
|
17
|
-
this.updatedBy = 0;
|
|
18
|
-
}
|
|
5
|
+
const base_history_entity_model_1 = require("./base_history.entity.model");
|
|
6
|
+
class BillingTransactionHistoryEntityModel extends base_history_entity_model_1.BaseHistoryEntityModel {
|
|
19
7
|
static fromEntity(entity) {
|
|
20
|
-
|
|
21
|
-
Object.assign(result, entity);
|
|
22
|
-
return result;
|
|
23
|
-
}
|
|
24
|
-
getRelationConfigs() {
|
|
25
|
-
return BillingTransactionHistoryEntityModel.relationConfigs;
|
|
8
|
+
return base_history_entity_model_1.BaseHistoryEntityModel.createFromEntity(entity_utils_interface_1.EntityEnum.BILLING_TRANSACTION_HISTORY, entity);
|
|
26
9
|
}
|
|
27
10
|
}
|
|
28
11
|
exports.BillingTransactionHistoryEntityModel = BillingTransactionHistoryEntityModel;
|
|
29
|
-
|
|
12
|
+
// import { HistoryOperationEnum } from "../enums/history_operation.enum";
|
|
13
|
+
// import { EntityEnum } from "../interface/entity.utils.interface";
|
|
14
|
+
// import { IBillingTransactionHistoryEntity } from "../interface/billing-transaction-history.entity";
|
|
15
|
+
// import { RelationConfigs } from "../interface/relation-config.interface";
|
|
16
|
+
// import { BaseEntityModel } from "./base.entity.model";
|
|
17
|
+
// export class BillingTransactionHistoryEntityModel
|
|
18
|
+
// extends BaseEntityModel<EntityEnum.BILLING_TRANSACTION_HISTORY>
|
|
19
|
+
// implements IBillingTransactionHistoryEntity
|
|
20
|
+
// {
|
|
21
|
+
// id: number = 0;
|
|
22
|
+
// entityId: number = 0;
|
|
23
|
+
// operation: HistoryOperationEnum = HistoryOperationEnum.CREATE;
|
|
24
|
+
// data: string = "";
|
|
25
|
+
// createdOn: number = 0;
|
|
26
|
+
// updatedOn: number = 0;
|
|
27
|
+
// createdBy: number = 0;
|
|
28
|
+
// updatedBy: number = 0;
|
|
29
|
+
// static relationConfigs: RelationConfigs<[], EntityEnum.BILLING_TRANSACTION_HISTORY> = [];
|
|
30
|
+
// static fromEntity(entity: IBillingTransactionHistoryEntity): BillingTransactionHistoryEntityModel {
|
|
31
|
+
// const result = new BillingTransactionHistoryEntityModel(EntityEnum.BILLING_TRANSACTION_HISTORY);
|
|
32
|
+
// Object.assign(result, entity);
|
|
33
|
+
// return result;
|
|
34
|
+
// }
|
|
35
|
+
// getRelationConfigs() {
|
|
36
|
+
// return BillingTransactionHistoryEntityModel.relationConfigs;
|
|
37
|
+
// }
|
|
38
|
+
// }
|
|
@@ -1,18 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
import { BaseEntityModel } from "./base.entity.model";
|
|
6
|
-
export declare class BillingHistoryEntityModel extends BaseEntityModel<EntityEnum.BILLING_HISTORY> implements IBillingHistoryEntity {
|
|
7
|
-
id: number;
|
|
8
|
-
entityId: number;
|
|
9
|
-
operation: HistoryOperationEnum;
|
|
10
|
-
data: string;
|
|
11
|
-
createdOn: number;
|
|
12
|
-
updatedOn: number;
|
|
13
|
-
createdBy: number;
|
|
14
|
-
updatedBy: number;
|
|
15
|
-
static relationConfigs: RelationConfigs<[], EntityEnum.BILLING_HISTORY>;
|
|
16
|
-
static fromEntity(entity: IBillingHistoryEntity): BillingHistoryEntityModel;
|
|
17
|
-
getRelationConfigs(): [];
|
|
1
|
+
import { EntityEnum, IBaseHistoryEntity } from "../interface/entity.utils.interface";
|
|
2
|
+
import { BaseHistoryEntityModel } from "./base_history.entity.model";
|
|
3
|
+
export declare class BillingHistoryEntityModel extends BaseHistoryEntityModel<EntityEnum.BILLING_HISTORY> {
|
|
4
|
+
static fromEntity(entity: IBaseHistoryEntity): BillingHistoryEntityModel;
|
|
18
5
|
}
|
|
@@ -1,29 +1,35 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.BillingHistoryEntityModel = void 0;
|
|
4
|
-
const history_operation_enum_1 = require("../enums/history_operation.enum");
|
|
5
4
|
const entity_utils_interface_1 = require("../interface/entity.utils.interface");
|
|
6
|
-
const
|
|
7
|
-
class BillingHistoryEntityModel extends
|
|
8
|
-
constructor() {
|
|
9
|
-
super(...arguments);
|
|
10
|
-
this.id = 0;
|
|
11
|
-
this.entityId = 0;
|
|
12
|
-
this.operation = history_operation_enum_1.HistoryOperationEnum.CREATE;
|
|
13
|
-
this.data = "";
|
|
14
|
-
this.createdOn = 0;
|
|
15
|
-
this.updatedOn = 0;
|
|
16
|
-
this.createdBy = 0;
|
|
17
|
-
this.updatedBy = 0;
|
|
18
|
-
}
|
|
5
|
+
const base_history_entity_model_1 = require("./base_history.entity.model");
|
|
6
|
+
class BillingHistoryEntityModel extends base_history_entity_model_1.BaseHistoryEntityModel {
|
|
19
7
|
static fromEntity(entity) {
|
|
20
|
-
|
|
21
|
-
Object.assign(result, entity);
|
|
22
|
-
return result;
|
|
23
|
-
}
|
|
24
|
-
getRelationConfigs() {
|
|
25
|
-
return BillingHistoryEntityModel.relationConfigs;
|
|
8
|
+
return base_history_entity_model_1.BaseHistoryEntityModel.createFromEntity(entity_utils_interface_1.EntityEnum.BILLING_HISTORY, entity);
|
|
26
9
|
}
|
|
27
10
|
}
|
|
28
11
|
exports.BillingHistoryEntityModel = BillingHistoryEntityModel;
|
|
29
|
-
|
|
12
|
+
// import { HistoryOperationEnum } from "../enums/history_operation.enum";
|
|
13
|
+
// import { EntityEnum } from "../interface/entity.utils.interface";
|
|
14
|
+
// import { IBillingHistoryEntity } from "../interface/billing_history.entity.interface";
|
|
15
|
+
// import { RelationConfigs } from "../interface/relation-config.interface";
|
|
16
|
+
// import { BaseEntityModel } from "./base.entity.model";
|
|
17
|
+
// export class BillingHistoryEntityModel extends BaseEntityModel<EntityEnum.BILLING_HISTORY> implements IBillingHistoryEntity {
|
|
18
|
+
// id: number = 0;
|
|
19
|
+
// entityId: number = 0;
|
|
20
|
+
// operation: HistoryOperationEnum = HistoryOperationEnum.CREATE;
|
|
21
|
+
// data: string = "";
|
|
22
|
+
// createdOn: number = 0;
|
|
23
|
+
// updatedOn: number = 0;
|
|
24
|
+
// createdBy: number = 0;
|
|
25
|
+
// updatedBy: number = 0;
|
|
26
|
+
// static relationConfigs: RelationConfigs<[], EntityEnum.BILLING_HISTORY> = [];
|
|
27
|
+
// static fromEntity(entity: IBillingHistoryEntity): BillingHistoryEntityModel {
|
|
28
|
+
// const result = new BillingHistoryEntityModel(EntityEnum.BILLING_HISTORY);
|
|
29
|
+
// Object.assign(result, entity);
|
|
30
|
+
// return result;
|
|
31
|
+
// }
|
|
32
|
+
// getRelationConfigs() {
|
|
33
|
+
// return BillingHistoryEntityModel.relationConfigs;
|
|
34
|
+
// }
|
|
35
|
+
// }
|
|
@@ -1,18 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
import { BaseEntityModel } from "./base.entity.model";
|
|
6
|
-
export declare class BillingTimesheetHistoryEntityModel extends BaseEntityModel<EntityEnum.BILLING_TIMESHEET_HISTORY> implements IBillingTimesheetHistoryEntity {
|
|
7
|
-
id: number;
|
|
8
|
-
entityId: number;
|
|
9
|
-
operation: HistoryOperationEnum;
|
|
10
|
-
data: string;
|
|
11
|
-
createdOn: number;
|
|
12
|
-
updatedOn: number;
|
|
13
|
-
createdBy: number;
|
|
14
|
-
updatedBy: number;
|
|
15
|
-
static relationConfigs: RelationConfigs<[], EntityEnum.BILLING_TIMESHEET_HISTORY>;
|
|
16
|
-
static fromEntity(entity: IBillingTimesheetHistoryEntity): BillingTimesheetHistoryEntityModel;
|
|
17
|
-
getRelationConfigs(): [];
|
|
1
|
+
import { EntityEnum, IBaseHistoryEntity } from "../interface/entity.utils.interface";
|
|
2
|
+
import { BaseHistoryEntityModel } from "./base_history.entity.model";
|
|
3
|
+
export declare class BillingTimesheetHistoryEntityModel extends BaseHistoryEntityModel<EntityEnum.BILLING_TIMESHEET_HISTORY> {
|
|
4
|
+
static fromEntity(entity: IBaseHistoryEntity): BillingTimesheetHistoryEntityModel;
|
|
18
5
|
}
|
|
@@ -1,29 +1,38 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.BillingTimesheetHistoryEntityModel = void 0;
|
|
4
|
-
const history_operation_enum_1 = require("../enums/history_operation.enum");
|
|
5
4
|
const entity_utils_interface_1 = require("../interface/entity.utils.interface");
|
|
6
|
-
const
|
|
7
|
-
class BillingTimesheetHistoryEntityModel extends
|
|
8
|
-
constructor() {
|
|
9
|
-
super(...arguments);
|
|
10
|
-
this.id = 0;
|
|
11
|
-
this.entityId = 0;
|
|
12
|
-
this.operation = history_operation_enum_1.HistoryOperationEnum.CREATE;
|
|
13
|
-
this.data = "";
|
|
14
|
-
this.createdOn = 0;
|
|
15
|
-
this.updatedOn = 0;
|
|
16
|
-
this.createdBy = 0;
|
|
17
|
-
this.updatedBy = 0;
|
|
18
|
-
}
|
|
5
|
+
const base_history_entity_model_1 = require("./base_history.entity.model");
|
|
6
|
+
class BillingTimesheetHistoryEntityModel extends base_history_entity_model_1.BaseHistoryEntityModel {
|
|
19
7
|
static fromEntity(entity) {
|
|
20
|
-
|
|
21
|
-
Object.assign(result, entity);
|
|
22
|
-
return result;
|
|
23
|
-
}
|
|
24
|
-
getRelationConfigs() {
|
|
25
|
-
return BillingTimesheetHistoryEntityModel.relationConfigs;
|
|
8
|
+
return base_history_entity_model_1.BaseHistoryEntityModel.createFromEntity(entity_utils_interface_1.EntityEnum.BILLING_TIMESHEET_HISTORY, entity);
|
|
26
9
|
}
|
|
27
10
|
}
|
|
28
11
|
exports.BillingTimesheetHistoryEntityModel = BillingTimesheetHistoryEntityModel;
|
|
29
|
-
|
|
12
|
+
// import { HistoryOperationEnum } from "../enums/history_operation.enum";
|
|
13
|
+
// import { EntityEnum } from "../interface/entity.utils.interface";
|
|
14
|
+
// import { IBillingTimesheetHistoryEntity } from "../interface/billing_timesheet_history.entity.interface";
|
|
15
|
+
// import { RelationConfigs } from "../interface/relation-config.interface";
|
|
16
|
+
// import { BaseEntityModel } from "./base.entity.model";
|
|
17
|
+
// export class BillingTimesheetHistoryEntityModel
|
|
18
|
+
// extends BaseEntityModel<EntityEnum.BILLING_TIMESHEET_HISTORY>
|
|
19
|
+
// implements IBillingTimesheetHistoryEntity
|
|
20
|
+
// {
|
|
21
|
+
// id: number = 0;
|
|
22
|
+
// entityId: number = 0;
|
|
23
|
+
// operation: HistoryOperationEnum = HistoryOperationEnum.CREATE;
|
|
24
|
+
// data: string = "";
|
|
25
|
+
// createdOn: number = 0;
|
|
26
|
+
// updatedOn: number = 0;
|
|
27
|
+
// createdBy: number = 0;
|
|
28
|
+
// updatedBy: number = 0;
|
|
29
|
+
// static relationConfigs: RelationConfigs<[], EntityEnum.BILLING_TIMESHEET_HISTORY> = [];
|
|
30
|
+
// static fromEntity(entity: IBillingTimesheetHistoryEntity): BillingTimesheetHistoryEntityModel {
|
|
31
|
+
// const result = new BillingTimesheetHistoryEntityModel(EntityEnum.BILLING_TIMESHEET_HISTORY);
|
|
32
|
+
// Object.assign(result, entity);
|
|
33
|
+
// return result;
|
|
34
|
+
// }
|
|
35
|
+
// getRelationConfigs() {
|
|
36
|
+
// return BillingTimesheetHistoryEntityModel.relationConfigs;
|
|
37
|
+
// }
|
|
38
|
+
// }
|
|
@@ -1,18 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
import { BaseEntityModel } from "./base.entity.model";
|
|
6
|
-
export declare class LeaveHistoryEntityModel extends BaseEntityModel<EntityEnum.LEAVE_HISTORY> implements ILeaveHistoryEntity {
|
|
7
|
-
id: number;
|
|
8
|
-
entityId: number;
|
|
9
|
-
operation: HistoryOperationEnum;
|
|
10
|
-
data: string;
|
|
11
|
-
createdOn: number;
|
|
12
|
-
updatedOn: number;
|
|
13
|
-
createdBy: number;
|
|
14
|
-
updatedBy: number;
|
|
15
|
-
static relationConfigs: RelationConfigs<[], EntityEnum.LEAVE_HISTORY>;
|
|
16
|
-
static fromEntity(entity: ILeaveHistoryEntity): LeaveHistoryEntityModel;
|
|
17
|
-
getRelationConfigs(): [];
|
|
1
|
+
import { EntityEnum, IBaseHistoryEntity } from "../interface/entity.utils.interface";
|
|
2
|
+
import { BaseHistoryEntityModel } from "./base_history.entity.model";
|
|
3
|
+
export declare class LeaveHistoryEntityModel extends BaseHistoryEntityModel<EntityEnum.LEAVE_HISTORY> {
|
|
4
|
+
static fromEntity(entity: IBaseHistoryEntity): LeaveHistoryEntityModel;
|
|
18
5
|
}
|
|
@@ -1,29 +1,35 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.LeaveHistoryEntityModel = void 0;
|
|
4
|
-
const history_operation_enum_1 = require("../enums/history_operation.enum");
|
|
5
4
|
const entity_utils_interface_1 = require("../interface/entity.utils.interface");
|
|
6
|
-
const
|
|
7
|
-
class LeaveHistoryEntityModel extends
|
|
8
|
-
constructor() {
|
|
9
|
-
super(...arguments);
|
|
10
|
-
this.id = 0;
|
|
11
|
-
this.entityId = 0;
|
|
12
|
-
this.operation = history_operation_enum_1.HistoryOperationEnum.CREATE;
|
|
13
|
-
this.data = "";
|
|
14
|
-
this.createdOn = 0;
|
|
15
|
-
this.updatedOn = 0;
|
|
16
|
-
this.createdBy = 0;
|
|
17
|
-
this.updatedBy = 0;
|
|
18
|
-
}
|
|
5
|
+
const base_history_entity_model_1 = require("./base_history.entity.model");
|
|
6
|
+
class LeaveHistoryEntityModel extends base_history_entity_model_1.BaseHistoryEntityModel {
|
|
19
7
|
static fromEntity(entity) {
|
|
20
|
-
|
|
21
|
-
Object.assign(result, entity);
|
|
22
|
-
return result;
|
|
23
|
-
}
|
|
24
|
-
getRelationConfigs() {
|
|
25
|
-
return LeaveHistoryEntityModel.relationConfigs;
|
|
8
|
+
return base_history_entity_model_1.BaseHistoryEntityModel.createFromEntity(entity_utils_interface_1.EntityEnum.LEAVE_HISTORY, entity);
|
|
26
9
|
}
|
|
27
10
|
}
|
|
28
11
|
exports.LeaveHistoryEntityModel = LeaveHistoryEntityModel;
|
|
29
|
-
|
|
12
|
+
// import { HistoryOperationEnum } from "../enums/history_operation.enum";
|
|
13
|
+
// import { EntityEnum } from "../interface/entity.utils.interface";
|
|
14
|
+
// import { ILeaveHistoryEntity } from "../interface/leave_history.entity.interface";
|
|
15
|
+
// import { RelationConfigs } from "../interface/relation-config.interface";
|
|
16
|
+
// import { BaseEntityModel } from "./base.entity.model";
|
|
17
|
+
// export class LeaveHistoryEntityModel extends BaseEntityModel<EntityEnum.LEAVE_HISTORY> implements ILeaveHistoryEntity {
|
|
18
|
+
// id: number = 0;
|
|
19
|
+
// entityId: number = 0;
|
|
20
|
+
// operation: HistoryOperationEnum = HistoryOperationEnum.CREATE;
|
|
21
|
+
// data: string = "";
|
|
22
|
+
// createdOn: number = 0;
|
|
23
|
+
// updatedOn: number = 0;
|
|
24
|
+
// createdBy: number = 0;
|
|
25
|
+
// updatedBy: number = 0;
|
|
26
|
+
// static relationConfigs: RelationConfigs<[], EntityEnum.LEAVE_HISTORY> = [];
|
|
27
|
+
// static fromEntity(entity: ILeaveHistoryEntity): LeaveHistoryEntityModel {
|
|
28
|
+
// const result = new LeaveHistoryEntityModel(EntityEnum.LEAVE_HISTORY);
|
|
29
|
+
// Object.assign(result, entity);
|
|
30
|
+
// return result;
|
|
31
|
+
// }
|
|
32
|
+
// getRelationConfigs() {
|
|
33
|
+
// return LeaveHistoryEntityModel.relationConfigs;
|
|
34
|
+
// }
|
|
35
|
+
// }
|
|
@@ -1,18 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
import { BaseEntityModel } from "./base.entity.model";
|
|
6
|
-
export declare class ReimbursementHistoryEntityModel extends BaseEntityModel<EntityEnum.REIMBURSEMENT_HISTORY> implements IReimbursementHistoryEntity {
|
|
7
|
-
id: number;
|
|
8
|
-
entityId: number;
|
|
9
|
-
operation: HistoryOperationEnum;
|
|
10
|
-
data: string;
|
|
11
|
-
createdOn: number;
|
|
12
|
-
updatedOn: number;
|
|
13
|
-
createdBy: number;
|
|
14
|
-
updatedBy: number;
|
|
15
|
-
static relationConfigs: RelationConfigs<[], EntityEnum.REIMBURSEMENT_HISTORY>;
|
|
16
|
-
static fromEntity(entity: IReimbursementHistoryEntity): ReimbursementHistoryEntityModel;
|
|
17
|
-
getRelationConfigs(): [];
|
|
1
|
+
import { EntityEnum, IBaseHistoryEntity } from "../interface/entity.utils.interface";
|
|
2
|
+
import { BaseHistoryEntityModel } from "./base_history.entity.model";
|
|
3
|
+
export declare class ReimbursementHistoryEntityModel extends BaseHistoryEntityModel<EntityEnum.REIMBURSEMENT_HISTORY> {
|
|
4
|
+
static fromEntity(entity: IBaseHistoryEntity): ReimbursementHistoryEntityModel;
|
|
18
5
|
}
|
|
@@ -1,29 +1,35 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ReimbursementHistoryEntityModel = void 0;
|
|
4
|
-
const history_operation_enum_1 = require("../enums/history_operation.enum");
|
|
5
4
|
const entity_utils_interface_1 = require("../interface/entity.utils.interface");
|
|
6
|
-
const
|
|
7
|
-
class ReimbursementHistoryEntityModel extends
|
|
8
|
-
constructor() {
|
|
9
|
-
super(...arguments);
|
|
10
|
-
this.id = 0;
|
|
11
|
-
this.entityId = 0;
|
|
12
|
-
this.operation = history_operation_enum_1.HistoryOperationEnum.CREATE;
|
|
13
|
-
this.data = "";
|
|
14
|
-
this.createdOn = 0;
|
|
15
|
-
this.updatedOn = 0;
|
|
16
|
-
this.createdBy = 0;
|
|
17
|
-
this.updatedBy = 0;
|
|
18
|
-
}
|
|
5
|
+
const base_history_entity_model_1 = require("./base_history.entity.model");
|
|
6
|
+
class ReimbursementHistoryEntityModel extends base_history_entity_model_1.BaseHistoryEntityModel {
|
|
19
7
|
static fromEntity(entity) {
|
|
20
|
-
|
|
21
|
-
Object.assign(result, entity);
|
|
22
|
-
return result;
|
|
23
|
-
}
|
|
24
|
-
getRelationConfigs() {
|
|
25
|
-
return ReimbursementHistoryEntityModel.relationConfigs;
|
|
8
|
+
return base_history_entity_model_1.BaseHistoryEntityModel.createFromEntity(entity_utils_interface_1.EntityEnum.REIMBURSEMENT_HISTORY, entity);
|
|
26
9
|
}
|
|
27
10
|
}
|
|
28
11
|
exports.ReimbursementHistoryEntityModel = ReimbursementHistoryEntityModel;
|
|
29
|
-
|
|
12
|
+
// import { HistoryOperationEnum } from "../enums/history_operation.enum";
|
|
13
|
+
// import { EntityEnum } from "../interface/entity.utils.interface";
|
|
14
|
+
// import { IReimbursementHistoryEntity } from "../interface/reimbursement_history.entity.interface";
|
|
15
|
+
// import { RelationConfigs } from "../interface/relation-config.interface";
|
|
16
|
+
// import { BaseEntityModel } from "./base.entity.model";
|
|
17
|
+
// export class ReimbursementHistoryEntityModel extends BaseEntityModel<EntityEnum.REIMBURSEMENT_HISTORY> implements IReimbursementHistoryEntity {
|
|
18
|
+
// id: number = 0;
|
|
19
|
+
// entityId: number = 0;
|
|
20
|
+
// operation: HistoryOperationEnum = HistoryOperationEnum.CREATE;
|
|
21
|
+
// data: string = "";
|
|
22
|
+
// createdOn: number = 0;
|
|
23
|
+
// updatedOn: number = 0;
|
|
24
|
+
// createdBy: number = 0;
|
|
25
|
+
// updatedBy: number = 0;
|
|
26
|
+
// static relationConfigs: RelationConfigs<[], EntityEnum.REIMBURSEMENT_HISTORY> = [];
|
|
27
|
+
// static fromEntity(entity: IReimbursementHistoryEntity): ReimbursementHistoryEntityModel {
|
|
28
|
+
// const result = new ReimbursementHistoryEntityModel(EntityEnum.REIMBURSEMENT_HISTORY);
|
|
29
|
+
// Object.assign(result, entity);
|
|
30
|
+
// return result;
|
|
31
|
+
// }
|
|
32
|
+
// getRelationConfigs() {
|
|
33
|
+
// return ReimbursementHistoryEntityModel.relationConfigs;
|
|
34
|
+
// }
|
|
35
|
+
// }
|
|
@@ -1,31 +1,5 @@
|
|
|
1
|
-
import { HistoryOperationEnum } from "../enums/history_operation.enum";
|
|
2
1
|
import { EntityEnum, IBaseHistoryEntity } from "../interface/entity.utils.interface";
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
export declare class TimesheetHistoryEntityModel extends BaseEntityModel<EntityEnum.TIMESHEET_HISTORY> implements ITimesheetHistoryEntity {
|
|
7
|
-
id: number;
|
|
8
|
-
entityId: number;
|
|
9
|
-
operation: HistoryOperationEnum;
|
|
10
|
-
data: string;
|
|
11
|
-
createdOn: number;
|
|
12
|
-
updatedOn: number;
|
|
13
|
-
createdBy: number;
|
|
14
|
-
updatedBy: number;
|
|
15
|
-
static relationConfigs: RelationConfigs<[], EntityEnum.TIMESHEET_HISTORY>;
|
|
16
|
-
static fromEntity(entity: ITimesheetHistoryEntity): TimesheetHistoryEntityModel;
|
|
17
|
-
getRelationConfigs(): [];
|
|
18
|
-
}
|
|
19
|
-
export declare class HistoryEntityModel<E extends EntityEnum> extends BaseEntityModel<E> implements IBaseHistoryEntity {
|
|
20
|
-
id: number;
|
|
21
|
-
entityId: number;
|
|
22
|
-
operation: HistoryOperationEnum;
|
|
23
|
-
data: string;
|
|
24
|
-
createdOn: number;
|
|
25
|
-
updatedOn: number;
|
|
26
|
-
createdBy: number;
|
|
27
|
-
updatedBy: number;
|
|
28
|
-
static relationConfigs: RelationConfigs<[], EntityEnum>;
|
|
29
|
-
static createFromEntity<E extends EntityEnum>(entityEnum: E, entity: IBaseHistoryEntity): HistoryEntityModel<E>;
|
|
30
|
-
getRelationConfigs(): [];
|
|
2
|
+
import { BaseHistoryEntityModel } from "./base_history.entity.model";
|
|
3
|
+
export declare class TimesheetHistoryEntityModel extends BaseHistoryEntityModel<EntityEnum.TIMESHEET_HISTORY> {
|
|
4
|
+
static fromEntity(entity: IBaseHistoryEntity): TimesheetHistoryEntityModel;
|
|
31
5
|
}
|
|
@@ -1,53 +1,35 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
const history_operation_enum_1 = require("../enums/history_operation.enum");
|
|
3
|
+
exports.TimesheetHistoryEntityModel = void 0;
|
|
5
4
|
const entity_utils_interface_1 = require("../interface/entity.utils.interface");
|
|
6
|
-
const
|
|
7
|
-
class TimesheetHistoryEntityModel extends
|
|
8
|
-
constructor() {
|
|
9
|
-
super(...arguments);
|
|
10
|
-
this.id = 0;
|
|
11
|
-
this.entityId = 0;
|
|
12
|
-
this.operation = history_operation_enum_1.HistoryOperationEnum.CREATE;
|
|
13
|
-
this.data = "";
|
|
14
|
-
this.createdOn = 0;
|
|
15
|
-
this.updatedOn = 0;
|
|
16
|
-
this.createdBy = 0;
|
|
17
|
-
this.updatedBy = 0;
|
|
18
|
-
}
|
|
5
|
+
const base_history_entity_model_1 = require("./base_history.entity.model");
|
|
6
|
+
class TimesheetHistoryEntityModel extends base_history_entity_model_1.BaseHistoryEntityModel {
|
|
19
7
|
static fromEntity(entity) {
|
|
20
|
-
|
|
21
|
-
Object.assign(result, entity);
|
|
22
|
-
return result;
|
|
23
|
-
}
|
|
24
|
-
getRelationConfigs() {
|
|
25
|
-
return TimesheetHistoryEntityModel.relationConfigs;
|
|
8
|
+
return base_history_entity_model_1.BaseHistoryEntityModel.createFromEntity(entity_utils_interface_1.EntityEnum.TIMESHEET_HISTORY, entity);
|
|
26
9
|
}
|
|
27
10
|
}
|
|
28
11
|
exports.TimesheetHistoryEntityModel = TimesheetHistoryEntityModel;
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
HistoryEntityModel.relationConfigs = [];
|
|
12
|
+
// import { HistoryOperationEnum } from "../enums/history_operation.enum";
|
|
13
|
+
// import { EntityEnum, IBaseHistoryEntity } from "../interface/entity.utils.interface";
|
|
14
|
+
// import { RelationConfigs } from "../interface/relation-config.interface";
|
|
15
|
+
// import { ITimesheetHistoryEntity } from "../interface/timesheet_history.entity.interface";
|
|
16
|
+
// import { BaseEntityModel } from "./base.entity.model";
|
|
17
|
+
// export class TimesheetHistoryEntityModel extends BaseEntityModel<EntityEnum.TIMESHEET_HISTORY> implements ITimesheetHistoryEntity {
|
|
18
|
+
// id: number = 0;
|
|
19
|
+
// entityId: number = 0;
|
|
20
|
+
// operation: HistoryOperationEnum = HistoryOperationEnum.CREATE;
|
|
21
|
+
// data: string = "";
|
|
22
|
+
// createdOn: number = 0;
|
|
23
|
+
// updatedOn: number = 0;
|
|
24
|
+
// createdBy: number = 0;
|
|
25
|
+
// updatedBy: number = 0;
|
|
26
|
+
// static relationConfigs: RelationConfigs<[], EntityEnum.TIMESHEET_HISTORY> = [];
|
|
27
|
+
// static fromEntity(entity: ITimesheetHistoryEntity): TimesheetHistoryEntityModel {
|
|
28
|
+
// const result = new TimesheetHistoryEntityModel(EntityEnum.TIMESHEET_HISTORY);
|
|
29
|
+
// Object.assign(result, entity);
|
|
30
|
+
// return result;
|
|
31
|
+
// }
|
|
32
|
+
// getRelationConfigs() {
|
|
33
|
+
// return TimesheetHistoryEntityModel.relationConfigs;
|
|
34
|
+
// }
|
|
35
|
+
// }
|
|
@@ -1,18 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
import { BaseEntityModel } from "./base.entity.model";
|
|
6
|
-
export declare class VendorHistoryEntityModel extends BaseEntityModel<EntityEnum.VENDOR_HISTORY> implements IVendorHistoryEntity {
|
|
7
|
-
id: number;
|
|
8
|
-
entityId: number;
|
|
9
|
-
operation: HistoryOperationEnum;
|
|
10
|
-
data: string;
|
|
11
|
-
createdOn: number;
|
|
12
|
-
updatedOn: number;
|
|
13
|
-
createdBy: number;
|
|
14
|
-
updatedBy: number;
|
|
15
|
-
static relationConfigs: RelationConfigs<[], EntityEnum.VENDOR_HISTORY>;
|
|
16
|
-
static fromEntity(entity: IVendorHistoryEntity): VendorHistoryEntityModel;
|
|
17
|
-
getRelationConfigs(): [];
|
|
1
|
+
import { EntityEnum, IBaseHistoryEntity } from "../interface/entity.utils.interface";
|
|
2
|
+
import { BaseHistoryEntityModel } from "./base_history.entity.model";
|
|
3
|
+
export declare class VendorHistoryEntityModel extends BaseHistoryEntityModel<EntityEnum.VENDOR_HISTORY> {
|
|
4
|
+
static fromEntity(entity: IBaseHistoryEntity): VendorHistoryEntityModel;
|
|
18
5
|
}
|
|
@@ -1,29 +1,35 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.VendorHistoryEntityModel = void 0;
|
|
4
|
-
const history_operation_enum_1 = require("../enums/history_operation.enum");
|
|
5
4
|
const entity_utils_interface_1 = require("../interface/entity.utils.interface");
|
|
6
|
-
const
|
|
7
|
-
class VendorHistoryEntityModel extends
|
|
8
|
-
constructor() {
|
|
9
|
-
super(...arguments);
|
|
10
|
-
this.id = 0;
|
|
11
|
-
this.entityId = 0;
|
|
12
|
-
this.operation = history_operation_enum_1.HistoryOperationEnum.CREATE;
|
|
13
|
-
this.data = "";
|
|
14
|
-
this.createdOn = 0;
|
|
15
|
-
this.updatedOn = 0;
|
|
16
|
-
this.createdBy = 0;
|
|
17
|
-
this.updatedBy = 0;
|
|
18
|
-
}
|
|
5
|
+
const base_history_entity_model_1 = require("./base_history.entity.model");
|
|
6
|
+
class VendorHistoryEntityModel extends base_history_entity_model_1.BaseHistoryEntityModel {
|
|
19
7
|
static fromEntity(entity) {
|
|
20
|
-
|
|
21
|
-
Object.assign(result, entity);
|
|
22
|
-
return result;
|
|
23
|
-
}
|
|
24
|
-
getRelationConfigs() {
|
|
25
|
-
return VendorHistoryEntityModel.relationConfigs;
|
|
8
|
+
return base_history_entity_model_1.BaseHistoryEntityModel.createFromEntity(entity_utils_interface_1.EntityEnum.VENDOR_HISTORY, entity);
|
|
26
9
|
}
|
|
27
10
|
}
|
|
28
11
|
exports.VendorHistoryEntityModel = VendorHistoryEntityModel;
|
|
29
|
-
|
|
12
|
+
// import { HistoryOperationEnum } from "../enums/history_operation.enum";
|
|
13
|
+
// import { EntityEnum } from "../interface/entity.utils.interface";
|
|
14
|
+
// import { RelationConfigs } from "../interface/relation-config.interface";
|
|
15
|
+
// import { IVendorHistoryEntity } from "../interface/vendor-history.entity.interface";
|
|
16
|
+
// import { BaseEntityModel } from "./base.entity.model";
|
|
17
|
+
// export class VendorHistoryEntityModel extends BaseEntityModel<EntityEnum.VENDOR_HISTORY> implements IVendorHistoryEntity {
|
|
18
|
+
// id: number = 0;
|
|
19
|
+
// entityId: number = 0;
|
|
20
|
+
// operation: HistoryOperationEnum = HistoryOperationEnum.CREATE;
|
|
21
|
+
// data: string = "";
|
|
22
|
+
// createdOn: number = 0;
|
|
23
|
+
// updatedOn: number = 0;
|
|
24
|
+
// createdBy: number = 0;
|
|
25
|
+
// updatedBy: number = 0;
|
|
26
|
+
// static relationConfigs: RelationConfigs<[], EntityEnum.VENDOR_HISTORY> = [];
|
|
27
|
+
// static fromEntity(entity: IVendorHistoryEntity): VendorHistoryEntityModel {
|
|
28
|
+
// const result = new VendorHistoryEntityModel(EntityEnum.VENDOR_HISTORY);
|
|
29
|
+
// Object.assign(result, entity);
|
|
30
|
+
// return result;
|
|
31
|
+
// }
|
|
32
|
+
// getRelationConfigs() {
|
|
33
|
+
// return VendorHistoryEntityModel.relationConfigs;
|
|
34
|
+
// }
|
|
35
|
+
// }
|
|
@@ -1,18 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
import { BaseEntityModel } from "./base.entity.model";
|
|
6
|
-
export declare class VendorInvoiceHistoryEntityModel extends BaseEntityModel<EntityEnum.VENDOR_INVOICE_HISTORY> implements IVendorInvoiceHistoryEntity {
|
|
7
|
-
id: number;
|
|
8
|
-
entityId: number;
|
|
9
|
-
operation: HistoryOperationEnum;
|
|
10
|
-
data: string;
|
|
11
|
-
createdOn: number;
|
|
12
|
-
updatedOn: number;
|
|
13
|
-
createdBy: number;
|
|
14
|
-
updatedBy: number;
|
|
15
|
-
static relationConfigs: RelationConfigs<[], EntityEnum.VENDOR_INVOICE_HISTORY>;
|
|
16
|
-
static fromEntity(entity: IVendorInvoiceHistoryEntity): VendorInvoiceHistoryEntityModel;
|
|
17
|
-
getRelationConfigs(): [];
|
|
1
|
+
import { EntityEnum, IBaseHistoryEntity } from "../interface/entity.utils.interface";
|
|
2
|
+
import { BaseHistoryEntityModel } from "./base_history.entity.model";
|
|
3
|
+
export declare class VendorInvoiceHistoryEntityModel extends BaseHistoryEntityModel<EntityEnum.VENDOR_INVOICE_HISTORY> {
|
|
4
|
+
static fromEntity(entity: IBaseHistoryEntity): VendorInvoiceHistoryEntityModel;
|
|
18
5
|
}
|
|
@@ -1,29 +1,35 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.VendorInvoiceHistoryEntityModel = void 0;
|
|
4
|
-
const history_operation_enum_1 = require("../enums/history_operation.enum");
|
|
5
4
|
const entity_utils_interface_1 = require("../interface/entity.utils.interface");
|
|
6
|
-
const
|
|
7
|
-
class VendorInvoiceHistoryEntityModel extends
|
|
8
|
-
constructor() {
|
|
9
|
-
super(...arguments);
|
|
10
|
-
this.id = 0;
|
|
11
|
-
this.entityId = 0;
|
|
12
|
-
this.operation = history_operation_enum_1.HistoryOperationEnum.CREATE;
|
|
13
|
-
this.data = "";
|
|
14
|
-
this.createdOn = 0;
|
|
15
|
-
this.updatedOn = 0;
|
|
16
|
-
this.createdBy = 0;
|
|
17
|
-
this.updatedBy = 0;
|
|
18
|
-
}
|
|
5
|
+
const base_history_entity_model_1 = require("./base_history.entity.model");
|
|
6
|
+
class VendorInvoiceHistoryEntityModel extends base_history_entity_model_1.BaseHistoryEntityModel {
|
|
19
7
|
static fromEntity(entity) {
|
|
20
|
-
|
|
21
|
-
Object.assign(result, entity);
|
|
22
|
-
return result;
|
|
23
|
-
}
|
|
24
|
-
getRelationConfigs() {
|
|
25
|
-
return VendorInvoiceHistoryEntityModel.relationConfigs;
|
|
8
|
+
return base_history_entity_model_1.BaseHistoryEntityModel.createFromEntity(entity_utils_interface_1.EntityEnum.VENDOR_INVOICE_HISTORY, entity);
|
|
26
9
|
}
|
|
27
10
|
}
|
|
28
11
|
exports.VendorInvoiceHistoryEntityModel = VendorInvoiceHistoryEntityModel;
|
|
29
|
-
|
|
12
|
+
// import { HistoryOperationEnum } from "../enums/history_operation.enum";
|
|
13
|
+
// import { EntityEnum } from "../interface/entity.utils.interface";
|
|
14
|
+
// import { RelationConfigs } from "../interface/relation-config.interface";
|
|
15
|
+
// import { IVendorInvoiceHistoryEntity } from "../interface/vendot-invoice-history.entity.interface";
|
|
16
|
+
// import { BaseEntityModel } from "./base.entity.model";
|
|
17
|
+
// export class VendorInvoiceHistoryEntityModel extends BaseEntityModel<EntityEnum.VENDOR_INVOICE_HISTORY> implements IVendorInvoiceHistoryEntity {
|
|
18
|
+
// id: number = 0;
|
|
19
|
+
// entityId: number = 0;
|
|
20
|
+
// operation: HistoryOperationEnum = HistoryOperationEnum.CREATE;
|
|
21
|
+
// data: string = "";
|
|
22
|
+
// createdOn: number = 0;
|
|
23
|
+
// updatedOn: number = 0;
|
|
24
|
+
// createdBy: number = 0;
|
|
25
|
+
// updatedBy: number = 0;
|
|
26
|
+
// static relationConfigs: RelationConfigs<[], EntityEnum.VENDOR_INVOICE_HISTORY> = [];
|
|
27
|
+
// static fromEntity(entity: IVendorInvoiceHistoryEntity): VendorInvoiceHistoryEntityModel {
|
|
28
|
+
// const result = new VendorInvoiceHistoryEntityModel(EntityEnum.VENDOR_INVOICE_HISTORY);
|
|
29
|
+
// Object.assign(result, entity);
|
|
30
|
+
// return result;
|
|
31
|
+
// }
|
|
32
|
+
// getRelationConfigs() {
|
|
33
|
+
// return VendorInvoiceHistoryEntityModel.relationConfigs;
|
|
34
|
+
// }
|
|
35
|
+
// }
|
|
@@ -1,18 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
import { BaseEntityModel } from "./base.entity.model";
|
|
6
|
-
export declare class VendorInvoiceItemHistoryEntityModel extends BaseEntityModel<EntityEnum.VENDOR_INVOICE_ITEM_HISTORY> implements IVendorInvoiceItemHistoryEntity {
|
|
7
|
-
id: number;
|
|
8
|
-
entityId: number;
|
|
9
|
-
operation: HistoryOperationEnum;
|
|
10
|
-
data: string;
|
|
11
|
-
createdOn: number;
|
|
12
|
-
updatedOn: number;
|
|
13
|
-
createdBy: number;
|
|
14
|
-
updatedBy: number;
|
|
15
|
-
static relationConfigs: RelationConfigs<[], EntityEnum.VENDOR_INVOICE_ITEM_HISTORY>;
|
|
16
|
-
static fromEntity(entity: IVendorInvoiceItemHistoryEntity): VendorInvoiceItemHistoryEntityModel;
|
|
17
|
-
getRelationConfigs(): [];
|
|
1
|
+
import { EntityEnum, IBaseHistoryEntity } from "../interface/entity.utils.interface";
|
|
2
|
+
import { BaseHistoryEntityModel } from "./base_history.entity.model";
|
|
3
|
+
export declare class VendorInvoiceItemHistoryEntityModel extends BaseHistoryEntityModel<EntityEnum.VENDOR_INVOICE_ITEM_HISTORY> {
|
|
4
|
+
static fromEntity(entity: IBaseHistoryEntity): VendorInvoiceItemHistoryEntityModel;
|
|
18
5
|
}
|
|
@@ -1,29 +1,38 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.VendorInvoiceItemHistoryEntityModel = void 0;
|
|
4
|
-
const history_operation_enum_1 = require("../enums/history_operation.enum");
|
|
5
4
|
const entity_utils_interface_1 = require("../interface/entity.utils.interface");
|
|
6
|
-
const
|
|
7
|
-
class VendorInvoiceItemHistoryEntityModel extends
|
|
8
|
-
constructor() {
|
|
9
|
-
super(...arguments);
|
|
10
|
-
this.id = 0;
|
|
11
|
-
this.entityId = 0;
|
|
12
|
-
this.operation = history_operation_enum_1.HistoryOperationEnum.CREATE;
|
|
13
|
-
this.data = "";
|
|
14
|
-
this.createdOn = 0;
|
|
15
|
-
this.updatedOn = 0;
|
|
16
|
-
this.createdBy = 0;
|
|
17
|
-
this.updatedBy = 0;
|
|
18
|
-
}
|
|
5
|
+
const base_history_entity_model_1 = require("./base_history.entity.model");
|
|
6
|
+
class VendorInvoiceItemHistoryEntityModel extends base_history_entity_model_1.BaseHistoryEntityModel {
|
|
19
7
|
static fromEntity(entity) {
|
|
20
|
-
|
|
21
|
-
Object.assign(result, entity);
|
|
22
|
-
return result;
|
|
23
|
-
}
|
|
24
|
-
getRelationConfigs() {
|
|
25
|
-
return VendorInvoiceItemHistoryEntityModel.relationConfigs;
|
|
8
|
+
return base_history_entity_model_1.BaseHistoryEntityModel.createFromEntity(entity_utils_interface_1.EntityEnum.VENDOR_INVOICE_ITEM_HISTORY, entity);
|
|
26
9
|
}
|
|
27
10
|
}
|
|
28
11
|
exports.VendorInvoiceItemHistoryEntityModel = VendorInvoiceItemHistoryEntityModel;
|
|
29
|
-
|
|
12
|
+
// import { HistoryOperationEnum } from "../enums/history_operation.enum";
|
|
13
|
+
// import { EntityEnum } from "../interface/entity.utils.interface";
|
|
14
|
+
// import { IVendorInvoiceItemHistoryEntity } from "../interface/vendor-invoice-item-history.entity.interface";
|
|
15
|
+
// import { RelationConfigs } from "../interface/relation-config.interface";
|
|
16
|
+
// import { BaseEntityModel } from "./base.entity.model";
|
|
17
|
+
// export class VendorInvoiceItemHistoryEntityModel
|
|
18
|
+
// extends BaseEntityModel<EntityEnum.VENDOR_INVOICE_ITEM_HISTORY>
|
|
19
|
+
// implements IVendorInvoiceItemHistoryEntity
|
|
20
|
+
// {
|
|
21
|
+
// id: number = 0;
|
|
22
|
+
// entityId: number = 0;
|
|
23
|
+
// operation: HistoryOperationEnum = HistoryOperationEnum.CREATE;
|
|
24
|
+
// data: string = "";
|
|
25
|
+
// createdOn: number = 0;
|
|
26
|
+
// updatedOn: number = 0;
|
|
27
|
+
// createdBy: number = 0;
|
|
28
|
+
// updatedBy: number = 0;
|
|
29
|
+
// static relationConfigs: RelationConfigs<[], EntityEnum.VENDOR_INVOICE_ITEM_HISTORY> = [];
|
|
30
|
+
// static fromEntity(entity: IVendorInvoiceItemHistoryEntity): VendorInvoiceItemHistoryEntityModel {
|
|
31
|
+
// const result = new VendorInvoiceItemHistoryEntityModel(EntityEnum.VENDOR_INVOICE_ITEM_HISTORY);
|
|
32
|
+
// Object.assign(result, entity);
|
|
33
|
+
// return result;
|
|
34
|
+
// }
|
|
35
|
+
// getRelationConfigs() {
|
|
36
|
+
// return VendorInvoiceItemHistoryEntityModel.relationConfigs;
|
|
37
|
+
// }
|
|
38
|
+
// }
|
|
@@ -1,18 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
import { BaseEntityModel } from "./base.entity.model";
|
|
6
|
-
export declare class WorkFromHomeHistoryEntityModel extends BaseEntityModel<EntityEnum.WORK_FROM_HOME_HISTORY> implements IWorkFromHomeHistoryEntity {
|
|
7
|
-
id: number;
|
|
8
|
-
entityId: number;
|
|
9
|
-
operation: HistoryOperationEnum;
|
|
10
|
-
data: string;
|
|
11
|
-
createdOn: number;
|
|
12
|
-
updatedOn: number;
|
|
13
|
-
createdBy: number;
|
|
14
|
-
updatedBy: number;
|
|
15
|
-
static relationConfigs: RelationConfigs<[], EntityEnum.WORK_FROM_HOME_HISTORY>;
|
|
16
|
-
static fromEntity(entity: IWorkFromHomeHistoryEntity): WorkFromHomeHistoryEntityModel;
|
|
17
|
-
getRelationConfigs(): [];
|
|
1
|
+
import { EntityEnum, IBaseHistoryEntity } from "../interface/entity.utils.interface";
|
|
2
|
+
import { BaseHistoryEntityModel } from "./base_history.entity.model";
|
|
3
|
+
export declare class WorkFromHomeHistoryEntityModel extends BaseHistoryEntityModel<EntityEnum.WORK_FROM_HOME_HISTORY> {
|
|
4
|
+
static fromEntity(entity: IBaseHistoryEntity): WorkFromHomeHistoryEntityModel;
|
|
18
5
|
}
|
|
@@ -1,29 +1,38 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.WorkFromHomeHistoryEntityModel = void 0;
|
|
4
|
-
const history_operation_enum_1 = require("../enums/history_operation.enum");
|
|
5
4
|
const entity_utils_interface_1 = require("../interface/entity.utils.interface");
|
|
6
|
-
const
|
|
7
|
-
class WorkFromHomeHistoryEntityModel extends
|
|
8
|
-
constructor() {
|
|
9
|
-
super(...arguments);
|
|
10
|
-
this.id = 0;
|
|
11
|
-
this.entityId = 0;
|
|
12
|
-
this.operation = history_operation_enum_1.HistoryOperationEnum.CREATE;
|
|
13
|
-
this.data = "";
|
|
14
|
-
this.createdOn = 0;
|
|
15
|
-
this.updatedOn = 0;
|
|
16
|
-
this.createdBy = 0;
|
|
17
|
-
this.updatedBy = 0;
|
|
18
|
-
}
|
|
5
|
+
const base_history_entity_model_1 = require("./base_history.entity.model");
|
|
6
|
+
class WorkFromHomeHistoryEntityModel extends base_history_entity_model_1.BaseHistoryEntityModel {
|
|
19
7
|
static fromEntity(entity) {
|
|
20
|
-
|
|
21
|
-
Object.assign(result, entity);
|
|
22
|
-
return result;
|
|
23
|
-
}
|
|
24
|
-
getRelationConfigs() {
|
|
25
|
-
return WorkFromHomeHistoryEntityModel.relationConfigs;
|
|
8
|
+
return base_history_entity_model_1.BaseHistoryEntityModel.createFromEntity(entity_utils_interface_1.EntityEnum.WORK_FROM_HOME_HISTORY, entity);
|
|
26
9
|
}
|
|
27
10
|
}
|
|
28
11
|
exports.WorkFromHomeHistoryEntityModel = WorkFromHomeHistoryEntityModel;
|
|
29
|
-
|
|
12
|
+
// import { HistoryOperationEnum } from "../enums/history_operation.enum";
|
|
13
|
+
// import { EntityEnum } from "../interface/entity.utils.interface";
|
|
14
|
+
// import { IWorkFromHomeHistoryEntity } from "../interface/work_from_home_history.entity.interface";
|
|
15
|
+
// import { RelationConfigs } from "../interface/relation-config.interface";
|
|
16
|
+
// import { BaseEntityModel } from "./base.entity.model";
|
|
17
|
+
// export class WorkFromHomeHistoryEntityModel
|
|
18
|
+
// extends BaseEntityModel<EntityEnum.WORK_FROM_HOME_HISTORY>
|
|
19
|
+
// implements IWorkFromHomeHistoryEntity
|
|
20
|
+
// {
|
|
21
|
+
// id: number = 0;
|
|
22
|
+
// entityId: number = 0;
|
|
23
|
+
// operation: HistoryOperationEnum = HistoryOperationEnum.CREATE;
|
|
24
|
+
// data: string = "";
|
|
25
|
+
// createdOn: number = 0;
|
|
26
|
+
// updatedOn: number = 0;
|
|
27
|
+
// createdBy: number = 0;
|
|
28
|
+
// updatedBy: number = 0;
|
|
29
|
+
// static relationConfigs: RelationConfigs<[], EntityEnum.WORK_FROM_HOME_HISTORY> = [];
|
|
30
|
+
// static fromEntity(entity: IWorkFromHomeHistoryEntity): WorkFromHomeHistoryEntityModel {
|
|
31
|
+
// const result = new WorkFromHomeHistoryEntityModel(EntityEnum.WORK_FROM_HOME_HISTORY);
|
|
32
|
+
// Object.assign(result, entity);
|
|
33
|
+
// return result;
|
|
34
|
+
// }
|
|
35
|
+
// getRelationConfigs() {
|
|
36
|
+
// return WorkFromHomeHistoryEntityModel.relationConfigs;
|
|
37
|
+
// }
|
|
38
|
+
// }
|