@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
|
@@ -0,0 +1,162 @@
|
|
|
1
|
+
import { Model } from 'sequelize-typescript';
|
|
2
|
+
|
|
3
|
+
interface msWebsiteAttributes {
|
|
4
|
+
id?: number;
|
|
5
|
+
code?: string;
|
|
6
|
+
uuid?: string;
|
|
7
|
+
name?: string;
|
|
8
|
+
description?: string;
|
|
9
|
+
url?: string;
|
|
10
|
+
layout?: number;
|
|
11
|
+
type?: number;
|
|
12
|
+
status?: number;
|
|
13
|
+
region?: string;
|
|
14
|
+
sort?: number;
|
|
15
|
+
image?: string;
|
|
16
|
+
address?: string;
|
|
17
|
+
phone?: string;
|
|
18
|
+
fax?: string;
|
|
19
|
+
office?: string;
|
|
20
|
+
opened?: string;
|
|
21
|
+
latitude?: string;
|
|
22
|
+
longitude?: string;
|
|
23
|
+
info?: object;
|
|
24
|
+
createdBy?: string;
|
|
25
|
+
createdDate?: Date;
|
|
26
|
+
updatedBy?: string;
|
|
27
|
+
updatedDate?: Date;
|
|
28
|
+
}
|
|
29
|
+
declare class msWebsite extends Model<msWebsiteAttributes, msWebsiteAttributes> implements msWebsiteAttributes {
|
|
30
|
+
id?: number;
|
|
31
|
+
code?: string;
|
|
32
|
+
uuid?: string;
|
|
33
|
+
name?: string;
|
|
34
|
+
description?: string;
|
|
35
|
+
url?: string;
|
|
36
|
+
layout?: number;
|
|
37
|
+
type?: number;
|
|
38
|
+
status?: number;
|
|
39
|
+
region?: string;
|
|
40
|
+
sort?: number;
|
|
41
|
+
image?: string;
|
|
42
|
+
address?: string;
|
|
43
|
+
phone?: string;
|
|
44
|
+
fax?: string;
|
|
45
|
+
office?: string;
|
|
46
|
+
opened?: string;
|
|
47
|
+
latitude?: string;
|
|
48
|
+
longitude?: string;
|
|
49
|
+
info?: object;
|
|
50
|
+
createdBy?: string;
|
|
51
|
+
createdDate?: Date;
|
|
52
|
+
updatedBy?: string;
|
|
53
|
+
updatedDate?: Date;
|
|
54
|
+
appQueues?: appQueue[];
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
interface msConsultChannelsAttributes {
|
|
58
|
+
id?: number;
|
|
59
|
+
name?: string;
|
|
60
|
+
sort?: number;
|
|
61
|
+
message?: string;
|
|
62
|
+
status?: number;
|
|
63
|
+
createdBy?: string;
|
|
64
|
+
createdDate?: Date;
|
|
65
|
+
updatedBy?: string;
|
|
66
|
+
updatedDate?: Date;
|
|
67
|
+
}
|
|
68
|
+
declare class msConsultChannels extends Model<msConsultChannelsAttributes, msConsultChannelsAttributes> implements msConsultChannelsAttributes {
|
|
69
|
+
id?: number;
|
|
70
|
+
name?: string;
|
|
71
|
+
sort?: number;
|
|
72
|
+
message?: string;
|
|
73
|
+
status?: number;
|
|
74
|
+
createdBy?: string;
|
|
75
|
+
createdDate?: Date;
|
|
76
|
+
updatedBy?: string;
|
|
77
|
+
updatedDate?: Date;
|
|
78
|
+
appQueues?: appQueue[];
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
interface appQueueAttributes {
|
|
82
|
+
id?: number;
|
|
83
|
+
uuid?: string;
|
|
84
|
+
code?: string;
|
|
85
|
+
siteId?: number;
|
|
86
|
+
requestDate?: string;
|
|
87
|
+
requestFrom?: string;
|
|
88
|
+
requestTo?: string;
|
|
89
|
+
approveDate?: string;
|
|
90
|
+
timeSlot?: number;
|
|
91
|
+
fullName?: string;
|
|
92
|
+
residence?: number;
|
|
93
|
+
occupation?: number;
|
|
94
|
+
phoneNumber?: string;
|
|
95
|
+
email?: string;
|
|
96
|
+
lineId?: string;
|
|
97
|
+
consultChannel?: number;
|
|
98
|
+
consultTopic?: number;
|
|
99
|
+
consultTopicOther?: string;
|
|
100
|
+
blackCaseNumber?: string;
|
|
101
|
+
redCaseNumber?: string;
|
|
102
|
+
issues?: string;
|
|
103
|
+
attachments?: object;
|
|
104
|
+
ipAddress?: string;
|
|
105
|
+
status?: number;
|
|
106
|
+
caseTypeId?: number;
|
|
107
|
+
caseSectionId?: number;
|
|
108
|
+
caseSectionOther?: string;
|
|
109
|
+
caseJurisdiction?: number;
|
|
110
|
+
staffId?: number;
|
|
111
|
+
staffChannelId?: number;
|
|
112
|
+
staffChannel?: object;
|
|
113
|
+
staffIssues?: string;
|
|
114
|
+
staffNote?: string;
|
|
115
|
+
createdBy?: string;
|
|
116
|
+
createdDate?: Date;
|
|
117
|
+
updatedBy?: string;
|
|
118
|
+
updatedDate?: Date;
|
|
119
|
+
}
|
|
120
|
+
declare class appQueue extends Model<appQueueAttributes, appQueueAttributes> implements appQueueAttributes {
|
|
121
|
+
id?: number;
|
|
122
|
+
uuid?: string;
|
|
123
|
+
code?: string;
|
|
124
|
+
siteId?: number;
|
|
125
|
+
requestDate?: string;
|
|
126
|
+
requestFrom?: string;
|
|
127
|
+
requestTo?: string;
|
|
128
|
+
approveDate?: string;
|
|
129
|
+
timeSlot?: number;
|
|
130
|
+
fullName?: string;
|
|
131
|
+
residence?: number;
|
|
132
|
+
occupation?: number;
|
|
133
|
+
phoneNumber?: string;
|
|
134
|
+
email?: string;
|
|
135
|
+
lineId?: string;
|
|
136
|
+
consultChannel?: number;
|
|
137
|
+
consultTopic?: number;
|
|
138
|
+
consultTopicOther?: string;
|
|
139
|
+
blackCaseNumber?: string;
|
|
140
|
+
redCaseNumber?: string;
|
|
141
|
+
issues?: string;
|
|
142
|
+
attachments?: object;
|
|
143
|
+
ipAddress?: string;
|
|
144
|
+
status?: number;
|
|
145
|
+
caseTypeId?: number;
|
|
146
|
+
caseSectionId?: number;
|
|
147
|
+
caseSectionOther?: string;
|
|
148
|
+
caseJurisdiction?: number;
|
|
149
|
+
staffId?: number;
|
|
150
|
+
staffChannelId?: number;
|
|
151
|
+
staffChannel?: object;
|
|
152
|
+
staffIssues?: string;
|
|
153
|
+
staffNote?: string;
|
|
154
|
+
createdBy?: string;
|
|
155
|
+
createdDate?: Date;
|
|
156
|
+
updatedBy?: string;
|
|
157
|
+
updatedDate?: Date;
|
|
158
|
+
msWebsite?: msWebsite;
|
|
159
|
+
msConsultChannel?: msConsultChannels;
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
export { type appQueueAttributes as a, appQueue as b, msConsultChannels as c, type msWebsiteAttributes as d, msWebsite as e, type msConsultChannelsAttributes as m };
|
|
@@ -191,9 +191,17 @@ interface usersAttributes {
|
|
|
191
191
|
userAuthen?: string;
|
|
192
192
|
userType?: number;
|
|
193
193
|
prefix?: string;
|
|
194
|
+
prefixId?: number;
|
|
194
195
|
firstName?: string;
|
|
195
196
|
lastName?: string;
|
|
197
|
+
firstNameEn?: string;
|
|
198
|
+
lastNameEn?: string;
|
|
196
199
|
phone?: string;
|
|
200
|
+
organizationId?: number;
|
|
201
|
+
occupation?: string;
|
|
202
|
+
position?: string;
|
|
203
|
+
positionId?: number;
|
|
204
|
+
genderCode?: string;
|
|
197
205
|
status?: number;
|
|
198
206
|
is_2fa?: number;
|
|
199
207
|
createdBy?: string;
|
|
@@ -220,9 +228,17 @@ declare class users extends Model<usersAttributes, usersAttributes> implements u
|
|
|
220
228
|
userAuthen?: string;
|
|
221
229
|
userType?: number;
|
|
222
230
|
prefix?: string;
|
|
231
|
+
prefixId?: number;
|
|
223
232
|
firstName?: string;
|
|
224
233
|
lastName?: string;
|
|
234
|
+
firstNameEn?: string;
|
|
235
|
+
lastNameEn?: string;
|
|
225
236
|
phone?: string;
|
|
237
|
+
organizationId?: number;
|
|
238
|
+
occupation?: string;
|
|
239
|
+
position?: string;
|
|
240
|
+
positionId?: number;
|
|
241
|
+
genderCode?: string;
|
|
226
242
|
status?: number;
|
|
227
243
|
is_2fa?: number;
|
|
228
244
|
createdBy?: string;
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
|
-
Model, Table, Column, DataType, Index, Sequelize, ForeignKey
|
|
2
|
+
Model, Table, Column, DataType, Index, Sequelize, ForeignKey, BelongsTo
|
|
3
3
|
} from "sequelize-typescript";
|
|
4
|
+
import { msWebsite } from "./msWebsite";
|
|
5
|
+
import { msConsultChannels } from "./msConsultChannels";
|
|
4
6
|
|
|
5
7
|
export interface appQueueAttributes {
|
|
6
8
|
id?: number;
|
|
@@ -8,6 +10,8 @@ export interface appQueueAttributes {
|
|
|
8
10
|
code?: string;
|
|
9
11
|
siteId?: number;
|
|
10
12
|
requestDate?: string;
|
|
13
|
+
requestFrom?: string;
|
|
14
|
+
requestTo?: string;
|
|
11
15
|
approveDate?: string;
|
|
12
16
|
timeSlot?: number;
|
|
13
17
|
fullName?: string;
|
|
@@ -24,8 +28,16 @@ export interface appQueueAttributes {
|
|
|
24
28
|
issues?: string;
|
|
25
29
|
attachments?: object;
|
|
26
30
|
ipAddress?: string;
|
|
27
|
-
staffId?: number;
|
|
28
31
|
status?: number;
|
|
32
|
+
caseTypeId?: number;
|
|
33
|
+
caseSectionId?: number;
|
|
34
|
+
caseSectionOther?: string;
|
|
35
|
+
caseJurisdiction?: number;
|
|
36
|
+
staffId?: number;
|
|
37
|
+
staffChannelId?: number;
|
|
38
|
+
staffChannel?: object;
|
|
39
|
+
staffIssues?: string;
|
|
40
|
+
staffNote?: string;
|
|
29
41
|
createdBy?: string;
|
|
30
42
|
createdDate?: Date;
|
|
31
43
|
updatedBy?: string;
|
|
@@ -57,6 +69,7 @@ export class appQueue extends Model<appQueueAttributes, appQueueAttributes> impl
|
|
|
57
69
|
})
|
|
58
70
|
declare code?: string;
|
|
59
71
|
|
|
72
|
+
@ForeignKey(() => msWebsite)
|
|
60
73
|
@Column({
|
|
61
74
|
field: "site_id",
|
|
62
75
|
allowNull: true,
|
|
@@ -71,6 +84,20 @@ export class appQueue extends Model<appQueueAttributes, appQueueAttributes> impl
|
|
|
71
84
|
})
|
|
72
85
|
declare requestDate?: string;
|
|
73
86
|
|
|
87
|
+
@Column({
|
|
88
|
+
field: "request_from",
|
|
89
|
+
allowNull: true,
|
|
90
|
+
type: DataType.TIME
|
|
91
|
+
})
|
|
92
|
+
declare requestFrom?: string;
|
|
93
|
+
|
|
94
|
+
@Column({
|
|
95
|
+
field: "request_to",
|
|
96
|
+
allowNull: true,
|
|
97
|
+
type: DataType.TIME
|
|
98
|
+
})
|
|
99
|
+
declare requestTo?: string;
|
|
100
|
+
|
|
74
101
|
@Column({
|
|
75
102
|
field: "approve_date",
|
|
76
103
|
allowNull: true,
|
|
@@ -124,6 +151,7 @@ export class appQueue extends Model<appQueueAttributes, appQueueAttributes> impl
|
|
|
124
151
|
})
|
|
125
152
|
declare lineId?: string;
|
|
126
153
|
|
|
154
|
+
@ForeignKey(() => msConsultChannels)
|
|
127
155
|
@Column({
|
|
128
156
|
field: "consult_channel",
|
|
129
157
|
allowNull: true,
|
|
@@ -178,6 +206,40 @@ export class appQueue extends Model<appQueueAttributes, appQueueAttributes> impl
|
|
|
178
206
|
})
|
|
179
207
|
declare ipAddress?: string;
|
|
180
208
|
|
|
209
|
+
@Column({
|
|
210
|
+
allowNull: true,
|
|
211
|
+
type: DataType.INTEGER
|
|
212
|
+
})
|
|
213
|
+
declare status?: number;
|
|
214
|
+
|
|
215
|
+
@Column({
|
|
216
|
+
field: "case_type_id",
|
|
217
|
+
allowNull: true,
|
|
218
|
+
type: DataType.INTEGER
|
|
219
|
+
})
|
|
220
|
+
declare caseTypeId?: number;
|
|
221
|
+
|
|
222
|
+
@Column({
|
|
223
|
+
field: "case_section_id",
|
|
224
|
+
allowNull: true,
|
|
225
|
+
type: DataType.INTEGER
|
|
226
|
+
})
|
|
227
|
+
declare caseSectionId?: number;
|
|
228
|
+
|
|
229
|
+
@Column({
|
|
230
|
+
field: "case_section_other",
|
|
231
|
+
allowNull: true,
|
|
232
|
+
type: DataType.STRING(255)
|
|
233
|
+
})
|
|
234
|
+
declare caseSectionOther?: string;
|
|
235
|
+
|
|
236
|
+
@Column({
|
|
237
|
+
field: "case_jurisdiction",
|
|
238
|
+
allowNull: true,
|
|
239
|
+
type: DataType.INTEGER
|
|
240
|
+
})
|
|
241
|
+
declare caseJurisdiction?: number;
|
|
242
|
+
|
|
181
243
|
@Column({
|
|
182
244
|
field: "staff_id",
|
|
183
245
|
allowNull: true,
|
|
@@ -186,10 +248,32 @@ export class appQueue extends Model<appQueueAttributes, appQueueAttributes> impl
|
|
|
186
248
|
declare staffId?: number;
|
|
187
249
|
|
|
188
250
|
@Column({
|
|
251
|
+
field: "staff_channel_id",
|
|
189
252
|
allowNull: true,
|
|
190
253
|
type: DataType.INTEGER
|
|
191
254
|
})
|
|
192
|
-
declare
|
|
255
|
+
declare staffChannelId?: number;
|
|
256
|
+
|
|
257
|
+
@Column({
|
|
258
|
+
field: "staff_channel",
|
|
259
|
+
allowNull: true,
|
|
260
|
+
type: DataType.JSON
|
|
261
|
+
})
|
|
262
|
+
declare staffChannel?: object;
|
|
263
|
+
|
|
264
|
+
@Column({
|
|
265
|
+
field: "staff_issues",
|
|
266
|
+
allowNull: true,
|
|
267
|
+
type: DataType.STRING
|
|
268
|
+
})
|
|
269
|
+
declare staffIssues?: string;
|
|
270
|
+
|
|
271
|
+
@Column({
|
|
272
|
+
field: "staff_note",
|
|
273
|
+
allowNull: true,
|
|
274
|
+
type: DataType.STRING
|
|
275
|
+
})
|
|
276
|
+
declare staffNote?: string;
|
|
193
277
|
|
|
194
278
|
@Column({
|
|
195
279
|
field: "created_by",
|
|
@@ -219,4 +303,10 @@ export class appQueue extends Model<appQueueAttributes, appQueueAttributes> impl
|
|
|
219
303
|
})
|
|
220
304
|
declare updatedDate?: Date;
|
|
221
305
|
|
|
306
|
+
@BelongsTo(() => msWebsite)
|
|
307
|
+
declare msWebsite?: msWebsite;
|
|
308
|
+
|
|
309
|
+
@BelongsTo(() => msConsultChannels)
|
|
310
|
+
declare msConsultChannel?: msConsultChannels;
|
|
311
|
+
|
|
222
312
|
}
|
|
@@ -11,6 +11,7 @@ export interface appScoreAttributes {
|
|
|
11
11
|
loginLabel?: string;
|
|
12
12
|
topicInfo?: object;
|
|
13
13
|
labelInfo?: object;
|
|
14
|
+
dataInfo?: object;
|
|
14
15
|
note?: string;
|
|
15
16
|
scoreInfo?: object;
|
|
16
17
|
signInfo?: object;
|
|
@@ -84,6 +85,13 @@ export class appScore extends Model<appScoreAttributes, appScoreAttributes> impl
|
|
|
84
85
|
})
|
|
85
86
|
declare labelInfo?: object;
|
|
86
87
|
|
|
88
|
+
@Column({
|
|
89
|
+
field: "data_info",
|
|
90
|
+
allowNull: true,
|
|
91
|
+
type: DataType.JSON
|
|
92
|
+
})
|
|
93
|
+
declare dataInfo?: object;
|
|
94
|
+
|
|
87
95
|
@Column({
|
|
88
96
|
allowNull: true,
|
|
89
97
|
type: DataType.STRING
|
|
@@ -21,6 +21,7 @@ export interface filesAttributes {
|
|
|
21
21
|
updatedBy?: string;
|
|
22
22
|
updatedDate?: Date;
|
|
23
23
|
refId?: number;
|
|
24
|
+
sequence?: number;
|
|
24
25
|
}
|
|
25
26
|
|
|
26
27
|
@Table({
|
|
@@ -141,6 +142,12 @@ export class files extends Model<filesAttributes, filesAttributes> implements fi
|
|
|
141
142
|
})
|
|
142
143
|
declare refId?: number;
|
|
143
144
|
|
|
145
|
+
@Column({
|
|
146
|
+
allowNull: true,
|
|
147
|
+
type: DataType.INTEGER
|
|
148
|
+
})
|
|
149
|
+
declare sequence?: number;
|
|
150
|
+
|
|
144
151
|
@HasOne(() => mdBanner, {
|
|
145
152
|
sourceKey: "uuid"
|
|
146
153
|
})
|
|
@@ -1,127 +1,127 @@
|
|
|
1
|
-
import {
|
|
2
|
-
Model, Table, Column, DataType, Index, Sequelize, ForeignKey
|
|
3
|
-
} from "sequelize-typescript";
|
|
4
|
-
|
|
5
|
-
export interface formFaqAttributes {
|
|
6
|
-
id?: number;
|
|
7
|
-
uuid?: string;
|
|
8
|
-
titleName?: string;
|
|
9
|
-
firstName?: string;
|
|
10
|
-
lastName?: string;
|
|
11
|
-
phone?: string;
|
|
12
|
-
email?: string;
|
|
13
|
-
question?: string;
|
|
14
|
-
detail?: string;
|
|
15
|
-
attachments?: object;
|
|
16
|
-
status?: number;
|
|
17
|
-
createdBy?: string;
|
|
18
|
-
createdDate?: Date;
|
|
19
|
-
updatedBy?: string;
|
|
20
|
-
updatedDate?: Date;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
@Table({
|
|
24
|
-
tableName: "form_faq",
|
|
25
|
-
timestamps: false
|
|
26
|
-
})
|
|
27
|
-
export class formFaq extends Model<formFaqAttributes, formFaqAttributes> implements formFaqAttributes {
|
|
28
|
-
|
|
29
|
-
@Column({
|
|
30
|
-
primaryKey: true,
|
|
31
|
-
autoIncrement: true,
|
|
32
|
-
type: DataType.INTEGER
|
|
33
|
-
})
|
|
34
|
-
declare id?: number;
|
|
35
|
-
|
|
36
|
-
@Column({
|
|
37
|
-
allowNull: true,
|
|
38
|
-
type: DataType.STRING(60)
|
|
39
|
-
})
|
|
40
|
-
declare uuid?: string;
|
|
41
|
-
|
|
42
|
-
@Column({
|
|
43
|
-
field: "title_name",
|
|
44
|
-
allowNull: true,
|
|
45
|
-
type: DataType.STRING(50)
|
|
46
|
-
})
|
|
47
|
-
declare titleName?: string;
|
|
48
|
-
|
|
49
|
-
@Column({
|
|
50
|
-
field: "first_name",
|
|
51
|
-
allowNull: true,
|
|
52
|
-
type: DataType.STRING(255)
|
|
53
|
-
})
|
|
54
|
-
declare firstName?: string;
|
|
55
|
-
|
|
56
|
-
@Column({
|
|
57
|
-
field: "last_name",
|
|
58
|
-
allowNull: true,
|
|
59
|
-
type: DataType.STRING(255)
|
|
60
|
-
})
|
|
61
|
-
declare lastName?: string;
|
|
62
|
-
|
|
63
|
-
@Column({
|
|
64
|
-
allowNull: true,
|
|
65
|
-
type: DataType.STRING(255)
|
|
66
|
-
})
|
|
67
|
-
declare phone?: string;
|
|
68
|
-
|
|
69
|
-
@Column({
|
|
70
|
-
allowNull: true,
|
|
71
|
-
type: DataType.STRING(255)
|
|
72
|
-
})
|
|
73
|
-
declare email?: string;
|
|
74
|
-
|
|
75
|
-
@Column({
|
|
76
|
-
allowNull: true,
|
|
77
|
-
type: DataType.STRING(255)
|
|
78
|
-
})
|
|
79
|
-
declare question?: string;
|
|
80
|
-
|
|
81
|
-
@Column({
|
|
82
|
-
allowNull: true,
|
|
83
|
-
type: DataType.STRING
|
|
84
|
-
})
|
|
85
|
-
declare detail?: string;
|
|
86
|
-
|
|
87
|
-
@Column({
|
|
88
|
-
allowNull: true,
|
|
89
|
-
type: DataType.JSON
|
|
90
|
-
})
|
|
91
|
-
declare attachments?: object;
|
|
92
|
-
|
|
93
|
-
@Column({
|
|
94
|
-
allowNull: true,
|
|
95
|
-
type: DataType.INTEGER
|
|
96
|
-
})
|
|
97
|
-
declare status?: number;
|
|
98
|
-
|
|
99
|
-
@Column({
|
|
100
|
-
field: "created_by",
|
|
101
|
-
allowNull: true,
|
|
102
|
-
type: DataType.STRING(60)
|
|
103
|
-
})
|
|
104
|
-
declare createdBy?: string;
|
|
105
|
-
|
|
106
|
-
@Column({
|
|
107
|
-
field: "created_date",
|
|
108
|
-
allowNull: true,
|
|
109
|
-
type: DataType.DATE
|
|
110
|
-
})
|
|
111
|
-
declare createdDate?: Date;
|
|
112
|
-
|
|
113
|
-
@Column({
|
|
114
|
-
field: "updated_by",
|
|
115
|
-
allowNull: true,
|
|
116
|
-
type: DataType.STRING(60)
|
|
117
|
-
})
|
|
118
|
-
declare updatedBy?: string;
|
|
119
|
-
|
|
120
|
-
@Column({
|
|
121
|
-
field: "updated_date",
|
|
122
|
-
allowNull: true,
|
|
123
|
-
type: DataType.DATE
|
|
124
|
-
})
|
|
125
|
-
declare updatedDate?: Date;
|
|
126
|
-
|
|
1
|
+
import {
|
|
2
|
+
Model, Table, Column, DataType, Index, Sequelize, ForeignKey
|
|
3
|
+
} from "sequelize-typescript";
|
|
4
|
+
|
|
5
|
+
export interface formFaqAttributes {
|
|
6
|
+
id?: number;
|
|
7
|
+
uuid?: string;
|
|
8
|
+
titleName?: string;
|
|
9
|
+
firstName?: string;
|
|
10
|
+
lastName?: string;
|
|
11
|
+
phone?: string;
|
|
12
|
+
email?: string;
|
|
13
|
+
question?: string;
|
|
14
|
+
detail?: string;
|
|
15
|
+
attachments?: object;
|
|
16
|
+
status?: number;
|
|
17
|
+
createdBy?: string;
|
|
18
|
+
createdDate?: Date;
|
|
19
|
+
updatedBy?: string;
|
|
20
|
+
updatedDate?: Date;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
@Table({
|
|
24
|
+
tableName: "form_faq",
|
|
25
|
+
timestamps: false
|
|
26
|
+
})
|
|
27
|
+
export class formFaq extends Model<formFaqAttributes, formFaqAttributes> implements formFaqAttributes {
|
|
28
|
+
|
|
29
|
+
@Column({
|
|
30
|
+
primaryKey: true,
|
|
31
|
+
autoIncrement: true,
|
|
32
|
+
type: DataType.INTEGER
|
|
33
|
+
})
|
|
34
|
+
declare id?: number;
|
|
35
|
+
|
|
36
|
+
@Column({
|
|
37
|
+
allowNull: true,
|
|
38
|
+
type: DataType.STRING(60)
|
|
39
|
+
})
|
|
40
|
+
declare uuid?: string;
|
|
41
|
+
|
|
42
|
+
@Column({
|
|
43
|
+
field: "title_name",
|
|
44
|
+
allowNull: true,
|
|
45
|
+
type: DataType.STRING(50)
|
|
46
|
+
})
|
|
47
|
+
declare titleName?: string;
|
|
48
|
+
|
|
49
|
+
@Column({
|
|
50
|
+
field: "first_name",
|
|
51
|
+
allowNull: true,
|
|
52
|
+
type: DataType.STRING(255)
|
|
53
|
+
})
|
|
54
|
+
declare firstName?: string;
|
|
55
|
+
|
|
56
|
+
@Column({
|
|
57
|
+
field: "last_name",
|
|
58
|
+
allowNull: true,
|
|
59
|
+
type: DataType.STRING(255)
|
|
60
|
+
})
|
|
61
|
+
declare lastName?: string;
|
|
62
|
+
|
|
63
|
+
@Column({
|
|
64
|
+
allowNull: true,
|
|
65
|
+
type: DataType.STRING(255)
|
|
66
|
+
})
|
|
67
|
+
declare phone?: string;
|
|
68
|
+
|
|
69
|
+
@Column({
|
|
70
|
+
allowNull: true,
|
|
71
|
+
type: DataType.STRING(255)
|
|
72
|
+
})
|
|
73
|
+
declare email?: string;
|
|
74
|
+
|
|
75
|
+
@Column({
|
|
76
|
+
allowNull: true,
|
|
77
|
+
type: DataType.STRING(255)
|
|
78
|
+
})
|
|
79
|
+
declare question?: string;
|
|
80
|
+
|
|
81
|
+
@Column({
|
|
82
|
+
allowNull: true,
|
|
83
|
+
type: DataType.STRING
|
|
84
|
+
})
|
|
85
|
+
declare detail?: string;
|
|
86
|
+
|
|
87
|
+
@Column({
|
|
88
|
+
allowNull: true,
|
|
89
|
+
type: DataType.JSON
|
|
90
|
+
})
|
|
91
|
+
declare attachments?: object;
|
|
92
|
+
|
|
93
|
+
@Column({
|
|
94
|
+
allowNull: true,
|
|
95
|
+
type: DataType.INTEGER
|
|
96
|
+
})
|
|
97
|
+
declare status?: number;
|
|
98
|
+
|
|
99
|
+
@Column({
|
|
100
|
+
field: "created_by",
|
|
101
|
+
allowNull: true,
|
|
102
|
+
type: DataType.STRING(60)
|
|
103
|
+
})
|
|
104
|
+
declare createdBy?: string;
|
|
105
|
+
|
|
106
|
+
@Column({
|
|
107
|
+
field: "created_date",
|
|
108
|
+
allowNull: true,
|
|
109
|
+
type: DataType.DATE
|
|
110
|
+
})
|
|
111
|
+
declare createdDate?: Date;
|
|
112
|
+
|
|
113
|
+
@Column({
|
|
114
|
+
field: "updated_by",
|
|
115
|
+
allowNull: true,
|
|
116
|
+
type: DataType.STRING(60)
|
|
117
|
+
})
|
|
118
|
+
declare updatedBy?: string;
|
|
119
|
+
|
|
120
|
+
@Column({
|
|
121
|
+
field: "updated_date",
|
|
122
|
+
allowNull: true,
|
|
123
|
+
type: DataType.DATE
|
|
124
|
+
})
|
|
125
|
+
declare updatedDate?: Date;
|
|
126
|
+
|
|
127
127
|
}
|
|
@@ -55,18 +55,24 @@ export * from "./msConsultCase";
|
|
|
55
55
|
export * from "./msConsultChannels";
|
|
56
56
|
export * from "./msConsultInstructions";
|
|
57
57
|
export * from "./msConsultService";
|
|
58
|
+
export * from "./msConsultSiteCase";
|
|
58
59
|
export * from "./msConsultSiteChannel";
|
|
59
60
|
export * from "./msConsultSiteHoliday";
|
|
61
|
+
export * from "./msConsultSiteIssue";
|
|
60
62
|
export * from "./msConsultSiteStaff";
|
|
61
63
|
export * from "./msExecutive";
|
|
62
|
-
export * from "./
|
|
64
|
+
export * from "./msExecutiveActing";
|
|
65
|
+
export * from "./msExecutiveBoardBk";
|
|
63
66
|
export * from "./msExecutiveGroup";
|
|
64
67
|
export * from "./msExecutiveLevel";
|
|
65
|
-
export * from "./
|
|
66
|
-
export * from "./msGuidelines";
|
|
68
|
+
export * from "./msExecutivePositionBk";
|
|
67
69
|
export * from "./msHoliday";
|
|
68
70
|
export * from "./msModule";
|
|
71
|
+
export * from "./msOrganization";
|
|
72
|
+
export * from "./msPosition";
|
|
69
73
|
export * from "./msProvince";
|
|
74
|
+
export * from "./msQueueTourFaq";
|
|
75
|
+
export * from "./msQueueTourGuidelines";
|
|
70
76
|
export * from "./msTitle";
|
|
71
77
|
export * from "./msVariable";
|
|
72
78
|
export * from "./msWebsite";
|
|
@@ -75,7 +81,6 @@ export * from "./oauthRefreshToken";
|
|
|
75
81
|
export * from "./recruitment";
|
|
76
82
|
export * from "./recruitmentGroup";
|
|
77
83
|
export * from "./settings";
|
|
78
|
-
export * from "./
|
|
79
|
-
export * from "./userRoleV";
|
|
84
|
+
export * from "./userPermissionV";
|
|
80
85
|
export * from "./users";
|
|
81
86
|
export * from "./usersVerify";
|