@admc-go-th/admc-library 1.0.128 → 1.0.130
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-QJ9ECucz.d.ts +158 -0
- package/{authAssignment-Te_XO-S8.d.ts → authAssignment-BAUCoEP6.d.ts} +4 -0
- package/databases/schema/appQueue.ts +75 -1
- package/databases/schema/appReportCorruption.ts +1 -1
- package/databases/schema/authRole.ts +16 -0
- package/databases/schema/files.ts +7 -0
- package/databases/schema/mdBanner.ts +8 -0
- package/databases/schema/mdEbook.ts +8 -0
- package/databases/schema/mdEbookGroup.ts +8 -0
- package/databases/schema/member.ts +8 -0
- package/databases/schema/msConsultChannels.ts +14 -1
- package/databases/schema/msWebsite.ts +7 -1
- package/databases/tables/appQueue.d.ts +2 -62
- package/databases/tables/appQueue.js +365 -53
- package/databases/tables/appReportCorruption.js +1 -1
- package/databases/tables/appReportCorruptionTransaction.js +1 -1
- package/databases/tables/authAssignment.d.ts +1 -1
- package/databases/tables/authAssignment.js +14 -0
- package/databases/tables/authRole.d.ts +1 -1
- package/databases/tables/authRole.js +14 -0
- package/databases/tables/authRoleChild.d.ts +1 -1
- package/databases/tables/authRoleChild.js +14 -0
- package/databases/tables/files.d.ts +1 -1
- package/databases/tables/files.js +13 -0
- package/databases/tables/index.d.ts +4 -6
- package/databases/tables/index.js +2701 -2571
- 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 +14 -0
- package/databases/tables/mdContentGroup.d.ts +1 -1
- package/databases/tables/mdContentGroup.js +14 -0
- package/databases/tables/mdEbook.d.ts +1 -1
- package/databases/tables/mdEbook.js +14 -0
- package/databases/tables/mdEbookGroup.d.ts +1 -1
- package/databases/tables/mdEbookGroup.js +14 -0
- package/databases/tables/mdQuestionnaire.d.ts +1 -1
- package/databases/tables/mdQuestionnaire.js +14 -0
- package/databases/tables/mdQuestionnaireData.d.ts +1 -1
- package/databases/tables/mdQuestionnaireData.js +14 -0
- package/databases/tables/member.d.ts +2 -0
- package/databases/tables/member.js +7 -0
- package/databases/tables/msConsultChannels.d.ts +2 -24
- package/databases/tables/msConsultChannels.js +455 -13
- package/databases/tables/msWebsite.d.ts +2 -56
- package/databases/tables/msWebsite.js +386 -46
- package/databases/tables/users.d.ts +1 -1
- package/databases/tables/users.js +14 -0
- package/databases/tables/usersVerify.d.ts +1 -1
- package/databases/tables/usersVerify.js +14 -0
- package/{files-Dp2zDQAj.d.ts → files-CXIMD4Bk.d.ts} +4 -0
- package/{mdEbook-BuaHiJvl.d.ts → mdEbook-DVvRlFVe.d.ts} +4 -0
- package/package.json +1 -1
|
@@ -31,8 +31,14 @@ __export(msConsultChannels_exports, {
|
|
|
31
31
|
msConsultChannels: () => msConsultChannels
|
|
32
32
|
});
|
|
33
33
|
module.exports = __toCommonJS(msConsultChannels_exports);
|
|
34
|
+
var import_sequelize_typescript3 = require("sequelize-typescript");
|
|
35
|
+
|
|
36
|
+
// src/databases/tables/appQueue.ts
|
|
37
|
+
var import_sequelize_typescript2 = require("sequelize-typescript");
|
|
38
|
+
|
|
39
|
+
// src/databases/tables/msWebsite.ts
|
|
34
40
|
var import_sequelize_typescript = require("sequelize-typescript");
|
|
35
|
-
var
|
|
41
|
+
var msWebsite = class extends import_sequelize_typescript.Model {
|
|
36
42
|
};
|
|
37
43
|
__decorateClass([
|
|
38
44
|
(0, import_sequelize_typescript.Column)({
|
|
@@ -40,55 +46,491 @@ __decorateClass([
|
|
|
40
46
|
autoIncrement: true,
|
|
41
47
|
type: import_sequelize_typescript.DataType.INTEGER
|
|
42
48
|
})
|
|
43
|
-
],
|
|
49
|
+
], msWebsite.prototype, "id", 2);
|
|
44
50
|
__decorateClass([
|
|
45
51
|
(0, import_sequelize_typescript.Column)({
|
|
46
52
|
allowNull: true,
|
|
47
53
|
type: import_sequelize_typescript.DataType.STRING(255)
|
|
48
54
|
})
|
|
49
|
-
],
|
|
55
|
+
], msWebsite.prototype, "code", 2);
|
|
56
|
+
__decorateClass([
|
|
57
|
+
(0, import_sequelize_typescript.Column)({
|
|
58
|
+
allowNull: true,
|
|
59
|
+
type: import_sequelize_typescript.DataType.STRING(60)
|
|
60
|
+
})
|
|
61
|
+
], msWebsite.prototype, "uuid", 2);
|
|
62
|
+
__decorateClass([
|
|
63
|
+
(0, import_sequelize_typescript.Column)({
|
|
64
|
+
allowNull: true,
|
|
65
|
+
type: import_sequelize_typescript.DataType.STRING(255)
|
|
66
|
+
})
|
|
67
|
+
], msWebsite.prototype, "name", 2);
|
|
68
|
+
__decorateClass([
|
|
69
|
+
(0, import_sequelize_typescript.Column)({
|
|
70
|
+
allowNull: true,
|
|
71
|
+
type: import_sequelize_typescript.DataType.STRING(255)
|
|
72
|
+
})
|
|
73
|
+
], msWebsite.prototype, "description", 2);
|
|
74
|
+
__decorateClass([
|
|
75
|
+
(0, import_sequelize_typescript.Column)({
|
|
76
|
+
allowNull: true,
|
|
77
|
+
type: import_sequelize_typescript.DataType.STRING(255)
|
|
78
|
+
})
|
|
79
|
+
], msWebsite.prototype, "url", 2);
|
|
80
|
+
__decorateClass([
|
|
81
|
+
(0, import_sequelize_typescript.Column)({
|
|
82
|
+
allowNull: true,
|
|
83
|
+
type: import_sequelize_typescript.DataType.INTEGER,
|
|
84
|
+
defaultValue: "1"
|
|
85
|
+
})
|
|
86
|
+
], msWebsite.prototype, "layout", 2);
|
|
50
87
|
__decorateClass([
|
|
51
88
|
(0, import_sequelize_typescript.Column)({
|
|
52
89
|
allowNull: true,
|
|
53
90
|
type: import_sequelize_typescript.DataType.INTEGER
|
|
54
91
|
})
|
|
55
|
-
],
|
|
92
|
+
], msWebsite.prototype, "type", 2);
|
|
93
|
+
__decorateClass([
|
|
94
|
+
(0, import_sequelize_typescript.Column)({
|
|
95
|
+
allowNull: true,
|
|
96
|
+
type: import_sequelize_typescript.DataType.INTEGER,
|
|
97
|
+
defaultValue: "1"
|
|
98
|
+
})
|
|
99
|
+
], msWebsite.prototype, "status", 2);
|
|
100
|
+
__decorateClass([
|
|
101
|
+
(0, import_sequelize_typescript.Column)({
|
|
102
|
+
allowNull: true,
|
|
103
|
+
type: import_sequelize_typescript.DataType.STRING(20)
|
|
104
|
+
})
|
|
105
|
+
], msWebsite.prototype, "region", 2);
|
|
56
106
|
__decorateClass([
|
|
57
107
|
(0, import_sequelize_typescript.Column)({
|
|
58
108
|
allowNull: true,
|
|
59
109
|
type: import_sequelize_typescript.DataType.INTEGER
|
|
60
110
|
})
|
|
61
|
-
],
|
|
111
|
+
], msWebsite.prototype, "sort", 2);
|
|
112
|
+
__decorateClass([
|
|
113
|
+
(0, import_sequelize_typescript.Column)({
|
|
114
|
+
allowNull: true,
|
|
115
|
+
type: import_sequelize_typescript.DataType.STRING(255)
|
|
116
|
+
})
|
|
117
|
+
], msWebsite.prototype, "image", 2);
|
|
118
|
+
__decorateClass([
|
|
119
|
+
(0, import_sequelize_typescript.Column)({
|
|
120
|
+
allowNull: true,
|
|
121
|
+
type: import_sequelize_typescript.DataType.STRING(255)
|
|
122
|
+
})
|
|
123
|
+
], msWebsite.prototype, "address", 2);
|
|
124
|
+
__decorateClass([
|
|
125
|
+
(0, import_sequelize_typescript.Column)({
|
|
126
|
+
allowNull: true,
|
|
127
|
+
type: import_sequelize_typescript.DataType.STRING(100)
|
|
128
|
+
})
|
|
129
|
+
], msWebsite.prototype, "phone", 2);
|
|
130
|
+
__decorateClass([
|
|
131
|
+
(0, import_sequelize_typescript.Column)({
|
|
132
|
+
allowNull: true,
|
|
133
|
+
type: import_sequelize_typescript.DataType.STRING(100)
|
|
134
|
+
})
|
|
135
|
+
], msWebsite.prototype, "fax", 2);
|
|
136
|
+
__decorateClass([
|
|
137
|
+
(0, import_sequelize_typescript.Column)({
|
|
138
|
+
allowNull: true,
|
|
139
|
+
type: import_sequelize_typescript.DataType.STRING(255)
|
|
140
|
+
})
|
|
141
|
+
], msWebsite.prototype, "office", 2);
|
|
142
|
+
__decorateClass([
|
|
143
|
+
(0, import_sequelize_typescript.Column)({
|
|
144
|
+
allowNull: true,
|
|
145
|
+
type: import_sequelize_typescript.DataType.DATEONLY
|
|
146
|
+
})
|
|
147
|
+
], msWebsite.prototype, "opened", 2);
|
|
148
|
+
__decorateClass([
|
|
149
|
+
(0, import_sequelize_typescript.Column)({
|
|
150
|
+
allowNull: true,
|
|
151
|
+
type: import_sequelize_typescript.DataType.DECIMAL(10, 8)
|
|
152
|
+
})
|
|
153
|
+
], msWebsite.prototype, "latitude", 2);
|
|
154
|
+
__decorateClass([
|
|
155
|
+
(0, import_sequelize_typescript.Column)({
|
|
156
|
+
allowNull: true,
|
|
157
|
+
type: import_sequelize_typescript.DataType.DECIMAL(11, 8)
|
|
158
|
+
})
|
|
159
|
+
], msWebsite.prototype, "longitude", 2);
|
|
160
|
+
__decorateClass([
|
|
161
|
+
(0, import_sequelize_typescript.Column)({
|
|
162
|
+
allowNull: true,
|
|
163
|
+
type: import_sequelize_typescript.DataType.JSON
|
|
164
|
+
})
|
|
165
|
+
], msWebsite.prototype, "info", 2);
|
|
62
166
|
__decorateClass([
|
|
63
167
|
(0, import_sequelize_typescript.Column)({
|
|
64
168
|
field: "created_by",
|
|
65
169
|
allowNull: true,
|
|
66
|
-
type: import_sequelize_typescript.DataType.STRING(60)
|
|
170
|
+
type: import_sequelize_typescript.DataType.STRING(60),
|
|
171
|
+
comment: "\u0E2A\u0E23\u0E49\u0E32\u0E07\u0E42\u0E14\u0E22"
|
|
67
172
|
})
|
|
68
|
-
],
|
|
173
|
+
], msWebsite.prototype, "createdBy", 2);
|
|
69
174
|
__decorateClass([
|
|
70
175
|
(0, import_sequelize_typescript.Column)({
|
|
71
176
|
field: "created_date",
|
|
72
177
|
allowNull: true,
|
|
73
|
-
type: import_sequelize_typescript.DataType.DATE
|
|
178
|
+
type: import_sequelize_typescript.DataType.DATE,
|
|
179
|
+
comment: "\u0E27\u0E31\u0E19\u0E17\u0E35\u0E48\u0E2A\u0E23\u0E49\u0E32\u0E07"
|
|
74
180
|
})
|
|
75
|
-
],
|
|
181
|
+
], msWebsite.prototype, "createdDate", 2);
|
|
76
182
|
__decorateClass([
|
|
77
183
|
(0, import_sequelize_typescript.Column)({
|
|
78
184
|
field: "updated_by",
|
|
79
185
|
allowNull: true,
|
|
80
|
-
type: import_sequelize_typescript.DataType.STRING(60)
|
|
186
|
+
type: import_sequelize_typescript.DataType.STRING(60),
|
|
187
|
+
comment: "\u0E41\u0E01\u0E49\u0E44\u0E02\u0E42\u0E14\u0E22"
|
|
81
188
|
})
|
|
82
|
-
],
|
|
189
|
+
], msWebsite.prototype, "updatedBy", 2);
|
|
83
190
|
__decorateClass([
|
|
84
191
|
(0, import_sequelize_typescript.Column)({
|
|
85
192
|
field: "updated_date",
|
|
86
193
|
allowNull: true,
|
|
87
|
-
type: import_sequelize_typescript.DataType.DATE
|
|
194
|
+
type: import_sequelize_typescript.DataType.DATE,
|
|
195
|
+
comment: "\u0E27\u0E31\u0E19\u0E17\u0E35\u0E48\u0E41\u0E01\u0E49\u0E44\u0E02"
|
|
196
|
+
})
|
|
197
|
+
], msWebsite.prototype, "updatedDate", 2);
|
|
198
|
+
__decorateClass([
|
|
199
|
+
(0, import_sequelize_typescript.HasMany)(() => appQueue, {
|
|
200
|
+
sourceKey: "id"
|
|
201
|
+
})
|
|
202
|
+
], msWebsite.prototype, "appQueues", 2);
|
|
203
|
+
msWebsite = __decorateClass([
|
|
204
|
+
(0, import_sequelize_typescript.Table)({
|
|
205
|
+
tableName: "ms_website",
|
|
206
|
+
timestamps: false
|
|
207
|
+
})
|
|
208
|
+
], msWebsite);
|
|
209
|
+
|
|
210
|
+
// src/databases/tables/appQueue.ts
|
|
211
|
+
var appQueue = class extends import_sequelize_typescript2.Model {
|
|
212
|
+
};
|
|
213
|
+
__decorateClass([
|
|
214
|
+
(0, import_sequelize_typescript2.Column)({
|
|
215
|
+
primaryKey: true,
|
|
216
|
+
autoIncrement: true,
|
|
217
|
+
type: import_sequelize_typescript2.DataType.INTEGER
|
|
218
|
+
})
|
|
219
|
+
], appQueue.prototype, "id", 2);
|
|
220
|
+
__decorateClass([
|
|
221
|
+
(0, import_sequelize_typescript2.Column)({
|
|
222
|
+
allowNull: true,
|
|
223
|
+
type: import_sequelize_typescript2.DataType.STRING(60)
|
|
224
|
+
})
|
|
225
|
+
], appQueue.prototype, "uuid", 2);
|
|
226
|
+
__decorateClass([
|
|
227
|
+
(0, import_sequelize_typescript2.Column)({
|
|
228
|
+
allowNull: true,
|
|
229
|
+
type: import_sequelize_typescript2.DataType.STRING(15)
|
|
230
|
+
})
|
|
231
|
+
], appQueue.prototype, "code", 2);
|
|
232
|
+
__decorateClass([
|
|
233
|
+
(0, import_sequelize_typescript2.ForeignKey)(() => msWebsite),
|
|
234
|
+
(0, import_sequelize_typescript2.Column)({
|
|
235
|
+
field: "site_id",
|
|
236
|
+
allowNull: true,
|
|
237
|
+
type: import_sequelize_typescript2.DataType.INTEGER
|
|
238
|
+
})
|
|
239
|
+
], appQueue.prototype, "siteId", 2);
|
|
240
|
+
__decorateClass([
|
|
241
|
+
(0, import_sequelize_typescript2.Column)({
|
|
242
|
+
field: "request_date",
|
|
243
|
+
allowNull: true,
|
|
244
|
+
type: import_sequelize_typescript2.DataType.DATEONLY
|
|
245
|
+
})
|
|
246
|
+
], appQueue.prototype, "requestDate", 2);
|
|
247
|
+
__decorateClass([
|
|
248
|
+
(0, import_sequelize_typescript2.Column)({
|
|
249
|
+
field: "request_from",
|
|
250
|
+
allowNull: true,
|
|
251
|
+
type: import_sequelize_typescript2.DataType.TIME
|
|
252
|
+
})
|
|
253
|
+
], appQueue.prototype, "requestFrom", 2);
|
|
254
|
+
__decorateClass([
|
|
255
|
+
(0, import_sequelize_typescript2.Column)({
|
|
256
|
+
field: "request_to",
|
|
257
|
+
allowNull: true,
|
|
258
|
+
type: import_sequelize_typescript2.DataType.TIME
|
|
259
|
+
})
|
|
260
|
+
], appQueue.prototype, "requestTo", 2);
|
|
261
|
+
__decorateClass([
|
|
262
|
+
(0, import_sequelize_typescript2.Column)({
|
|
263
|
+
field: "approve_date",
|
|
264
|
+
allowNull: true,
|
|
265
|
+
type: import_sequelize_typescript2.DataType.DATEONLY
|
|
266
|
+
})
|
|
267
|
+
], appQueue.prototype, "approveDate", 2);
|
|
268
|
+
__decorateClass([
|
|
269
|
+
(0, import_sequelize_typescript2.Column)({
|
|
270
|
+
field: "time_slot",
|
|
271
|
+
allowNull: true,
|
|
272
|
+
type: import_sequelize_typescript2.DataType.INTEGER
|
|
273
|
+
})
|
|
274
|
+
], appQueue.prototype, "timeSlot", 2);
|
|
275
|
+
__decorateClass([
|
|
276
|
+
(0, import_sequelize_typescript2.Column)({
|
|
277
|
+
field: "full_name",
|
|
278
|
+
allowNull: true,
|
|
279
|
+
type: import_sequelize_typescript2.DataType.STRING(255)
|
|
280
|
+
})
|
|
281
|
+
], appQueue.prototype, "fullName", 2);
|
|
282
|
+
__decorateClass([
|
|
283
|
+
(0, import_sequelize_typescript2.Column)({
|
|
284
|
+
allowNull: true,
|
|
285
|
+
type: import_sequelize_typescript2.DataType.INTEGER
|
|
286
|
+
})
|
|
287
|
+
], appQueue.prototype, "residence", 2);
|
|
288
|
+
__decorateClass([
|
|
289
|
+
(0, import_sequelize_typescript2.Column)({
|
|
290
|
+
allowNull: true,
|
|
291
|
+
type: import_sequelize_typescript2.DataType.INTEGER
|
|
292
|
+
})
|
|
293
|
+
], appQueue.prototype, "occupation", 2);
|
|
294
|
+
__decorateClass([
|
|
295
|
+
(0, import_sequelize_typescript2.Column)({
|
|
296
|
+
field: "phone_number",
|
|
297
|
+
allowNull: true,
|
|
298
|
+
type: import_sequelize_typescript2.DataType.STRING(20)
|
|
299
|
+
})
|
|
300
|
+
], appQueue.prototype, "phoneNumber", 2);
|
|
301
|
+
__decorateClass([
|
|
302
|
+
(0, import_sequelize_typescript2.Column)({
|
|
303
|
+
allowNull: true,
|
|
304
|
+
type: import_sequelize_typescript2.DataType.STRING(150)
|
|
305
|
+
})
|
|
306
|
+
], appQueue.prototype, "email", 2);
|
|
307
|
+
__decorateClass([
|
|
308
|
+
(0, import_sequelize_typescript2.Column)({
|
|
309
|
+
field: "line_id",
|
|
310
|
+
allowNull: true,
|
|
311
|
+
type: import_sequelize_typescript2.DataType.STRING(100)
|
|
312
|
+
})
|
|
313
|
+
], appQueue.prototype, "lineId", 2);
|
|
314
|
+
__decorateClass([
|
|
315
|
+
(0, import_sequelize_typescript2.ForeignKey)(() => msConsultChannels),
|
|
316
|
+
(0, import_sequelize_typescript2.Column)({
|
|
317
|
+
field: "consult_channel",
|
|
318
|
+
allowNull: true,
|
|
319
|
+
type: import_sequelize_typescript2.DataType.INTEGER
|
|
320
|
+
})
|
|
321
|
+
], appQueue.prototype, "consultChannel", 2);
|
|
322
|
+
__decorateClass([
|
|
323
|
+
(0, import_sequelize_typescript2.Column)({
|
|
324
|
+
field: "consult_topic",
|
|
325
|
+
allowNull: true,
|
|
326
|
+
type: import_sequelize_typescript2.DataType.INTEGER
|
|
327
|
+
})
|
|
328
|
+
], appQueue.prototype, "consultTopic", 2);
|
|
329
|
+
__decorateClass([
|
|
330
|
+
(0, import_sequelize_typescript2.Column)({
|
|
331
|
+
field: "consult_topic_other",
|
|
332
|
+
allowNull: true,
|
|
333
|
+
type: import_sequelize_typescript2.DataType.STRING(255)
|
|
334
|
+
})
|
|
335
|
+
], appQueue.prototype, "consultTopicOther", 2);
|
|
336
|
+
__decorateClass([
|
|
337
|
+
(0, import_sequelize_typescript2.Column)({
|
|
338
|
+
field: "black_case_number",
|
|
339
|
+
allowNull: true,
|
|
340
|
+
type: import_sequelize_typescript2.DataType.STRING(50)
|
|
341
|
+
})
|
|
342
|
+
], appQueue.prototype, "blackCaseNumber", 2);
|
|
343
|
+
__decorateClass([
|
|
344
|
+
(0, import_sequelize_typescript2.Column)({
|
|
345
|
+
field: "red_case_number",
|
|
346
|
+
allowNull: true,
|
|
347
|
+
type: import_sequelize_typescript2.DataType.STRING(50)
|
|
348
|
+
})
|
|
349
|
+
], appQueue.prototype, "redCaseNumber", 2);
|
|
350
|
+
__decorateClass([
|
|
351
|
+
(0, import_sequelize_typescript2.Column)({
|
|
352
|
+
allowNull: true,
|
|
353
|
+
type: import_sequelize_typescript2.DataType.STRING
|
|
354
|
+
})
|
|
355
|
+
], appQueue.prototype, "issues", 2);
|
|
356
|
+
__decorateClass([
|
|
357
|
+
(0, import_sequelize_typescript2.Column)({
|
|
358
|
+
allowNull: true,
|
|
359
|
+
type: import_sequelize_typescript2.DataType.JSON
|
|
360
|
+
})
|
|
361
|
+
], appQueue.prototype, "attachments", 2);
|
|
362
|
+
__decorateClass([
|
|
363
|
+
(0, import_sequelize_typescript2.Column)({
|
|
364
|
+
field: "ip_address",
|
|
365
|
+
allowNull: true,
|
|
366
|
+
type: import_sequelize_typescript2.DataType.STRING(30)
|
|
367
|
+
})
|
|
368
|
+
], appQueue.prototype, "ipAddress", 2);
|
|
369
|
+
__decorateClass([
|
|
370
|
+
(0, import_sequelize_typescript2.Column)({
|
|
371
|
+
field: "staff_id",
|
|
372
|
+
allowNull: true,
|
|
373
|
+
type: import_sequelize_typescript2.DataType.INTEGER
|
|
374
|
+
})
|
|
375
|
+
], appQueue.prototype, "staffId", 2);
|
|
376
|
+
__decorateClass([
|
|
377
|
+
(0, import_sequelize_typescript2.Column)({
|
|
378
|
+
allowNull: true,
|
|
379
|
+
type: import_sequelize_typescript2.DataType.INTEGER
|
|
380
|
+
})
|
|
381
|
+
], appQueue.prototype, "status", 2);
|
|
382
|
+
__decorateClass([
|
|
383
|
+
(0, import_sequelize_typescript2.Column)({
|
|
384
|
+
field: "case_type_id",
|
|
385
|
+
allowNull: true,
|
|
386
|
+
type: import_sequelize_typescript2.DataType.INTEGER
|
|
387
|
+
})
|
|
388
|
+
], appQueue.prototype, "caseTypeId", 2);
|
|
389
|
+
__decorateClass([
|
|
390
|
+
(0, import_sequelize_typescript2.Column)({
|
|
391
|
+
field: "case_section_id",
|
|
392
|
+
allowNull: true,
|
|
393
|
+
type: import_sequelize_typescript2.DataType.INTEGER
|
|
394
|
+
})
|
|
395
|
+
], appQueue.prototype, "caseSectionId", 2);
|
|
396
|
+
__decorateClass([
|
|
397
|
+
(0, import_sequelize_typescript2.Column)({
|
|
398
|
+
field: "case_section_other",
|
|
399
|
+
allowNull: true,
|
|
400
|
+
type: import_sequelize_typescript2.DataType.STRING(255)
|
|
401
|
+
})
|
|
402
|
+
], appQueue.prototype, "caseSectionOther", 2);
|
|
403
|
+
__decorateClass([
|
|
404
|
+
(0, import_sequelize_typescript2.Column)({
|
|
405
|
+
field: "case_jurisdiction",
|
|
406
|
+
allowNull: true,
|
|
407
|
+
type: import_sequelize_typescript2.DataType.INTEGER
|
|
408
|
+
})
|
|
409
|
+
], appQueue.prototype, "caseJurisdiction", 2);
|
|
410
|
+
__decorateClass([
|
|
411
|
+
(0, import_sequelize_typescript2.Column)({
|
|
412
|
+
field: "staff_issues",
|
|
413
|
+
allowNull: true,
|
|
414
|
+
type: import_sequelize_typescript2.DataType.STRING
|
|
415
|
+
})
|
|
416
|
+
], appQueue.prototype, "staffIssues", 2);
|
|
417
|
+
__decorateClass([
|
|
418
|
+
(0, import_sequelize_typescript2.Column)({
|
|
419
|
+
field: "staff_note",
|
|
420
|
+
allowNull: true,
|
|
421
|
+
type: import_sequelize_typescript2.DataType.STRING
|
|
422
|
+
})
|
|
423
|
+
], appQueue.prototype, "staffNote", 2);
|
|
424
|
+
__decorateClass([
|
|
425
|
+
(0, import_sequelize_typescript2.Column)({
|
|
426
|
+
field: "created_by",
|
|
427
|
+
allowNull: true,
|
|
428
|
+
type: import_sequelize_typescript2.DataType.STRING(60)
|
|
429
|
+
})
|
|
430
|
+
], appQueue.prototype, "createdBy", 2);
|
|
431
|
+
__decorateClass([
|
|
432
|
+
(0, import_sequelize_typescript2.Column)({
|
|
433
|
+
field: "created_date",
|
|
434
|
+
allowNull: true,
|
|
435
|
+
type: import_sequelize_typescript2.DataType.DATE
|
|
436
|
+
})
|
|
437
|
+
], appQueue.prototype, "createdDate", 2);
|
|
438
|
+
__decorateClass([
|
|
439
|
+
(0, import_sequelize_typescript2.Column)({
|
|
440
|
+
field: "updated_by",
|
|
441
|
+
allowNull: true,
|
|
442
|
+
type: import_sequelize_typescript2.DataType.STRING(60)
|
|
443
|
+
})
|
|
444
|
+
], appQueue.prototype, "updatedBy", 2);
|
|
445
|
+
__decorateClass([
|
|
446
|
+
(0, import_sequelize_typescript2.Column)({
|
|
447
|
+
field: "updated_date",
|
|
448
|
+
allowNull: true,
|
|
449
|
+
type: import_sequelize_typescript2.DataType.DATE
|
|
450
|
+
})
|
|
451
|
+
], appQueue.prototype, "updatedDate", 2);
|
|
452
|
+
__decorateClass([
|
|
453
|
+
(0, import_sequelize_typescript2.BelongsTo)(() => msWebsite)
|
|
454
|
+
], appQueue.prototype, "msWebsite", 2);
|
|
455
|
+
__decorateClass([
|
|
456
|
+
(0, import_sequelize_typescript2.BelongsTo)(() => msConsultChannels)
|
|
457
|
+
], appQueue.prototype, "msConsultChannel", 2);
|
|
458
|
+
appQueue = __decorateClass([
|
|
459
|
+
(0, import_sequelize_typescript2.Table)({
|
|
460
|
+
tableName: "app_queue",
|
|
461
|
+
timestamps: false
|
|
462
|
+
})
|
|
463
|
+
], appQueue);
|
|
464
|
+
|
|
465
|
+
// src/databases/tables/msConsultChannels.ts
|
|
466
|
+
var msConsultChannels = class extends import_sequelize_typescript3.Model {
|
|
467
|
+
};
|
|
468
|
+
__decorateClass([
|
|
469
|
+
(0, import_sequelize_typescript3.Column)({
|
|
470
|
+
primaryKey: true,
|
|
471
|
+
autoIncrement: true,
|
|
472
|
+
type: import_sequelize_typescript3.DataType.INTEGER
|
|
473
|
+
})
|
|
474
|
+
], msConsultChannels.prototype, "id", 2);
|
|
475
|
+
__decorateClass([
|
|
476
|
+
(0, import_sequelize_typescript3.Column)({
|
|
477
|
+
allowNull: true,
|
|
478
|
+
type: import_sequelize_typescript3.DataType.STRING(255)
|
|
479
|
+
})
|
|
480
|
+
], msConsultChannels.prototype, "name", 2);
|
|
481
|
+
__decorateClass([
|
|
482
|
+
(0, import_sequelize_typescript3.Column)({
|
|
483
|
+
allowNull: true,
|
|
484
|
+
type: import_sequelize_typescript3.DataType.INTEGER
|
|
485
|
+
})
|
|
486
|
+
], msConsultChannels.prototype, "sort", 2);
|
|
487
|
+
__decorateClass([
|
|
488
|
+
(0, import_sequelize_typescript3.Column)({
|
|
489
|
+
allowNull: true,
|
|
490
|
+
type: import_sequelize_typescript3.DataType.STRING(255)
|
|
491
|
+
})
|
|
492
|
+
], msConsultChannels.prototype, "message", 2);
|
|
493
|
+
__decorateClass([
|
|
494
|
+
(0, import_sequelize_typescript3.Column)({
|
|
495
|
+
allowNull: true,
|
|
496
|
+
type: import_sequelize_typescript3.DataType.INTEGER
|
|
497
|
+
})
|
|
498
|
+
], msConsultChannels.prototype, "status", 2);
|
|
499
|
+
__decorateClass([
|
|
500
|
+
(0, import_sequelize_typescript3.Column)({
|
|
501
|
+
field: "created_by",
|
|
502
|
+
allowNull: true,
|
|
503
|
+
type: import_sequelize_typescript3.DataType.STRING(60)
|
|
504
|
+
})
|
|
505
|
+
], msConsultChannels.prototype, "createdBy", 2);
|
|
506
|
+
__decorateClass([
|
|
507
|
+
(0, import_sequelize_typescript3.Column)({
|
|
508
|
+
field: "created_date",
|
|
509
|
+
allowNull: true,
|
|
510
|
+
type: import_sequelize_typescript3.DataType.DATE
|
|
511
|
+
})
|
|
512
|
+
], msConsultChannels.prototype, "createdDate", 2);
|
|
513
|
+
__decorateClass([
|
|
514
|
+
(0, import_sequelize_typescript3.Column)({
|
|
515
|
+
field: "updated_by",
|
|
516
|
+
allowNull: true,
|
|
517
|
+
type: import_sequelize_typescript3.DataType.STRING(60)
|
|
518
|
+
})
|
|
519
|
+
], msConsultChannels.prototype, "updatedBy", 2);
|
|
520
|
+
__decorateClass([
|
|
521
|
+
(0, import_sequelize_typescript3.Column)({
|
|
522
|
+
field: "updated_date",
|
|
523
|
+
allowNull: true,
|
|
524
|
+
type: import_sequelize_typescript3.DataType.DATE
|
|
88
525
|
})
|
|
89
526
|
], msConsultChannels.prototype, "updatedDate", 2);
|
|
527
|
+
__decorateClass([
|
|
528
|
+
(0, import_sequelize_typescript3.HasMany)(() => appQueue, {
|
|
529
|
+
sourceKey: "id"
|
|
530
|
+
})
|
|
531
|
+
], msConsultChannels.prototype, "appQueues", 2);
|
|
90
532
|
msConsultChannels = __decorateClass([
|
|
91
|
-
(0,
|
|
533
|
+
(0, import_sequelize_typescript3.Table)({
|
|
92
534
|
tableName: "ms_consult_channels",
|
|
93
535
|
timestamps: false
|
|
94
536
|
})
|
|
@@ -1,56 +1,2 @@
|
|
|
1
|
-
import
|
|
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
|
-
}
|
|
55
|
-
|
|
56
|
-
export { msWebsite, type msWebsiteAttributes };
|
|
1
|
+
import 'sequelize-typescript';
|
|
2
|
+
export { e as msWebsite, d as msWebsiteAttributes } from '../../appQueue-QJ9ECucz.js';
|