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