plac-micro-common 1.2.46 → 1.2.48
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/models/application/app_coverage.entity.d.ts +3 -3
- package/dist/models/application/app_coverage.entity.js +32 -21
- package/dist/models/application/app_person.entity.js +12 -2
- package/dist/models/application/application.entity.js +12 -2
- package/dist/models/application/underwriting_question.entity.d.ts +2 -2
- package/dist/models/application/underwriting_question.entity.js +17 -12
- package/dist/models/core/index.d.ts +2 -1
- package/dist/models/core/index.js +17 -0
- package/dist/models/core/product/cash_value.entity.d.ts +19 -0
- package/dist/models/core/product/cash_value.entity.js +87 -0
- package/dist/models/core/product/index.d.ts +18 -0
- package/dist/models/core/product/index.js +53 -0
- package/dist/models/core/product/payment_mode.entity.d.ts +11 -0
- package/dist/models/core/product/payment_mode.entity.js +55 -0
- package/dist/models/core/product/premium_rate_condition.entity.d.ts +15 -0
- package/dist/models/core/product/premium_rate_condition.entity.js +66 -0
- package/dist/models/core/product/premium_rate_value.entity.d.ts +11 -0
- package/dist/models/core/product/premium_rate_value.entity.js +55 -0
- package/dist/models/core/product/product.entity.d.ts +20 -0
- package/dist/models/core/product/product.entity.js +78 -0
- package/dist/models/core/product/product_org.entity.d.ts +13 -0
- package/dist/models/core/product/product_org.entity.js +57 -0
- package/dist/models/core/product/product_payment_mode.entity.d.ts +12 -0
- package/dist/models/core/product/product_payment_mode.entity.js +53 -0
- package/dist/models/core/product/product_plan.entity.d.ts +16 -0
- package/dist/models/core/product/product_plan.entity.js +66 -0
- package/dist/models/core/product/product_rider.entity.d.ts +12 -0
- package/dist/models/core/product/product_rider.entity.js +55 -0
- package/dist/models/core/product/product_term.entity.d.ts +12 -0
- package/dist/models/core/product/product_term.entity.js +55 -0
- package/dist/models/core/product/product_type.entity.d.ts +8 -0
- package/dist/models/core/product/product_type.entity.js +40 -0
- package/dist/models/core/product/promotion.entity.d.ts +15 -0
- package/dist/models/core/product/promotion.entity.js +65 -0
- package/dist/models/core/product/promotion_org.entity.d.ts +11 -0
- package/dist/models/core/product/promotion_org.entity.js +49 -0
- package/dist/models/core/product/promotion_product.entity.d.ts +12 -0
- package/dist/models/core/product/promotion_product.entity.js +61 -0
- package/dist/models/core/product/rider.entity.d.ts +9 -0
- package/dist/models/core/product/rider.entity.js +44 -0
- package/dist/models/core/product/term.entity.d.ts +5 -0
- package/dist/models/core/product/term.entity.js +28 -0
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { ApplicationEntity } from
|
|
2
|
-
import { _BaseEntity } from
|
|
3
|
-
import { AppCoverageType, DiscountType } from
|
|
1
|
+
import { ApplicationEntity } from "./application.entity";
|
|
2
|
+
import { _BaseEntity } from "../_base_entity";
|
|
3
|
+
import { AppCoverageType, DiscountType } from "../../types";
|
|
4
4
|
export declare class AppCoverageEntity extends _BaseEntity {
|
|
5
5
|
id: string;
|
|
6
6
|
application_id: string;
|
|
@@ -14,88 +14,99 @@ const typeorm_1 = require("typeorm");
|
|
|
14
14
|
const application_entity_1 = require("./application.entity");
|
|
15
15
|
const _base_entity_1 = require("../_base_entity");
|
|
16
16
|
const types_1 = require("../../types");
|
|
17
|
+
const utils_1 = require("../../utils");
|
|
17
18
|
let AppCoverageEntity = class AppCoverageEntity extends _base_entity_1._BaseEntity {
|
|
18
19
|
};
|
|
19
20
|
exports.AppCoverageEntity = AppCoverageEntity;
|
|
20
21
|
__decorate([
|
|
21
|
-
(0, typeorm_1.PrimaryGeneratedColumn)(
|
|
22
|
+
(0, typeorm_1.PrimaryGeneratedColumn)("uuid"),
|
|
22
23
|
__metadata("design:type", String)
|
|
23
24
|
], AppCoverageEntity.prototype, "id", void 0);
|
|
24
25
|
__decorate([
|
|
25
26
|
(0, typeorm_1.Index)(),
|
|
26
|
-
(0, typeorm_1.Column)({ type:
|
|
27
|
+
(0, typeorm_1.Column)({ type: "uuid" }),
|
|
27
28
|
__metadata("design:type", String)
|
|
28
29
|
], AppCoverageEntity.prototype, "application_id", void 0);
|
|
29
30
|
__decorate([
|
|
30
31
|
(0, typeorm_1.Index)(),
|
|
31
|
-
(0, typeorm_1.Column)({
|
|
32
|
+
(0, typeorm_1.Column)({
|
|
33
|
+
type: "varchar",
|
|
34
|
+
length: 20,
|
|
35
|
+
default: types_1.AppCoverageType.Base,
|
|
36
|
+
comment: (0, utils_1.enumToCommentString)(types_1.AppCoverageType),
|
|
37
|
+
}),
|
|
32
38
|
__metadata("design:type", String)
|
|
33
39
|
], AppCoverageEntity.prototype, "coverage_type", void 0);
|
|
34
40
|
__decorate([
|
|
35
41
|
(0, typeorm_1.Index)(),
|
|
36
|
-
(0, typeorm_1.Column)({ type:
|
|
42
|
+
(0, typeorm_1.Column)({ type: "uuid" }),
|
|
37
43
|
__metadata("design:type", String)
|
|
38
44
|
], AppCoverageEntity.prototype, "product_id", void 0);
|
|
39
45
|
__decorate([
|
|
40
46
|
(0, typeorm_1.Index)(),
|
|
41
|
-
(0, typeorm_1.Column)({ type:
|
|
47
|
+
(0, typeorm_1.Column)({ type: "uuid", nullable: true }),
|
|
42
48
|
__metadata("design:type", Object)
|
|
43
49
|
], AppCoverageEntity.prototype, "product_plan_id", void 0);
|
|
44
50
|
__decorate([
|
|
45
51
|
(0, typeorm_1.Index)(),
|
|
46
|
-
(0, typeorm_1.Column)({ type:
|
|
52
|
+
(0, typeorm_1.Column)({ type: "uuid", nullable: true }),
|
|
47
53
|
__metadata("design:type", Object)
|
|
48
54
|
], AppCoverageEntity.prototype, "product_coverage_id", void 0);
|
|
49
55
|
__decorate([
|
|
50
|
-
(0, typeorm_1.Column)({ type:
|
|
56
|
+
(0, typeorm_1.Column)({ type: "int" }),
|
|
51
57
|
__metadata("design:type", Number)
|
|
52
58
|
], AppCoverageEntity.prototype, "sequence_no", void 0);
|
|
53
59
|
__decorate([
|
|
54
|
-
(0, typeorm_1.Column)({ type:
|
|
60
|
+
(0, typeorm_1.Column)({ type: "varchar", length: 10, nullable: true }),
|
|
55
61
|
__metadata("design:type", Object)
|
|
56
62
|
], AppCoverageEntity.prototype, "currency", void 0);
|
|
57
63
|
__decorate([
|
|
58
|
-
(0, typeorm_1.Column)({ type:
|
|
64
|
+
(0, typeorm_1.Column)({ type: "numeric", nullable: true }),
|
|
59
65
|
__metadata("design:type", Object)
|
|
60
66
|
], AppCoverageEntity.prototype, "sum_assured", void 0);
|
|
61
67
|
__decorate([
|
|
62
|
-
(0, typeorm_1.Column)({
|
|
68
|
+
(0, typeorm_1.Column)({
|
|
69
|
+
type: "varchar",
|
|
70
|
+
length: 25,
|
|
71
|
+
nullable: true,
|
|
72
|
+
comment: (0, utils_1.enumToCommentString)(types_1.DiscountType),
|
|
73
|
+
}),
|
|
63
74
|
__metadata("design:type", Object)
|
|
64
75
|
], AppCoverageEntity.prototype, "discount_type", void 0);
|
|
65
76
|
__decorate([
|
|
66
|
-
(0, typeorm_1.Column)({ type:
|
|
77
|
+
(0, typeorm_1.Column)({ type: "numeric", nullable: true }),
|
|
67
78
|
__metadata("design:type", Object)
|
|
68
79
|
], AppCoverageEntity.prototype, "discount_value", void 0);
|
|
69
80
|
__decorate([
|
|
70
|
-
(0, typeorm_1.Column)({ type:
|
|
81
|
+
(0, typeorm_1.Column)({ type: "numeric", nullable: true }),
|
|
71
82
|
__metadata("design:type", Object)
|
|
72
83
|
], AppCoverageEntity.prototype, "discount_premium_amount", void 0);
|
|
73
84
|
__decorate([
|
|
74
|
-
(0, typeorm_1.Column)({ type:
|
|
85
|
+
(0, typeorm_1.Column)({ type: "numeric", nullable: true }),
|
|
75
86
|
__metadata("design:type", Object)
|
|
76
87
|
], AppCoverageEntity.prototype, "annual_premium_amount", void 0);
|
|
77
88
|
__decorate([
|
|
78
|
-
(0, typeorm_1.Column)({ type:
|
|
89
|
+
(0, typeorm_1.Column)({ type: "numeric", nullable: true }),
|
|
79
90
|
__metadata("design:type", Object)
|
|
80
91
|
], AppCoverageEntity.prototype, "mode_premium_amount", void 0);
|
|
81
92
|
__decorate([
|
|
82
|
-
(0, typeorm_1.Column)({ type:
|
|
93
|
+
(0, typeorm_1.Column)({ type: "uuid", nullable: true }),
|
|
83
94
|
__metadata("design:type", Object)
|
|
84
95
|
], AppCoverageEntity.prototype, "product_payment_mode_id", void 0);
|
|
85
96
|
__decorate([
|
|
86
|
-
(0, typeorm_1.Column)({ type:
|
|
97
|
+
(0, typeorm_1.Column)({ type: "uuid", nullable: true }),
|
|
87
98
|
__metadata("design:type", Object)
|
|
88
99
|
], AppCoverageEntity.prototype, "product_policy_term_id", void 0);
|
|
89
100
|
__decorate([
|
|
90
|
-
(0, typeorm_1.Column)({ type:
|
|
101
|
+
(0, typeorm_1.Column)({ type: "boolean", default: true }),
|
|
91
102
|
__metadata("design:type", Boolean)
|
|
92
103
|
], AppCoverageEntity.prototype, "is_active", void 0);
|
|
93
104
|
__decorate([
|
|
94
|
-
(0, typeorm_1.ManyToOne)(() => application_entity_1.ApplicationEntity, { onDelete:
|
|
95
|
-
(0, typeorm_1.JoinColumn)({ name:
|
|
105
|
+
(0, typeorm_1.ManyToOne)(() => application_entity_1.ApplicationEntity, { onDelete: "CASCADE" }),
|
|
106
|
+
(0, typeorm_1.JoinColumn)({ name: "application_id" }),
|
|
96
107
|
__metadata("design:type", application_entity_1.ApplicationEntity)
|
|
97
108
|
], AppCoverageEntity.prototype, "application", void 0);
|
|
98
109
|
exports.AppCoverageEntity = AppCoverageEntity = __decorate([
|
|
99
|
-
(0, typeorm_1.Entity)({ schema:
|
|
100
|
-
(0, typeorm_1.Unique)(
|
|
110
|
+
(0, typeorm_1.Entity)({ schema: "application", name: "app_coverages" }),
|
|
111
|
+
(0, typeorm_1.Unique)("uq_app_coverage_app_seq", ["application_id", "sequence_no"])
|
|
101
112
|
], AppCoverageEntity);
|
|
@@ -15,6 +15,7 @@ const application_entity_1 = require("./application.entity");
|
|
|
15
15
|
const _base_entity_1 = require("../_base_entity");
|
|
16
16
|
const types_1 = require("../../types");
|
|
17
17
|
const customer_1 = require("../customer");
|
|
18
|
+
const utils_1 = require("../../utils");
|
|
18
19
|
let AppPersonEntity = class AppPersonEntity extends _base_entity_1._BaseEntity {
|
|
19
20
|
};
|
|
20
21
|
exports.AppPersonEntity = AppPersonEntity;
|
|
@@ -29,7 +30,11 @@ __decorate([
|
|
|
29
30
|
], AppPersonEntity.prototype, "application_id", void 0);
|
|
30
31
|
__decorate([
|
|
31
32
|
(0, typeorm_1.Index)(),
|
|
32
|
-
(0, typeorm_1.Column)({
|
|
33
|
+
(0, typeorm_1.Column)({
|
|
34
|
+
type: "varchar",
|
|
35
|
+
length: 30,
|
|
36
|
+
comment: (0, utils_1.enumToCommentString)(types_1.AppPersonRole),
|
|
37
|
+
}),
|
|
33
38
|
__metadata("design:type", String)
|
|
34
39
|
], AppPersonEntity.prototype, "role", void 0);
|
|
35
40
|
__decorate([
|
|
@@ -80,7 +85,12 @@ __decorate([
|
|
|
80
85
|
], AppPersonEntity.prototype, "nationality_id", void 0);
|
|
81
86
|
__decorate([
|
|
82
87
|
(0, typeorm_1.Index)(),
|
|
83
|
-
(0, typeorm_1.Column)({
|
|
88
|
+
(0, typeorm_1.Column)({
|
|
89
|
+
type: "varchar",
|
|
90
|
+
length: 50,
|
|
91
|
+
nullable: true,
|
|
92
|
+
comment: (0, utils_1.enumToCommentString)(types_1.IdentifierType),
|
|
93
|
+
}),
|
|
84
94
|
__metadata("design:type", Object)
|
|
85
95
|
], AppPersonEntity.prototype, "identifier_type", void 0);
|
|
86
96
|
__decorate([
|
|
@@ -14,6 +14,7 @@ const typeorm_1 = require("typeorm");
|
|
|
14
14
|
const _base_entity_1 = require("../_base_entity");
|
|
15
15
|
const types_1 = require("../../types");
|
|
16
16
|
const core_1 = require("../core");
|
|
17
|
+
const utils_1 = require("../../utils");
|
|
17
18
|
let ApplicationEntity = class ApplicationEntity extends _base_entity_1._BaseEntity {
|
|
18
19
|
};
|
|
19
20
|
exports.ApplicationEntity = ApplicationEntity;
|
|
@@ -27,7 +28,12 @@ __decorate([
|
|
|
27
28
|
__metadata("design:type", String)
|
|
28
29
|
], ApplicationEntity.prototype, "application_no", void 0);
|
|
29
30
|
__decorate([
|
|
30
|
-
(0, typeorm_1.Column)({
|
|
31
|
+
(0, typeorm_1.Column)({
|
|
32
|
+
type: "varchar",
|
|
33
|
+
length: 50,
|
|
34
|
+
default: types_1.AppPhLaRelation.SamePerson,
|
|
35
|
+
comment: (0, utils_1.enumToCommentString)(types_1.AppPhLaRelation),
|
|
36
|
+
}),
|
|
31
37
|
__metadata("design:type", String)
|
|
32
38
|
], ApplicationEntity.prototype, "ph_la_relation", void 0);
|
|
33
39
|
__decorate([
|
|
@@ -66,7 +72,11 @@ __decorate([
|
|
|
66
72
|
], ApplicationEntity.prototype, "assigned_org_staff_id", void 0);
|
|
67
73
|
__decorate([
|
|
68
74
|
(0, typeorm_1.Index)(),
|
|
69
|
-
(0, typeorm_1.Column)({
|
|
75
|
+
(0, typeorm_1.Column)({
|
|
76
|
+
type: "varchar",
|
|
77
|
+
length: 30,
|
|
78
|
+
comment: (0, utils_1.enumToCommentString)(types_1.ApplicationStatus),
|
|
79
|
+
}),
|
|
70
80
|
__metadata("design:type", String)
|
|
71
81
|
], ApplicationEntity.prototype, "status", void 0);
|
|
72
82
|
__decorate([
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { _BaseEntity } from
|
|
2
|
-
import { UwAnswerValueType } from
|
|
1
|
+
import { _BaseEntity } from "../_base_entity";
|
|
2
|
+
import { UwAnswerValueType } from "../../types";
|
|
3
3
|
export declare class UnderwritingQuestionEntity extends _BaseEntity {
|
|
4
4
|
id: string;
|
|
5
5
|
question_code: string;
|
|
@@ -13,54 +13,59 @@ exports.UnderwritingQuestionEntity = void 0;
|
|
|
13
13
|
const typeorm_1 = require("typeorm");
|
|
14
14
|
const _base_entity_1 = require("../_base_entity");
|
|
15
15
|
const types_1 = require("../../types");
|
|
16
|
+
const utils_1 = require("../../utils");
|
|
16
17
|
let UnderwritingQuestionEntity = class UnderwritingQuestionEntity extends _base_entity_1._BaseEntity {
|
|
17
18
|
};
|
|
18
19
|
exports.UnderwritingQuestionEntity = UnderwritingQuestionEntity;
|
|
19
20
|
__decorate([
|
|
20
|
-
(0, typeorm_1.PrimaryGeneratedColumn)(
|
|
21
|
+
(0, typeorm_1.PrimaryGeneratedColumn)("uuid"),
|
|
21
22
|
__metadata("design:type", String)
|
|
22
23
|
], UnderwritingQuestionEntity.prototype, "id", void 0);
|
|
23
24
|
__decorate([
|
|
24
25
|
(0, typeorm_1.Index)(),
|
|
25
|
-
(0, typeorm_1.Column)({ type:
|
|
26
|
+
(0, typeorm_1.Column)({ type: "varchar", length: 50, unique: true }),
|
|
26
27
|
__metadata("design:type", String)
|
|
27
28
|
], UnderwritingQuestionEntity.prototype, "question_code", void 0);
|
|
28
29
|
__decorate([
|
|
29
|
-
(0, typeorm_1.Column)({ type:
|
|
30
|
+
(0, typeorm_1.Column)({ type: "varchar", length: 500 }),
|
|
30
31
|
__metadata("design:type", String)
|
|
31
32
|
], UnderwritingQuestionEntity.prototype, "question_text", void 0);
|
|
32
33
|
__decorate([
|
|
33
|
-
(0, typeorm_1.Column)({ type:
|
|
34
|
+
(0, typeorm_1.Column)({ type: "varchar", nullable: true, length: 500 }),
|
|
34
35
|
__metadata("design:type", String)
|
|
35
36
|
], UnderwritingQuestionEntity.prototype, "question_text_kh", void 0);
|
|
36
37
|
__decorate([
|
|
37
|
-
(0, typeorm_1.Column)({
|
|
38
|
+
(0, typeorm_1.Column)({
|
|
39
|
+
type: "varchar",
|
|
40
|
+
length: 20,
|
|
41
|
+
comment: (0, utils_1.enumToCommentString)(types_1.UwAnswerValueType),
|
|
42
|
+
}),
|
|
38
43
|
__metadata("design:type", String)
|
|
39
44
|
], UnderwritingQuestionEntity.prototype, "value_type", void 0);
|
|
40
45
|
__decorate([
|
|
41
|
-
(0, typeorm_1.Column)({ type:
|
|
46
|
+
(0, typeorm_1.Column)({ type: "boolean", default: true }),
|
|
42
47
|
__metadata("design:type", Boolean)
|
|
43
48
|
], UnderwritingQuestionEntity.prototype, "is_required", void 0);
|
|
44
49
|
__decorate([
|
|
45
|
-
(0, typeorm_1.Column)({ type:
|
|
50
|
+
(0, typeorm_1.Column)({ type: "boolean", default: false }),
|
|
46
51
|
__metadata("design:type", Boolean)
|
|
47
52
|
], UnderwritingQuestionEntity.prototype, "is_remark_required_if_true_or_yes", void 0);
|
|
48
53
|
__decorate([
|
|
49
|
-
(0, typeorm_1.Column)({ type:
|
|
54
|
+
(0, typeorm_1.Column)({ type: "varchar", nullable: true, length: 500 }),
|
|
50
55
|
__metadata("design:type", String)
|
|
51
56
|
], UnderwritingQuestionEntity.prototype, "remark_label", void 0);
|
|
52
57
|
__decorate([
|
|
53
|
-
(0, typeorm_1.Column)({ type:
|
|
58
|
+
(0, typeorm_1.Column)({ type: "varchar", nullable: true, length: 500 }),
|
|
54
59
|
__metadata("design:type", String)
|
|
55
60
|
], UnderwritingQuestionEntity.prototype, "remark_label_kh", void 0);
|
|
56
61
|
__decorate([
|
|
57
|
-
(0, typeorm_1.Column)({ type:
|
|
62
|
+
(0, typeorm_1.Column)({ type: "integer", default: 1 }),
|
|
58
63
|
__metadata("design:type", Number)
|
|
59
64
|
], UnderwritingQuestionEntity.prototype, "sequence_no", void 0);
|
|
60
65
|
__decorate([
|
|
61
|
-
(0, typeorm_1.Column)({ type:
|
|
66
|
+
(0, typeorm_1.Column)({ type: "boolean", default: true }),
|
|
62
67
|
__metadata("design:type", Boolean)
|
|
63
68
|
], UnderwritingQuestionEntity.prototype, "is_active", void 0);
|
|
64
69
|
exports.UnderwritingQuestionEntity = UnderwritingQuestionEntity = __decorate([
|
|
65
|
-
(0, typeorm_1.Entity)({ schema:
|
|
70
|
+
(0, typeorm_1.Entity)({ schema: "application", name: "underwriting_questions" })
|
|
66
71
|
], UnderwritingQuestionEntity);
|
|
@@ -15,5 +15,6 @@ import { OrganizationStaffBranchEntity } from "./org_staff_branches.entity";
|
|
|
15
15
|
import { OrganizationStaffReportingLineEntity } from "./org_staff_reporting_lines.entity";
|
|
16
16
|
import { RelationshipEntity } from "./relationship.entity";
|
|
17
17
|
import { StaffEntity } from "./staffs.entity";
|
|
18
|
-
export declare const CORE_ENTITIES: readonly [typeof GeoProvinceEntity, typeof GeoDistrictEntity, typeof GeoCommuneEntity, typeof GeoVillageEntity, typeof MaritalStatusEntity, typeof NationalityEntity, typeof NumberSeriesEntity, typeof OrganizationEntity, typeof OrganizationBranchEntity, typeof OrganizationChannelEntity, typeof OrganizationDepartmentEntity, typeof OrganizationPositionEntity, typeof OrganizationStaffEntity, typeof OrganizationStaffBranchEntity, typeof OrganizationStaffReportingLineEntity, typeof RelationshipEntity, typeof StaffEntity];
|
|
18
|
+
export declare const CORE_ENTITIES: readonly [typeof GeoProvinceEntity, typeof GeoDistrictEntity, typeof GeoCommuneEntity, typeof GeoVillageEntity, typeof MaritalStatusEntity, typeof NationalityEntity, typeof NumberSeriesEntity, typeof OrganizationEntity, typeof OrganizationBranchEntity, typeof OrganizationChannelEntity, typeof OrganizationDepartmentEntity, typeof OrganizationPositionEntity, typeof OrganizationStaffEntity, typeof OrganizationStaffBranchEntity, typeof OrganizationStaffReportingLineEntity, typeof RelationshipEntity, typeof StaffEntity, typeof import("./product").CashValueEntity, typeof import("./product").PaymentModeEntity, typeof import("./product").PremiumRateConditionEntity, typeof import("./product").PremiumRateValueEntity, typeof import("./product").ProductEntity, typeof import("./product").ProductOrgEntity, typeof import("./product").ProductTypeEntity, typeof import("./product").ProductPaymentModeEntity, typeof import("./product").ProductRiderEntity, typeof import("./product").ProductTermEntity, typeof import("./product").ProductPlanEntity, typeof import("./product").PromotionEntity, typeof import("./product").PromotionOrgEntity, typeof import("./product").PromotionProductEntity, typeof import("./product").RiderEntity, typeof import("./product").TermEntity];
|
|
19
19
|
export { GeoProvinceEntity, GeoDistrictEntity, GeoCommuneEntity, GeoVillageEntity, MaritalStatusEntity, NationalityEntity, NumberSeriesEntity, OrganizationEntity, OrganizationBranchEntity, OrganizationChannelEntity, OrganizationDepartmentEntity, OrganizationPositionEntity, OrganizationStaffEntity, OrganizationStaffBranchEntity, OrganizationStaffReportingLineEntity, RelationshipEntity, StaffEntity, };
|
|
20
|
+
export * from "./product";
|
|
@@ -1,4 +1,18 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
2
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
17
|
exports.StaffEntity = exports.RelationshipEntity = exports.OrganizationStaffReportingLineEntity = exports.OrganizationStaffBranchEntity = exports.OrganizationStaffEntity = exports.OrganizationPositionEntity = exports.OrganizationDepartmentEntity = exports.OrganizationChannelEntity = exports.OrganizationBranchEntity = exports.OrganizationEntity = exports.NumberSeriesEntity = exports.NationalityEntity = exports.MaritalStatusEntity = exports.GeoVillageEntity = exports.GeoCommuneEntity = exports.GeoDistrictEntity = exports.GeoProvinceEntity = exports.CORE_ENTITIES = void 0;
|
|
4
18
|
const geo_province_entity_1 = require("./geo_province.entity");
|
|
@@ -35,6 +49,7 @@ const relationship_entity_1 = require("./relationship.entity");
|
|
|
35
49
|
Object.defineProperty(exports, "RelationshipEntity", { enumerable: true, get: function () { return relationship_entity_1.RelationshipEntity; } });
|
|
36
50
|
const staffs_entity_1 = require("./staffs.entity");
|
|
37
51
|
Object.defineProperty(exports, "StaffEntity", { enumerable: true, get: function () { return staffs_entity_1.StaffEntity; } });
|
|
52
|
+
const product_1 = require("./product");
|
|
38
53
|
exports.CORE_ENTITIES = [
|
|
39
54
|
geo_province_entity_1.GeoProvinceEntity,
|
|
40
55
|
geo_district_entity_1.GeoDistrictEntity,
|
|
@@ -57,4 +72,6 @@ exports.CORE_ENTITIES = [
|
|
|
57
72
|
relationship_entity_1.RelationshipEntity,
|
|
58
73
|
//
|
|
59
74
|
staffs_entity_1.StaffEntity,
|
|
75
|
+
...product_1.PRODUCT_ENTITIES,
|
|
60
76
|
];
|
|
77
|
+
__exportStar(require("./product"), exports);
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export declare class CashValueEntity {
|
|
2
|
+
id: string;
|
|
3
|
+
tl_type?: string | null;
|
|
4
|
+
tl_sex?: string | null;
|
|
5
|
+
tl_tmpro?: string | null;
|
|
6
|
+
tl_tmppm?: number | null;
|
|
7
|
+
tl_plan_pcnt?: number | null;
|
|
8
|
+
tl_insag?: string | null;
|
|
9
|
+
tl_polyr?: string | null;
|
|
10
|
+
tl_surnd?: string | null;
|
|
11
|
+
tl_padup?: string | null;
|
|
12
|
+
tl_cash1?: string | null;
|
|
13
|
+
tl_extyy?: string | null;
|
|
14
|
+
tl_extdd?: string | null;
|
|
15
|
+
tl_extca?: string | null;
|
|
16
|
+
tl_cash2?: string | null;
|
|
17
|
+
tl_rfund?: string | null;
|
|
18
|
+
tl_reccd?: number | null;
|
|
19
|
+
}
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.CashValueEntity = void 0;
|
|
13
|
+
const typeorm_1 = require("typeorm");
|
|
14
|
+
let CashValueEntity = class CashValueEntity {
|
|
15
|
+
};
|
|
16
|
+
exports.CashValueEntity = CashValueEntity;
|
|
17
|
+
__decorate([
|
|
18
|
+
(0, typeorm_1.PrimaryGeneratedColumn)("uuid"),
|
|
19
|
+
__metadata("design:type", String)
|
|
20
|
+
], CashValueEntity.prototype, "id", void 0);
|
|
21
|
+
__decorate([
|
|
22
|
+
(0, typeorm_1.Column)({ type: "varchar", length: 6, nullable: true }),
|
|
23
|
+
__metadata("design:type", Object)
|
|
24
|
+
], CashValueEntity.prototype, "tl_type", void 0);
|
|
25
|
+
__decorate([
|
|
26
|
+
(0, typeorm_1.Column)({ type: "varchar", length: 1, nullable: true }),
|
|
27
|
+
__metadata("design:type", Object)
|
|
28
|
+
], CashValueEntity.prototype, "tl_sex", void 0);
|
|
29
|
+
__decorate([
|
|
30
|
+
(0, typeorm_1.Column)({ type: "decimal", precision: 18, scale: 2, nullable: true }),
|
|
31
|
+
__metadata("design:type", Object)
|
|
32
|
+
], CashValueEntity.prototype, "tl_tmpro", void 0);
|
|
33
|
+
__decorate([
|
|
34
|
+
(0, typeorm_1.Column)({ type: "float", nullable: true }),
|
|
35
|
+
__metadata("design:type", Object)
|
|
36
|
+
], CashValueEntity.prototype, "tl_tmppm", void 0);
|
|
37
|
+
__decorate([
|
|
38
|
+
(0, typeorm_1.Column)({ type: "float", nullable: true }),
|
|
39
|
+
__metadata("design:type", Object)
|
|
40
|
+
], CashValueEntity.prototype, "tl_plan_pcnt", void 0);
|
|
41
|
+
__decorate([
|
|
42
|
+
(0, typeorm_1.Column)({ type: "varchar", length: 3, nullable: true }),
|
|
43
|
+
__metadata("design:type", Object)
|
|
44
|
+
], CashValueEntity.prototype, "tl_insag", void 0);
|
|
45
|
+
__decorate([
|
|
46
|
+
(0, typeorm_1.Column)({ type: "varchar", length: 2, nullable: true }),
|
|
47
|
+
__metadata("design:type", Object)
|
|
48
|
+
], CashValueEntity.prototype, "tl_polyr", void 0);
|
|
49
|
+
__decorate([
|
|
50
|
+
(0, typeorm_1.Column)({ type: "decimal", precision: 18, scale: 2, nullable: true }),
|
|
51
|
+
__metadata("design:type", Object)
|
|
52
|
+
], CashValueEntity.prototype, "tl_surnd", void 0);
|
|
53
|
+
__decorate([
|
|
54
|
+
(0, typeorm_1.Column)({ type: "decimal", precision: 18, scale: 2, nullable: true }),
|
|
55
|
+
__metadata("design:type", Object)
|
|
56
|
+
], CashValueEntity.prototype, "tl_padup", void 0);
|
|
57
|
+
__decorate([
|
|
58
|
+
(0, typeorm_1.Column)({ type: "decimal", precision: 18, scale: 2, nullable: true }),
|
|
59
|
+
__metadata("design:type", Object)
|
|
60
|
+
], CashValueEntity.prototype, "tl_cash1", void 0);
|
|
61
|
+
__decorate([
|
|
62
|
+
(0, typeorm_1.Column)({ type: "decimal", precision: 18, scale: 2, nullable: true }),
|
|
63
|
+
__metadata("design:type", Object)
|
|
64
|
+
], CashValueEntity.prototype, "tl_extyy", void 0);
|
|
65
|
+
__decorate([
|
|
66
|
+
(0, typeorm_1.Column)({ type: "decimal", precision: 18, scale: 2, nullable: true }),
|
|
67
|
+
__metadata("design:type", Object)
|
|
68
|
+
], CashValueEntity.prototype, "tl_extdd", void 0);
|
|
69
|
+
__decorate([
|
|
70
|
+
(0, typeorm_1.Column)({ type: "decimal", precision: 18, scale: 2, nullable: true }),
|
|
71
|
+
__metadata("design:type", Object)
|
|
72
|
+
], CashValueEntity.prototype, "tl_extca", void 0);
|
|
73
|
+
__decorate([
|
|
74
|
+
(0, typeorm_1.Column)({ type: "decimal", precision: 18, scale: 2, nullable: true }),
|
|
75
|
+
__metadata("design:type", Object)
|
|
76
|
+
], CashValueEntity.prototype, "tl_cash2", void 0);
|
|
77
|
+
__decorate([
|
|
78
|
+
(0, typeorm_1.Column)({ type: "decimal", precision: 18, scale: 2, nullable: true }),
|
|
79
|
+
__metadata("design:type", Object)
|
|
80
|
+
], CashValueEntity.prototype, "tl_rfund", void 0);
|
|
81
|
+
__decorate([
|
|
82
|
+
(0, typeorm_1.Column)({ type: "int", nullable: true }),
|
|
83
|
+
__metadata("design:type", Object)
|
|
84
|
+
], CashValueEntity.prototype, "tl_reccd", void 0);
|
|
85
|
+
exports.CashValueEntity = CashValueEntity = __decorate([
|
|
86
|
+
(0, typeorm_1.Entity)({ schema: "core", name: "cash_values" })
|
|
87
|
+
], CashValueEntity);
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { CashValueEntity } from "./cash_value.entity";
|
|
2
|
+
import { PaymentModeEntity } from "./payment_mode.entity";
|
|
3
|
+
import { PremiumRateConditionEntity } from "./premium_rate_condition.entity";
|
|
4
|
+
import { PremiumRateValueEntity } from "./premium_rate_value.entity";
|
|
5
|
+
import { ProductEntity } from "./product.entity";
|
|
6
|
+
import { ProductOrgEntity } from "./product_org.entity";
|
|
7
|
+
import { ProductPaymentModeEntity } from "./product_payment_mode.entity";
|
|
8
|
+
import { ProductPlanEntity } from "./product_plan.entity";
|
|
9
|
+
import { ProductRiderEntity } from "./product_rider.entity";
|
|
10
|
+
import { ProductTermEntity } from "./product_term.entity";
|
|
11
|
+
import { ProductTypeEntity } from "./product_type.entity";
|
|
12
|
+
import { PromotionEntity } from "./promotion.entity";
|
|
13
|
+
import { PromotionOrgEntity } from "./promotion_org.entity";
|
|
14
|
+
import { PromotionProductEntity } from "./promotion_product.entity";
|
|
15
|
+
import { RiderEntity } from "./rider.entity";
|
|
16
|
+
import { TermEntity } from "./term.entity";
|
|
17
|
+
export declare const PRODUCT_ENTITIES: readonly [typeof CashValueEntity, typeof PaymentModeEntity, typeof PremiumRateConditionEntity, typeof PremiumRateValueEntity, typeof ProductEntity, typeof ProductOrgEntity, typeof ProductTypeEntity, typeof ProductPaymentModeEntity, typeof ProductRiderEntity, typeof ProductTermEntity, typeof ProductPlanEntity, typeof PromotionEntity, typeof PromotionOrgEntity, typeof PromotionProductEntity, typeof RiderEntity, typeof TermEntity];
|
|
18
|
+
export { CashValueEntity, PaymentModeEntity, PremiumRateConditionEntity, PremiumRateValueEntity, ProductEntity, ProductOrgEntity, ProductTypeEntity, ProductPaymentModeEntity, ProductRiderEntity, ProductTermEntity, ProductPlanEntity, PromotionEntity, PromotionOrgEntity, PromotionProductEntity, RiderEntity, TermEntity, };
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.TermEntity = exports.RiderEntity = exports.PromotionProductEntity = exports.PromotionOrgEntity = exports.PromotionEntity = exports.ProductPlanEntity = exports.ProductTermEntity = exports.ProductRiderEntity = exports.ProductPaymentModeEntity = exports.ProductTypeEntity = exports.ProductOrgEntity = exports.ProductEntity = exports.PremiumRateValueEntity = exports.PremiumRateConditionEntity = exports.PaymentModeEntity = exports.CashValueEntity = exports.PRODUCT_ENTITIES = void 0;
|
|
4
|
+
const cash_value_entity_1 = require("./cash_value.entity");
|
|
5
|
+
Object.defineProperty(exports, "CashValueEntity", { enumerable: true, get: function () { return cash_value_entity_1.CashValueEntity; } });
|
|
6
|
+
const payment_mode_entity_1 = require("./payment_mode.entity");
|
|
7
|
+
Object.defineProperty(exports, "PaymentModeEntity", { enumerable: true, get: function () { return payment_mode_entity_1.PaymentModeEntity; } });
|
|
8
|
+
const premium_rate_condition_entity_1 = require("./premium_rate_condition.entity");
|
|
9
|
+
Object.defineProperty(exports, "PremiumRateConditionEntity", { enumerable: true, get: function () { return premium_rate_condition_entity_1.PremiumRateConditionEntity; } });
|
|
10
|
+
const premium_rate_value_entity_1 = require("./premium_rate_value.entity");
|
|
11
|
+
Object.defineProperty(exports, "PremiumRateValueEntity", { enumerable: true, get: function () { return premium_rate_value_entity_1.PremiumRateValueEntity; } });
|
|
12
|
+
const product_entity_1 = require("./product.entity");
|
|
13
|
+
Object.defineProperty(exports, "ProductEntity", { enumerable: true, get: function () { return product_entity_1.ProductEntity; } });
|
|
14
|
+
const product_org_entity_1 = require("./product_org.entity");
|
|
15
|
+
Object.defineProperty(exports, "ProductOrgEntity", { enumerable: true, get: function () { return product_org_entity_1.ProductOrgEntity; } });
|
|
16
|
+
const product_payment_mode_entity_1 = require("./product_payment_mode.entity");
|
|
17
|
+
Object.defineProperty(exports, "ProductPaymentModeEntity", { enumerable: true, get: function () { return product_payment_mode_entity_1.ProductPaymentModeEntity; } });
|
|
18
|
+
const product_plan_entity_1 = require("./product_plan.entity");
|
|
19
|
+
Object.defineProperty(exports, "ProductPlanEntity", { enumerable: true, get: function () { return product_plan_entity_1.ProductPlanEntity; } });
|
|
20
|
+
const product_rider_entity_1 = require("./product_rider.entity");
|
|
21
|
+
Object.defineProperty(exports, "ProductRiderEntity", { enumerable: true, get: function () { return product_rider_entity_1.ProductRiderEntity; } });
|
|
22
|
+
const product_term_entity_1 = require("./product_term.entity");
|
|
23
|
+
Object.defineProperty(exports, "ProductTermEntity", { enumerable: true, get: function () { return product_term_entity_1.ProductTermEntity; } });
|
|
24
|
+
const product_type_entity_1 = require("./product_type.entity");
|
|
25
|
+
Object.defineProperty(exports, "ProductTypeEntity", { enumerable: true, get: function () { return product_type_entity_1.ProductTypeEntity; } });
|
|
26
|
+
const promotion_entity_1 = require("./promotion.entity");
|
|
27
|
+
Object.defineProperty(exports, "PromotionEntity", { enumerable: true, get: function () { return promotion_entity_1.PromotionEntity; } });
|
|
28
|
+
const promotion_org_entity_1 = require("./promotion_org.entity");
|
|
29
|
+
Object.defineProperty(exports, "PromotionOrgEntity", { enumerable: true, get: function () { return promotion_org_entity_1.PromotionOrgEntity; } });
|
|
30
|
+
const promotion_product_entity_1 = require("./promotion_product.entity");
|
|
31
|
+
Object.defineProperty(exports, "PromotionProductEntity", { enumerable: true, get: function () { return promotion_product_entity_1.PromotionProductEntity; } });
|
|
32
|
+
const rider_entity_1 = require("./rider.entity");
|
|
33
|
+
Object.defineProperty(exports, "RiderEntity", { enumerable: true, get: function () { return rider_entity_1.RiderEntity; } });
|
|
34
|
+
const term_entity_1 = require("./term.entity");
|
|
35
|
+
Object.defineProperty(exports, "TermEntity", { enumerable: true, get: function () { return term_entity_1.TermEntity; } });
|
|
36
|
+
exports.PRODUCT_ENTITIES = [
|
|
37
|
+
cash_value_entity_1.CashValueEntity,
|
|
38
|
+
payment_mode_entity_1.PaymentModeEntity,
|
|
39
|
+
premium_rate_condition_entity_1.PremiumRateConditionEntity,
|
|
40
|
+
premium_rate_value_entity_1.PremiumRateValueEntity,
|
|
41
|
+
product_entity_1.ProductEntity,
|
|
42
|
+
product_org_entity_1.ProductOrgEntity,
|
|
43
|
+
product_type_entity_1.ProductTypeEntity,
|
|
44
|
+
product_payment_mode_entity_1.ProductPaymentModeEntity,
|
|
45
|
+
product_rider_entity_1.ProductRiderEntity,
|
|
46
|
+
product_term_entity_1.ProductTermEntity,
|
|
47
|
+
product_plan_entity_1.ProductPlanEntity,
|
|
48
|
+
promotion_entity_1.PromotionEntity,
|
|
49
|
+
promotion_org_entity_1.PromotionOrgEntity,
|
|
50
|
+
promotion_product_entity_1.PromotionProductEntity,
|
|
51
|
+
rider_entity_1.RiderEntity,
|
|
52
|
+
term_entity_1.TermEntity,
|
|
53
|
+
];
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { PaymentModeCode } from "../../../types";
|
|
2
|
+
import { _BaseEntity } from "../../_base_entity";
|
|
3
|
+
export declare class PaymentModeEntity extends _BaseEntity {
|
|
4
|
+
id: string;
|
|
5
|
+
code: PaymentModeCode;
|
|
6
|
+
name: string;
|
|
7
|
+
name_kh?: string | null;
|
|
8
|
+
description?: string | null;
|
|
9
|
+
sort_order: number;
|
|
10
|
+
loading_value: number;
|
|
11
|
+
}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.PaymentModeEntity = void 0;
|
|
13
|
+
const typeorm_1 = require("typeorm");
|
|
14
|
+
const types_1 = require("../../../types");
|
|
15
|
+
const _base_entity_1 = require("../../_base_entity");
|
|
16
|
+
const utils_1 = require("../../../utils");
|
|
17
|
+
let PaymentModeEntity = class PaymentModeEntity extends _base_entity_1._BaseEntity {
|
|
18
|
+
};
|
|
19
|
+
exports.PaymentModeEntity = PaymentModeEntity;
|
|
20
|
+
__decorate([
|
|
21
|
+
(0, typeorm_1.PrimaryGeneratedColumn)("uuid"),
|
|
22
|
+
__metadata("design:type", String)
|
|
23
|
+
], PaymentModeEntity.prototype, "id", void 0);
|
|
24
|
+
__decorate([
|
|
25
|
+
(0, typeorm_1.Column)({
|
|
26
|
+
type: "varchar",
|
|
27
|
+
length: 50,
|
|
28
|
+
unique: true,
|
|
29
|
+
comment: (0, utils_1.enumToCommentString)(types_1.PaymentModeCode),
|
|
30
|
+
}),
|
|
31
|
+
__metadata("design:type", String)
|
|
32
|
+
], PaymentModeEntity.prototype, "code", void 0);
|
|
33
|
+
__decorate([
|
|
34
|
+
(0, typeorm_1.Column)({ type: "varchar", length: 255 }),
|
|
35
|
+
__metadata("design:type", String)
|
|
36
|
+
], PaymentModeEntity.prototype, "name", void 0);
|
|
37
|
+
__decorate([
|
|
38
|
+
(0, typeorm_1.Column)({ type: "varchar", length: 255, nullable: true }),
|
|
39
|
+
__metadata("design:type", Object)
|
|
40
|
+
], PaymentModeEntity.prototype, "name_kh", void 0);
|
|
41
|
+
__decorate([
|
|
42
|
+
(0, typeorm_1.Column)({ type: "text", nullable: true }),
|
|
43
|
+
__metadata("design:type", Object)
|
|
44
|
+
], PaymentModeEntity.prototype, "description", void 0);
|
|
45
|
+
__decorate([
|
|
46
|
+
(0, typeorm_1.Column)({ type: "integer", default: 1 }),
|
|
47
|
+
__metadata("design:type", Number)
|
|
48
|
+
], PaymentModeEntity.prototype, "sort_order", void 0);
|
|
49
|
+
__decorate([
|
|
50
|
+
(0, typeorm_1.Column)({ type: "numeric", precision: 18, scale: 2, nullable: true }),
|
|
51
|
+
__metadata("design:type", Number)
|
|
52
|
+
], PaymentModeEntity.prototype, "loading_value", void 0);
|
|
53
|
+
exports.PaymentModeEntity = PaymentModeEntity = __decorate([
|
|
54
|
+
(0, typeorm_1.Entity)({ schema: "core", name: "payment_modes" })
|
|
55
|
+
], PaymentModeEntity);
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { _BaseEntity } from "../../_base_entity";
|
|
2
|
+
import { RiderEntity } from "./rider.entity";
|
|
3
|
+
import { ProductEntity } from "./product.entity";
|
|
4
|
+
export declare class PremiumRateConditionEntity extends _BaseEntity {
|
|
5
|
+
id: string;
|
|
6
|
+
product_id?: string | true;
|
|
7
|
+
rider_id?: string | null;
|
|
8
|
+
use_gender: boolean;
|
|
9
|
+
use_term: boolean;
|
|
10
|
+
use_age: boolean;
|
|
11
|
+
use_occupation_class: boolean;
|
|
12
|
+
is_active: boolean;
|
|
13
|
+
product?: ProductEntity | null;
|
|
14
|
+
rider?: RiderEntity | null;
|
|
15
|
+
}
|