@admc-go-th/admc-library 1.0.129 → 1.0.132
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/appQueue-HW5J6Gb9.d.ts +162 -0
- package/{authAssignment-BAUCoEP6.d.ts → authAssignment-De3034JH.d.ts} +16 -0
- package/databases/schema/appQueue.ts +93 -3
- package/databases/schema/appReportCorruption.ts +1 -1
- package/databases/schema/appScore.ts +8 -0
- package/databases/schema/files.ts +7 -0
- package/databases/schema/formFaq.ts +126 -126
- package/databases/schema/index.ts +10 -5
- package/databases/schema/informationIndex.ts +211 -211
- package/databases/schema/informationIndexGroup.ts +103 -103
- package/databases/schema/mdBanner.ts +8 -0
- package/databases/schema/mdDownloadBk.ts +136 -136
- package/databases/schema/mdEbookGroup.ts +8 -0
- package/databases/schema/msConsultCase.ts +0 -8
- package/databases/schema/msConsultChannels.ts +14 -1
- package/databases/schema/msConsultSiteCase.ts +91 -0
- package/databases/schema/msConsultSiteIssue.ts +84 -0
- package/databases/schema/msExecutiveActing.ts +75 -0
- package/databases/schema/msExecutiveBoard.ts +82 -82
- package/databases/schema/msExecutiveBoardBk.ts +83 -0
- package/databases/schema/msExecutivePosition.ts +117 -117
- package/databases/schema/msExecutivePositionBk.ts +112 -0
- package/databases/schema/msGuidelines.ts +88 -88
- package/databases/schema/msOrganization.ts +139 -0
- package/databases/schema/msPosition.ts +76 -0
- package/databases/schema/msQueueTourFaq.ts +90 -0
- package/databases/schema/msQueueTourGuidelines.ts +90 -0
- package/databases/schema/msWebsite.ts +7 -1
- package/databases/schema/setting.ts +73 -73
- package/databases/schema/userPermissionV.ts +78 -0
- package/databases/schema/users.ts +62 -0
- package/databases/tables/appQueue.d.ts +2 -62
- package/databases/tables/appQueue.js +380 -54
- package/databases/tables/appReportCorruption.js +1 -1
- package/databases/tables/appReportCorruptionTransaction.js +1 -1
- package/databases/tables/appScore.d.ts +2 -0
- package/databases/tables/appScore.js +7 -0
- package/databases/tables/authAssignment.d.ts +1 -1
- package/databases/tables/authAssignment.js +54 -0
- package/databases/tables/authRole.d.ts +1 -1
- package/databases/tables/authRole.js +54 -0
- package/databases/tables/authRoleChild.d.ts +1 -1
- package/databases/tables/authRoleChild.js +54 -0
- package/databases/tables/files.d.ts +1 -1
- package/databases/tables/files.js +13 -0
- package/databases/tables/index.d.ts +15 -11
- package/databases/tables/index.js +4440 -3810
- package/databases/tables/mdBanner.d.ts +1 -1
- package/databases/tables/mdBanner.js +13 -0
- package/databases/tables/mdContent.d.ts +1 -1
- package/databases/tables/mdContent.js +54 -0
- package/databases/tables/mdContentGroup.d.ts +1 -1
- package/databases/tables/mdContentGroup.js +54 -0
- package/databases/tables/mdEbook.d.ts +1 -1
- package/databases/tables/mdEbook.js +7 -0
- package/databases/tables/mdEbookGroup.d.ts +1 -1
- package/databases/tables/mdEbookGroup.js +7 -0
- package/databases/tables/mdQuestionnaire.d.ts +1 -1
- package/databases/tables/mdQuestionnaire.js +54 -0
- package/databases/tables/mdQuestionnaireData.d.ts +1 -1
- package/databases/tables/mdQuestionnaireData.js +54 -0
- package/databases/tables/msConsultCase.d.ts +0 -2
- package/databases/tables/msConsultCase.js +0 -7
- package/databases/tables/msConsultChannels.d.ts +2 -24
- package/databases/tables/msConsultChannels.js +469 -13
- package/databases/tables/msConsultSiteCase.d.ts +28 -0
- package/databases/tables/msConsultSiteCase.js +113 -0
- package/databases/tables/msConsultSiteIssue.d.ts +26 -0
- package/databases/tables/msConsultSiteIssue.js +107 -0
- package/databases/tables/msExecutiveActing.d.ts +24 -0
- package/databases/tables/msExecutiveActing.js +99 -0
- package/databases/tables/msExecutiveBoardBk.d.ts +26 -0
- package/databases/tables/msExecutiveBoardBk.js +106 -0
- package/databases/tables/msExecutivePositionBk.d.ts +34 -0
- package/databases/tables/msExecutivePositionBk.js +131 -0
- package/databases/tables/msOrganization.d.ts +40 -0
- package/databases/tables/msOrganization.js +155 -0
- package/databases/tables/msPosition.d.ts +24 -0
- package/databases/tables/msPosition.js +100 -0
- package/databases/tables/msQueueTourFaq.d.ts +28 -0
- package/databases/tables/msQueueTourFaq.js +112 -0
- package/databases/tables/msQueueTourGuidelines.d.ts +28 -0
- package/databases/tables/msQueueTourGuidelines.js +112 -0
- package/databases/tables/msWebsite.d.ts +2 -56
- package/databases/tables/msWebsite.js +400 -46
- package/databases/tables/userPermissionV.d.ts +26 -0
- package/databases/tables/userPermissionV.js +101 -0
- package/databases/tables/users.d.ts +1 -1
- package/databases/tables/users.js +54 -0
- package/databases/tables/usersVerify.d.ts +1 -1
- package/databases/tables/usersVerify.js +54 -0
- package/{files-Dp2zDQAj.d.ts → files-CXIMD4Bk.d.ts} +4 -0
- package/{mdEbook-yzNQjFhx.d.ts → mdEbook-DVvRlFVe.d.ts} +2 -0
- package/package.json +1 -1
|
@@ -1,83 +1,83 @@
|
|
|
1
|
-
import {
|
|
2
|
-
Model, Table, Column, DataType, Index, Sequelize, ForeignKey
|
|
3
|
-
} from "sequelize-typescript";
|
|
4
|
-
|
|
5
|
-
export interface msExecutiveBoardAttributes {
|
|
6
|
-
id?: number;
|
|
7
|
-
name?: string;
|
|
8
|
-
nameInfo?: object;
|
|
9
|
-
sort?: string;
|
|
10
|
-
status?: string;
|
|
11
|
-
createdBy?: string;
|
|
12
|
-
createdDate?: Date;
|
|
13
|
-
updatedBy?: string;
|
|
14
|
-
updatedDate?: Date;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
@Table({
|
|
18
|
-
tableName: "ms_executive_board",
|
|
19
|
-
timestamps: false
|
|
20
|
-
})
|
|
21
|
-
export class msExecutiveBoard extends Model<msExecutiveBoardAttributes, msExecutiveBoardAttributes> implements msExecutiveBoardAttributes {
|
|
22
|
-
|
|
23
|
-
@Column({
|
|
24
|
-
primaryKey: true,
|
|
25
|
-
autoIncrement: true,
|
|
26
|
-
type: DataType.INTEGER
|
|
27
|
-
})
|
|
28
|
-
declare id?: number;
|
|
29
|
-
|
|
30
|
-
@Column({
|
|
31
|
-
allowNull: true,
|
|
32
|
-
type: DataType.STRING(255)
|
|
33
|
-
})
|
|
34
|
-
declare name?: string;
|
|
35
|
-
|
|
36
|
-
@Column({
|
|
37
|
-
field: "name_info",
|
|
38
|
-
allowNull: true,
|
|
39
|
-
type: DataType.JSON
|
|
40
|
-
})
|
|
41
|
-
declare nameInfo?: object;
|
|
42
|
-
|
|
43
|
-
@Column({
|
|
44
|
-
allowNull: true,
|
|
45
|
-
type: DataType.STRING(255)
|
|
46
|
-
})
|
|
47
|
-
declare sort?: string;
|
|
48
|
-
|
|
49
|
-
@Column({
|
|
50
|
-
allowNull: true,
|
|
51
|
-
type: DataType.STRING(255)
|
|
52
|
-
})
|
|
53
|
-
declare status?: string;
|
|
54
|
-
|
|
55
|
-
@Column({
|
|
56
|
-
field: "created_by",
|
|
57
|
-
allowNull: true,
|
|
58
|
-
type: DataType.STRING(60)
|
|
59
|
-
})
|
|
60
|
-
declare createdBy?: string;
|
|
61
|
-
|
|
62
|
-
@Column({
|
|
63
|
-
field: "created_date",
|
|
64
|
-
allowNull: true,
|
|
65
|
-
type: DataType.DATE
|
|
66
|
-
})
|
|
67
|
-
declare createdDate?: Date;
|
|
68
|
-
|
|
69
|
-
@Column({
|
|
70
|
-
field: "updated_by",
|
|
71
|
-
allowNull: true,
|
|
72
|
-
type: DataType.STRING(60)
|
|
73
|
-
})
|
|
74
|
-
declare updatedBy?: string;
|
|
75
|
-
|
|
76
|
-
@Column({
|
|
77
|
-
field: "updated_date",
|
|
78
|
-
allowNull: true,
|
|
79
|
-
type: DataType.DATE
|
|
80
|
-
})
|
|
81
|
-
declare updatedDate?: Date;
|
|
82
|
-
|
|
1
|
+
import {
|
|
2
|
+
Model, Table, Column, DataType, Index, Sequelize, ForeignKey
|
|
3
|
+
} from "sequelize-typescript";
|
|
4
|
+
|
|
5
|
+
export interface msExecutiveBoardAttributes {
|
|
6
|
+
id?: number;
|
|
7
|
+
name?: string;
|
|
8
|
+
nameInfo?: object;
|
|
9
|
+
sort?: string;
|
|
10
|
+
status?: string;
|
|
11
|
+
createdBy?: string;
|
|
12
|
+
createdDate?: Date;
|
|
13
|
+
updatedBy?: string;
|
|
14
|
+
updatedDate?: Date;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
@Table({
|
|
18
|
+
tableName: "ms_executive_board",
|
|
19
|
+
timestamps: false
|
|
20
|
+
})
|
|
21
|
+
export class msExecutiveBoard extends Model<msExecutiveBoardAttributes, msExecutiveBoardAttributes> implements msExecutiveBoardAttributes {
|
|
22
|
+
|
|
23
|
+
@Column({
|
|
24
|
+
primaryKey: true,
|
|
25
|
+
autoIncrement: true,
|
|
26
|
+
type: DataType.INTEGER
|
|
27
|
+
})
|
|
28
|
+
declare id?: number;
|
|
29
|
+
|
|
30
|
+
@Column({
|
|
31
|
+
allowNull: true,
|
|
32
|
+
type: DataType.STRING(255)
|
|
33
|
+
})
|
|
34
|
+
declare name?: string;
|
|
35
|
+
|
|
36
|
+
@Column({
|
|
37
|
+
field: "name_info",
|
|
38
|
+
allowNull: true,
|
|
39
|
+
type: DataType.JSON
|
|
40
|
+
})
|
|
41
|
+
declare nameInfo?: object;
|
|
42
|
+
|
|
43
|
+
@Column({
|
|
44
|
+
allowNull: true,
|
|
45
|
+
type: DataType.STRING(255)
|
|
46
|
+
})
|
|
47
|
+
declare sort?: string;
|
|
48
|
+
|
|
49
|
+
@Column({
|
|
50
|
+
allowNull: true,
|
|
51
|
+
type: DataType.STRING(255)
|
|
52
|
+
})
|
|
53
|
+
declare status?: string;
|
|
54
|
+
|
|
55
|
+
@Column({
|
|
56
|
+
field: "created_by",
|
|
57
|
+
allowNull: true,
|
|
58
|
+
type: DataType.STRING(60)
|
|
59
|
+
})
|
|
60
|
+
declare createdBy?: string;
|
|
61
|
+
|
|
62
|
+
@Column({
|
|
63
|
+
field: "created_date",
|
|
64
|
+
allowNull: true,
|
|
65
|
+
type: DataType.DATE
|
|
66
|
+
})
|
|
67
|
+
declare createdDate?: Date;
|
|
68
|
+
|
|
69
|
+
@Column({
|
|
70
|
+
field: "updated_by",
|
|
71
|
+
allowNull: true,
|
|
72
|
+
type: DataType.STRING(60)
|
|
73
|
+
})
|
|
74
|
+
declare updatedBy?: string;
|
|
75
|
+
|
|
76
|
+
@Column({
|
|
77
|
+
field: "updated_date",
|
|
78
|
+
allowNull: true,
|
|
79
|
+
type: DataType.DATE
|
|
80
|
+
})
|
|
81
|
+
declare updatedDate?: Date;
|
|
82
|
+
|
|
83
83
|
}
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Model, Table, Column, DataType, Index, Sequelize, ForeignKey
|
|
3
|
+
} from "sequelize-typescript";
|
|
4
|
+
|
|
5
|
+
export interface msExecutiveBoardBkAttributes {
|
|
6
|
+
id?: number;
|
|
7
|
+
name?: string;
|
|
8
|
+
nameInfo?: object;
|
|
9
|
+
sort?: string;
|
|
10
|
+
status?: string;
|
|
11
|
+
createdBy?: string;
|
|
12
|
+
createdDate?: Date;
|
|
13
|
+
updatedBy?: string;
|
|
14
|
+
updatedDate?: Date;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
@Table({
|
|
18
|
+
tableName: "ms_executive_board@bk",
|
|
19
|
+
timestamps: false
|
|
20
|
+
})
|
|
21
|
+
export class msExecutiveBoardBk extends Model<msExecutiveBoardBkAttributes, msExecutiveBoardBkAttributes> implements msExecutiveBoardBkAttributes {
|
|
22
|
+
|
|
23
|
+
@Column({
|
|
24
|
+
primaryKey: true,
|
|
25
|
+
autoIncrement: true,
|
|
26
|
+
type: DataType.INTEGER
|
|
27
|
+
})
|
|
28
|
+
declare id?: number;
|
|
29
|
+
|
|
30
|
+
@Column({
|
|
31
|
+
allowNull: true,
|
|
32
|
+
type: DataType.STRING(255)
|
|
33
|
+
})
|
|
34
|
+
declare name?: string;
|
|
35
|
+
|
|
36
|
+
@Column({
|
|
37
|
+
field: "name_info",
|
|
38
|
+
allowNull: true,
|
|
39
|
+
type: DataType.JSON
|
|
40
|
+
})
|
|
41
|
+
declare nameInfo?: object;
|
|
42
|
+
|
|
43
|
+
@Column({
|
|
44
|
+
allowNull: true,
|
|
45
|
+
type: DataType.STRING(255)
|
|
46
|
+
})
|
|
47
|
+
declare sort?: string;
|
|
48
|
+
|
|
49
|
+
@Column({
|
|
50
|
+
allowNull: true,
|
|
51
|
+
type: DataType.STRING(255)
|
|
52
|
+
})
|
|
53
|
+
declare status?: string;
|
|
54
|
+
|
|
55
|
+
@Column({
|
|
56
|
+
field: "created_by",
|
|
57
|
+
allowNull: true,
|
|
58
|
+
type: DataType.STRING(60)
|
|
59
|
+
})
|
|
60
|
+
declare createdBy?: string;
|
|
61
|
+
|
|
62
|
+
@Column({
|
|
63
|
+
field: "created_date",
|
|
64
|
+
allowNull: true,
|
|
65
|
+
type: DataType.DATE
|
|
66
|
+
})
|
|
67
|
+
declare createdDate?: Date;
|
|
68
|
+
|
|
69
|
+
@Column({
|
|
70
|
+
field: "updated_by",
|
|
71
|
+
allowNull: true,
|
|
72
|
+
type: DataType.STRING(60)
|
|
73
|
+
})
|
|
74
|
+
declare updatedBy?: string;
|
|
75
|
+
|
|
76
|
+
@Column({
|
|
77
|
+
field: "updated_date",
|
|
78
|
+
allowNull: true,
|
|
79
|
+
type: DataType.DATE
|
|
80
|
+
})
|
|
81
|
+
declare updatedDate?: Date;
|
|
82
|
+
|
|
83
|
+
}
|
|
@@ -1,118 +1,118 @@
|
|
|
1
|
-
import {
|
|
2
|
-
Model, Table, Column, DataType, Index, Sequelize, ForeignKey, HasMany
|
|
3
|
-
} from "sequelize-typescript";
|
|
4
|
-
import { msExecutive } from "./msExecutive";
|
|
5
|
-
|
|
6
|
-
export interface msExecutivePositionAttributes {
|
|
7
|
-
id?: number;
|
|
8
|
-
groupId?: number;
|
|
9
|
-
name?: string;
|
|
10
|
-
description?: string;
|
|
11
|
-
updatedInfo?: string;
|
|
12
|
-
remark?: string;
|
|
13
|
-
sort?: number;
|
|
14
|
-
status?: number;
|
|
15
|
-
info?: object;
|
|
16
|
-
createdBy?: string;
|
|
17
|
-
createdDate?: Date;
|
|
18
|
-
updatedBy?: string;
|
|
19
|
-
updatedDate?: Date;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
@Table({
|
|
23
|
-
tableName: "ms_executive_position",
|
|
24
|
-
timestamps: false
|
|
25
|
-
})
|
|
26
|
-
export class msExecutivePosition extends Model<msExecutivePositionAttributes, msExecutivePositionAttributes> implements msExecutivePositionAttributes {
|
|
27
|
-
|
|
28
|
-
@Column({
|
|
29
|
-
primaryKey: true,
|
|
30
|
-
autoIncrement: true,
|
|
31
|
-
type: DataType.INTEGER
|
|
32
|
-
})
|
|
33
|
-
declare id?: number;
|
|
34
|
-
|
|
35
|
-
@Column({
|
|
36
|
-
field: "group_id",
|
|
37
|
-
allowNull: true,
|
|
38
|
-
type: DataType.INTEGER
|
|
39
|
-
})
|
|
40
|
-
declare groupId?: number;
|
|
41
|
-
|
|
42
|
-
@Column({
|
|
43
|
-
allowNull: true,
|
|
44
|
-
type: DataType.STRING(255)
|
|
45
|
-
})
|
|
46
|
-
declare name?: string;
|
|
47
|
-
|
|
48
|
-
@Column({
|
|
49
|
-
allowNull: true,
|
|
50
|
-
type: DataType.STRING(255)
|
|
51
|
-
})
|
|
52
|
-
declare description?: string;
|
|
53
|
-
|
|
54
|
-
@Column({
|
|
55
|
-
field: "updated_info",
|
|
56
|
-
allowNull: true,
|
|
57
|
-
type: DataType.STRING(255)
|
|
58
|
-
})
|
|
59
|
-
declare updatedInfo?: string;
|
|
60
|
-
|
|
61
|
-
@Column({
|
|
62
|
-
allowNull: true,
|
|
63
|
-
type: DataType.STRING
|
|
64
|
-
})
|
|
65
|
-
declare remark?: string;
|
|
66
|
-
|
|
67
|
-
@Column({
|
|
68
|
-
allowNull: true,
|
|
69
|
-
type: DataType.INTEGER
|
|
70
|
-
})
|
|
71
|
-
declare sort?: number;
|
|
72
|
-
|
|
73
|
-
@Column({
|
|
74
|
-
allowNull: true,
|
|
75
|
-
type: DataType.INTEGER
|
|
76
|
-
})
|
|
77
|
-
declare status?: number;
|
|
78
|
-
|
|
79
|
-
@Column({
|
|
80
|
-
allowNull: true,
|
|
81
|
-
type: DataType.JSON
|
|
82
|
-
})
|
|
83
|
-
declare info?: object;
|
|
84
|
-
|
|
85
|
-
@Column({
|
|
86
|
-
field: "created_by",
|
|
87
|
-
allowNull: true,
|
|
88
|
-
type: DataType.STRING(60)
|
|
89
|
-
})
|
|
90
|
-
declare createdBy?: string;
|
|
91
|
-
|
|
92
|
-
@Column({
|
|
93
|
-
field: "created_date",
|
|
94
|
-
allowNull: true,
|
|
95
|
-
type: DataType.DATE
|
|
96
|
-
})
|
|
97
|
-
declare createdDate?: Date;
|
|
98
|
-
|
|
99
|
-
@Column({
|
|
100
|
-
field: "updated_by",
|
|
101
|
-
allowNull: true,
|
|
102
|
-
type: DataType.STRING(60)
|
|
103
|
-
})
|
|
104
|
-
declare updatedBy?: string;
|
|
105
|
-
|
|
106
|
-
@Column({
|
|
107
|
-
field: "updated_date",
|
|
108
|
-
allowNull: true,
|
|
109
|
-
type: DataType.DATE
|
|
110
|
-
})
|
|
111
|
-
declare updatedDate?: Date;
|
|
112
|
-
|
|
113
|
-
@HasMany(() => msExecutive, {
|
|
114
|
-
sourceKey: "id"
|
|
115
|
-
})
|
|
116
|
-
declare msExecutives?: msExecutive[];
|
|
117
|
-
|
|
1
|
+
import {
|
|
2
|
+
Model, Table, Column, DataType, Index, Sequelize, ForeignKey, HasMany
|
|
3
|
+
} from "sequelize-typescript";
|
|
4
|
+
import { msExecutive } from "./msExecutive";
|
|
5
|
+
|
|
6
|
+
export interface msExecutivePositionAttributes {
|
|
7
|
+
id?: number;
|
|
8
|
+
groupId?: number;
|
|
9
|
+
name?: string;
|
|
10
|
+
description?: string;
|
|
11
|
+
updatedInfo?: string;
|
|
12
|
+
remark?: string;
|
|
13
|
+
sort?: number;
|
|
14
|
+
status?: number;
|
|
15
|
+
info?: object;
|
|
16
|
+
createdBy?: string;
|
|
17
|
+
createdDate?: Date;
|
|
18
|
+
updatedBy?: string;
|
|
19
|
+
updatedDate?: Date;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
@Table({
|
|
23
|
+
tableName: "ms_executive_position",
|
|
24
|
+
timestamps: false
|
|
25
|
+
})
|
|
26
|
+
export class msExecutivePosition extends Model<msExecutivePositionAttributes, msExecutivePositionAttributes> implements msExecutivePositionAttributes {
|
|
27
|
+
|
|
28
|
+
@Column({
|
|
29
|
+
primaryKey: true,
|
|
30
|
+
autoIncrement: true,
|
|
31
|
+
type: DataType.INTEGER
|
|
32
|
+
})
|
|
33
|
+
declare id?: number;
|
|
34
|
+
|
|
35
|
+
@Column({
|
|
36
|
+
field: "group_id",
|
|
37
|
+
allowNull: true,
|
|
38
|
+
type: DataType.INTEGER
|
|
39
|
+
})
|
|
40
|
+
declare groupId?: number;
|
|
41
|
+
|
|
42
|
+
@Column({
|
|
43
|
+
allowNull: true,
|
|
44
|
+
type: DataType.STRING(255)
|
|
45
|
+
})
|
|
46
|
+
declare name?: string;
|
|
47
|
+
|
|
48
|
+
@Column({
|
|
49
|
+
allowNull: true,
|
|
50
|
+
type: DataType.STRING(255)
|
|
51
|
+
})
|
|
52
|
+
declare description?: string;
|
|
53
|
+
|
|
54
|
+
@Column({
|
|
55
|
+
field: "updated_info",
|
|
56
|
+
allowNull: true,
|
|
57
|
+
type: DataType.STRING(255)
|
|
58
|
+
})
|
|
59
|
+
declare updatedInfo?: string;
|
|
60
|
+
|
|
61
|
+
@Column({
|
|
62
|
+
allowNull: true,
|
|
63
|
+
type: DataType.STRING
|
|
64
|
+
})
|
|
65
|
+
declare remark?: string;
|
|
66
|
+
|
|
67
|
+
@Column({
|
|
68
|
+
allowNull: true,
|
|
69
|
+
type: DataType.INTEGER
|
|
70
|
+
})
|
|
71
|
+
declare sort?: number;
|
|
72
|
+
|
|
73
|
+
@Column({
|
|
74
|
+
allowNull: true,
|
|
75
|
+
type: DataType.INTEGER
|
|
76
|
+
})
|
|
77
|
+
declare status?: number;
|
|
78
|
+
|
|
79
|
+
@Column({
|
|
80
|
+
allowNull: true,
|
|
81
|
+
type: DataType.JSON
|
|
82
|
+
})
|
|
83
|
+
declare info?: object;
|
|
84
|
+
|
|
85
|
+
@Column({
|
|
86
|
+
field: "created_by",
|
|
87
|
+
allowNull: true,
|
|
88
|
+
type: DataType.STRING(60)
|
|
89
|
+
})
|
|
90
|
+
declare createdBy?: string;
|
|
91
|
+
|
|
92
|
+
@Column({
|
|
93
|
+
field: "created_date",
|
|
94
|
+
allowNull: true,
|
|
95
|
+
type: DataType.DATE
|
|
96
|
+
})
|
|
97
|
+
declare createdDate?: Date;
|
|
98
|
+
|
|
99
|
+
@Column({
|
|
100
|
+
field: "updated_by",
|
|
101
|
+
allowNull: true,
|
|
102
|
+
type: DataType.STRING(60)
|
|
103
|
+
})
|
|
104
|
+
declare updatedBy?: string;
|
|
105
|
+
|
|
106
|
+
@Column({
|
|
107
|
+
field: "updated_date",
|
|
108
|
+
allowNull: true,
|
|
109
|
+
type: DataType.DATE
|
|
110
|
+
})
|
|
111
|
+
declare updatedDate?: Date;
|
|
112
|
+
|
|
113
|
+
@HasMany(() => msExecutive, {
|
|
114
|
+
sourceKey: "id"
|
|
115
|
+
})
|
|
116
|
+
declare msExecutives?: msExecutive[];
|
|
117
|
+
|
|
118
118
|
}
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Model, Table, Column, DataType, Index, Sequelize, ForeignKey
|
|
3
|
+
} from "sequelize-typescript";
|
|
4
|
+
|
|
5
|
+
export interface msExecutivePositionBkAttributes {
|
|
6
|
+
id?: number;
|
|
7
|
+
groupId?: number;
|
|
8
|
+
name?: string;
|
|
9
|
+
description?: string;
|
|
10
|
+
updatedInfo?: string;
|
|
11
|
+
remark?: string;
|
|
12
|
+
sort?: number;
|
|
13
|
+
status?: number;
|
|
14
|
+
info?: object;
|
|
15
|
+
createdBy?: string;
|
|
16
|
+
createdDate?: Date;
|
|
17
|
+
updatedBy?: string;
|
|
18
|
+
updatedDate?: Date;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
@Table({
|
|
22
|
+
tableName: "ms_executive_position@bk",
|
|
23
|
+
timestamps: false
|
|
24
|
+
})
|
|
25
|
+
export class msExecutivePositionBk extends Model<msExecutivePositionBkAttributes, msExecutivePositionBkAttributes> implements msExecutivePositionBkAttributes {
|
|
26
|
+
|
|
27
|
+
@Column({
|
|
28
|
+
primaryKey: true,
|
|
29
|
+
autoIncrement: true,
|
|
30
|
+
type: DataType.INTEGER
|
|
31
|
+
})
|
|
32
|
+
declare id?: number;
|
|
33
|
+
|
|
34
|
+
@Column({
|
|
35
|
+
field: "group_id",
|
|
36
|
+
allowNull: true,
|
|
37
|
+
type: DataType.INTEGER
|
|
38
|
+
})
|
|
39
|
+
declare groupId?: number;
|
|
40
|
+
|
|
41
|
+
@Column({
|
|
42
|
+
allowNull: true,
|
|
43
|
+
type: DataType.STRING(255)
|
|
44
|
+
})
|
|
45
|
+
declare name?: string;
|
|
46
|
+
|
|
47
|
+
@Column({
|
|
48
|
+
allowNull: true,
|
|
49
|
+
type: DataType.STRING(255)
|
|
50
|
+
})
|
|
51
|
+
declare description?: string;
|
|
52
|
+
|
|
53
|
+
@Column({
|
|
54
|
+
field: "updated_info",
|
|
55
|
+
allowNull: true,
|
|
56
|
+
type: DataType.STRING(255)
|
|
57
|
+
})
|
|
58
|
+
declare updatedInfo?: string;
|
|
59
|
+
|
|
60
|
+
@Column({
|
|
61
|
+
allowNull: true,
|
|
62
|
+
type: DataType.STRING
|
|
63
|
+
})
|
|
64
|
+
declare remark?: string;
|
|
65
|
+
|
|
66
|
+
@Column({
|
|
67
|
+
allowNull: true,
|
|
68
|
+
type: DataType.INTEGER
|
|
69
|
+
})
|
|
70
|
+
declare sort?: number;
|
|
71
|
+
|
|
72
|
+
@Column({
|
|
73
|
+
allowNull: true,
|
|
74
|
+
type: DataType.INTEGER
|
|
75
|
+
})
|
|
76
|
+
declare status?: number;
|
|
77
|
+
|
|
78
|
+
@Column({
|
|
79
|
+
allowNull: true,
|
|
80
|
+
type: DataType.JSON
|
|
81
|
+
})
|
|
82
|
+
declare info?: object;
|
|
83
|
+
|
|
84
|
+
@Column({
|
|
85
|
+
field: "created_by",
|
|
86
|
+
allowNull: true,
|
|
87
|
+
type: DataType.STRING(60)
|
|
88
|
+
})
|
|
89
|
+
declare createdBy?: string;
|
|
90
|
+
|
|
91
|
+
@Column({
|
|
92
|
+
field: "created_date",
|
|
93
|
+
allowNull: true,
|
|
94
|
+
type: DataType.DATE
|
|
95
|
+
})
|
|
96
|
+
declare createdDate?: Date;
|
|
97
|
+
|
|
98
|
+
@Column({
|
|
99
|
+
field: "updated_by",
|
|
100
|
+
allowNull: true,
|
|
101
|
+
type: DataType.STRING(60)
|
|
102
|
+
})
|
|
103
|
+
declare updatedBy?: string;
|
|
104
|
+
|
|
105
|
+
@Column({
|
|
106
|
+
field: "updated_date",
|
|
107
|
+
allowNull: true,
|
|
108
|
+
type: DataType.DATE
|
|
109
|
+
})
|
|
110
|
+
declare updatedDate?: Date;
|
|
111
|
+
|
|
112
|
+
}
|