law-common 10.18.1-beta.0 → 10.18.1-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.
|
@@ -79,3 +79,4 @@ export * from "./interface/billing-reimbursement-expense.entity.interface";
|
|
|
79
79
|
export * from "./enums/billing-reimbursement-expense-change-status.enum";
|
|
80
80
|
export * from "./interface/billing-reimbursement-expense-history.entity.interface";
|
|
81
81
|
export * from "./enums/billing-reimburement-expense-impact.enum";
|
|
82
|
+
export * from "./model/bank.entity.model";
|
|
@@ -96,3 +96,4 @@ __exportStar(require("./interface/billing-reimbursement-expense.entity.interface
|
|
|
96
96
|
__exportStar(require("./enums/billing-reimbursement-expense-change-status.enum"), exports);
|
|
97
97
|
__exportStar(require("./interface/billing-reimbursement-expense-history.entity.interface"), exports);
|
|
98
98
|
__exportStar(require("./enums/billing-reimburement-expense-impact.enum"), exports);
|
|
99
|
+
__exportStar(require("./model/bank.entity.model"), exports);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { IBankApiEntity } from "../../api";
|
|
2
2
|
import { BankStatusEnum } from "../enums/bank_status.enum";
|
|
3
|
-
export declare class
|
|
3
|
+
export declare class BankEntityModel implements IBankApiEntity {
|
|
4
4
|
id: number;
|
|
5
5
|
accountName: string;
|
|
6
6
|
organizationId: number;
|
|
@@ -16,5 +16,5 @@ export declare class BankEntity implements IBankApiEntity {
|
|
|
16
16
|
updatedBy: number;
|
|
17
17
|
createdOn: string;
|
|
18
18
|
updatedOn: string;
|
|
19
|
-
static fromApiEntity(apiEntity: IBankApiEntity):
|
|
19
|
+
static fromApiEntity(apiEntity: IBankApiEntity): BankEntityModel;
|
|
20
20
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.BankEntityModel = void 0;
|
|
4
4
|
const bank_status_enum_1 = require("../enums/bank_status.enum");
|
|
5
|
-
class
|
|
5
|
+
class BankEntityModel {
|
|
6
6
|
constructor() {
|
|
7
7
|
this.id = 0;
|
|
8
8
|
this.accountName = "";
|
|
@@ -19,9 +19,9 @@ class BankEntity {
|
|
|
19
19
|
this.updatedOn = `${new Date()}`;
|
|
20
20
|
}
|
|
21
21
|
static fromApiEntity(apiEntity) {
|
|
22
|
-
const entity = new
|
|
22
|
+
const entity = new BankEntityModel();
|
|
23
23
|
Object.assign(entity, apiEntity);
|
|
24
24
|
return entity;
|
|
25
25
|
}
|
|
26
26
|
}
|
|
27
|
-
exports.
|
|
27
|
+
exports.BankEntityModel = BankEntityModel;
|