@admc-go-th/admc-library 1.0.130 → 1.0.133
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 → appQueue-HW5J6Gb9.d.ts} +6 -2
- package/{authAssignment-BAUCoEP6.d.ts → authAssignment-De3034JH.d.ts} +16 -0
- package/databases/schema/appQueue.ts +24 -8
- package/databases/schema/appScore.ts +8 -0
- package/databases/schema/formFaq.ts +126 -126
- package/databases/schema/index.ts +8 -5
- package/databases/schema/informationIndex.ts +211 -211
- package/databases/schema/informationIndexGroup.ts +103 -103
- package/databases/schema/mdDownloadBk.ts +136 -136
- package/databases/schema/msConsultCase.ts +0 -8
- package/databases/schema/msConsultSiteCase.ts +91 -0
- package/databases/schema/msConsultSiteIssue.ts +84 -0
- package/databases/schema/msExecutive.ts +0 -5
- 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/setting.ts +73 -73
- package/databases/schema/userPermissionV.ts +78 -0
- package/databases/schema/users.ts +62 -0
- package/databases/tables/appQueue.d.ts +1 -1
- package/databases/tables/appQueue.js +21 -7
- 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/index.d.ts +11 -7
- package/databases/tables/index.js +942 -690
- 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/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 +1 -1
- package/databases/tables/msConsultChannels.js +21 -7
- 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/msExecutive.d.ts +1 -1
- package/databases/tables/msExecutive.js +47 -152
- 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/msExecutiveGroup.d.ts +1 -1
- package/databases/tables/msExecutiveGroup.js +77 -184
- package/databases/tables/msExecutivePosition.d.ts +36 -2
- package/databases/tables/msExecutivePosition.js +0 -4
- 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 +1 -1
- package/databases/tables/msWebsite.js +21 -7
- 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/{msExecutive-BFeU4P0-.d.ts → msExecutive-Yxx8Wpkj.d.ts} +1 -34
- package/package.json +1 -1
|
@@ -31,7 +31,7 @@ __export(msExecutive_exports, {
|
|
|
31
31
|
msExecutive: () => msExecutive
|
|
32
32
|
});
|
|
33
33
|
module.exports = __toCommonJS(msExecutive_exports);
|
|
34
|
-
var
|
|
34
|
+
var import_sequelize_typescript2 = require("sequelize-typescript");
|
|
35
35
|
|
|
36
36
|
// src/databases/tables/msExecutiveGroup.ts
|
|
37
37
|
var import_sequelize_typescript = require("sequelize-typescript");
|
|
@@ -140,9 +140,8 @@ msExecutiveGroup = __decorateClass([
|
|
|
140
140
|
})
|
|
141
141
|
], msExecutiveGroup);
|
|
142
142
|
|
|
143
|
-
// src/databases/tables/
|
|
144
|
-
var
|
|
145
|
-
var msExecutivePosition = class extends import_sequelize_typescript2.Model {
|
|
143
|
+
// src/databases/tables/msExecutive.ts
|
|
144
|
+
var msExecutive = class extends import_sequelize_typescript2.Model {
|
|
146
145
|
};
|
|
147
146
|
__decorateClass([
|
|
148
147
|
(0, import_sequelize_typescript2.Column)({
|
|
@@ -150,255 +149,151 @@ __decorateClass([
|
|
|
150
149
|
autoIncrement: true,
|
|
151
150
|
type: import_sequelize_typescript2.DataType.INTEGER
|
|
152
151
|
})
|
|
153
|
-
],
|
|
152
|
+
], msExecutive.prototype, "id", 2);
|
|
154
153
|
__decorateClass([
|
|
154
|
+
(0, import_sequelize_typescript2.ForeignKey)(() => msExecutiveGroup),
|
|
155
155
|
(0, import_sequelize_typescript2.Column)({
|
|
156
156
|
field: "group_id",
|
|
157
157
|
allowNull: true,
|
|
158
158
|
type: import_sequelize_typescript2.DataType.INTEGER
|
|
159
159
|
})
|
|
160
|
-
], msExecutivePosition.prototype, "groupId", 2);
|
|
161
|
-
__decorateClass([
|
|
162
|
-
(0, import_sequelize_typescript2.Column)({
|
|
163
|
-
allowNull: true,
|
|
164
|
-
type: import_sequelize_typescript2.DataType.STRING(255)
|
|
165
|
-
})
|
|
166
|
-
], msExecutivePosition.prototype, "name", 2);
|
|
167
|
-
__decorateClass([
|
|
168
|
-
(0, import_sequelize_typescript2.Column)({
|
|
169
|
-
allowNull: true,
|
|
170
|
-
type: import_sequelize_typescript2.DataType.STRING(255)
|
|
171
|
-
})
|
|
172
|
-
], msExecutivePosition.prototype, "description", 2);
|
|
173
|
-
__decorateClass([
|
|
174
|
-
(0, import_sequelize_typescript2.Column)({
|
|
175
|
-
field: "updated_info",
|
|
176
|
-
allowNull: true,
|
|
177
|
-
type: import_sequelize_typescript2.DataType.STRING(255)
|
|
178
|
-
})
|
|
179
|
-
], msExecutivePosition.prototype, "updatedInfo", 2);
|
|
180
|
-
__decorateClass([
|
|
181
|
-
(0, import_sequelize_typescript2.Column)({
|
|
182
|
-
allowNull: true,
|
|
183
|
-
type: import_sequelize_typescript2.DataType.STRING
|
|
184
|
-
})
|
|
185
|
-
], msExecutivePosition.prototype, "remark", 2);
|
|
186
|
-
__decorateClass([
|
|
187
|
-
(0, import_sequelize_typescript2.Column)({
|
|
188
|
-
allowNull: true,
|
|
189
|
-
type: import_sequelize_typescript2.DataType.INTEGER
|
|
190
|
-
})
|
|
191
|
-
], msExecutivePosition.prototype, "sort", 2);
|
|
192
|
-
__decorateClass([
|
|
193
|
-
(0, import_sequelize_typescript2.Column)({
|
|
194
|
-
allowNull: true,
|
|
195
|
-
type: import_sequelize_typescript2.DataType.INTEGER
|
|
196
|
-
})
|
|
197
|
-
], msExecutivePosition.prototype, "status", 2);
|
|
198
|
-
__decorateClass([
|
|
199
|
-
(0, import_sequelize_typescript2.Column)({
|
|
200
|
-
allowNull: true,
|
|
201
|
-
type: import_sequelize_typescript2.DataType.JSON
|
|
202
|
-
})
|
|
203
|
-
], msExecutivePosition.prototype, "info", 2);
|
|
204
|
-
__decorateClass([
|
|
205
|
-
(0, import_sequelize_typescript2.Column)({
|
|
206
|
-
field: "created_by",
|
|
207
|
-
allowNull: true,
|
|
208
|
-
type: import_sequelize_typescript2.DataType.STRING(60)
|
|
209
|
-
})
|
|
210
|
-
], msExecutivePosition.prototype, "createdBy", 2);
|
|
211
|
-
__decorateClass([
|
|
212
|
-
(0, import_sequelize_typescript2.Column)({
|
|
213
|
-
field: "created_date",
|
|
214
|
-
allowNull: true,
|
|
215
|
-
type: import_sequelize_typescript2.DataType.DATE
|
|
216
|
-
})
|
|
217
|
-
], msExecutivePosition.prototype, "createdDate", 2);
|
|
218
|
-
__decorateClass([
|
|
219
|
-
(0, import_sequelize_typescript2.Column)({
|
|
220
|
-
field: "updated_by",
|
|
221
|
-
allowNull: true,
|
|
222
|
-
type: import_sequelize_typescript2.DataType.STRING(60)
|
|
223
|
-
})
|
|
224
|
-
], msExecutivePosition.prototype, "updatedBy", 2);
|
|
225
|
-
__decorateClass([
|
|
226
|
-
(0, import_sequelize_typescript2.Column)({
|
|
227
|
-
field: "updated_date",
|
|
228
|
-
allowNull: true,
|
|
229
|
-
type: import_sequelize_typescript2.DataType.DATE
|
|
230
|
-
})
|
|
231
|
-
], msExecutivePosition.prototype, "updatedDate", 2);
|
|
232
|
-
__decorateClass([
|
|
233
|
-
(0, import_sequelize_typescript2.HasMany)(() => msExecutive, {
|
|
234
|
-
sourceKey: "id"
|
|
235
|
-
})
|
|
236
|
-
], msExecutivePosition.prototype, "msExecutives", 2);
|
|
237
|
-
msExecutivePosition = __decorateClass([
|
|
238
|
-
(0, import_sequelize_typescript2.Table)({
|
|
239
|
-
tableName: "ms_executive_position",
|
|
240
|
-
timestamps: false
|
|
241
|
-
})
|
|
242
|
-
], msExecutivePosition);
|
|
243
|
-
|
|
244
|
-
// src/databases/tables/msExecutive.ts
|
|
245
|
-
var msExecutive = class extends import_sequelize_typescript3.Model {
|
|
246
|
-
};
|
|
247
|
-
__decorateClass([
|
|
248
|
-
(0, import_sequelize_typescript3.Column)({
|
|
249
|
-
primaryKey: true,
|
|
250
|
-
autoIncrement: true,
|
|
251
|
-
type: import_sequelize_typescript3.DataType.INTEGER
|
|
252
|
-
})
|
|
253
|
-
], msExecutive.prototype, "id", 2);
|
|
254
|
-
__decorateClass([
|
|
255
|
-
(0, import_sequelize_typescript3.ForeignKey)(() => msExecutiveGroup),
|
|
256
|
-
(0, import_sequelize_typescript3.Column)({
|
|
257
|
-
field: "group_id",
|
|
258
|
-
allowNull: true,
|
|
259
|
-
type: import_sequelize_typescript3.DataType.INTEGER
|
|
260
|
-
})
|
|
261
160
|
], msExecutive.prototype, "groupId", 2);
|
|
262
161
|
__decorateClass([
|
|
263
|
-
(0,
|
|
162
|
+
(0, import_sequelize_typescript2.Column)({
|
|
264
163
|
field: "level_id",
|
|
265
164
|
allowNull: true,
|
|
266
|
-
type:
|
|
165
|
+
type: import_sequelize_typescript2.DataType.INTEGER
|
|
267
166
|
})
|
|
268
167
|
], msExecutive.prototype, "levelId", 2);
|
|
269
168
|
__decorateClass([
|
|
270
|
-
(0,
|
|
169
|
+
(0, import_sequelize_typescript2.Column)({
|
|
271
170
|
field: "position_name",
|
|
272
171
|
allowNull: true,
|
|
273
|
-
type:
|
|
172
|
+
type: import_sequelize_typescript2.DataType.STRING(255)
|
|
274
173
|
})
|
|
275
174
|
], msExecutive.prototype, "positionName", 2);
|
|
276
175
|
__decorateClass([
|
|
277
|
-
(0,
|
|
176
|
+
(0, import_sequelize_typescript2.Column)({
|
|
278
177
|
field: "position_other",
|
|
279
178
|
allowNull: true,
|
|
280
|
-
type:
|
|
179
|
+
type: import_sequelize_typescript2.DataType.STRING(255)
|
|
281
180
|
})
|
|
282
181
|
], msExecutive.prototype, "positionOther", 2);
|
|
283
182
|
__decorateClass([
|
|
284
|
-
(0,
|
|
183
|
+
(0, import_sequelize_typescript2.Column)({
|
|
285
184
|
field: "title_id",
|
|
286
185
|
allowNull: true,
|
|
287
|
-
type:
|
|
186
|
+
type: import_sequelize_typescript2.DataType.INTEGER
|
|
288
187
|
})
|
|
289
188
|
], msExecutive.prototype, "titleId", 2);
|
|
290
189
|
__decorateClass([
|
|
291
|
-
(0,
|
|
190
|
+
(0, import_sequelize_typescript2.Column)({
|
|
292
191
|
field: "first_name",
|
|
293
192
|
allowNull: true,
|
|
294
|
-
type:
|
|
193
|
+
type: import_sequelize_typescript2.DataType.STRING(255)
|
|
295
194
|
})
|
|
296
195
|
], msExecutive.prototype, "firstName", 2);
|
|
297
196
|
__decorateClass([
|
|
298
|
-
(0,
|
|
197
|
+
(0, import_sequelize_typescript2.Column)({
|
|
299
198
|
field: "last_name",
|
|
300
199
|
allowNull: true,
|
|
301
|
-
type:
|
|
200
|
+
type: import_sequelize_typescript2.DataType.STRING(255)
|
|
302
201
|
})
|
|
303
202
|
], msExecutive.prototype, "lastName", 2);
|
|
304
203
|
__decorateClass([
|
|
305
|
-
(0,
|
|
204
|
+
(0, import_sequelize_typescript2.Column)({
|
|
306
205
|
allowNull: true,
|
|
307
|
-
type:
|
|
206
|
+
type: import_sequelize_typescript2.DataType.STRING(255)
|
|
308
207
|
})
|
|
309
208
|
], msExecutive.prototype, "email", 2);
|
|
310
209
|
__decorateClass([
|
|
311
|
-
(0,
|
|
210
|
+
(0, import_sequelize_typescript2.Column)({
|
|
312
211
|
allowNull: true,
|
|
313
|
-
type:
|
|
212
|
+
type: import_sequelize_typescript2.DataType.STRING(255)
|
|
314
213
|
})
|
|
315
214
|
], msExecutive.prototype, "phone", 2);
|
|
316
215
|
__decorateClass([
|
|
317
|
-
(0,
|
|
216
|
+
(0, import_sequelize_typescript2.Column)({
|
|
318
217
|
allowNull: true,
|
|
319
|
-
type:
|
|
218
|
+
type: import_sequelize_typescript2.DataType.STRING(255)
|
|
320
219
|
})
|
|
321
220
|
], msExecutive.prototype, "fax", 2);
|
|
322
221
|
__decorateClass([
|
|
323
|
-
(0,
|
|
222
|
+
(0, import_sequelize_typescript2.Column)({
|
|
324
223
|
allowNull: true,
|
|
325
|
-
type:
|
|
224
|
+
type: import_sequelize_typescript2.DataType.STRING(255)
|
|
326
225
|
})
|
|
327
226
|
], msExecutive.prototype, "education", 2);
|
|
328
227
|
__decorateClass([
|
|
329
|
-
(0,
|
|
228
|
+
(0, import_sequelize_typescript2.Column)({
|
|
330
229
|
allowNull: true,
|
|
331
|
-
type:
|
|
230
|
+
type: import_sequelize_typescript2.DataType.STRING(255)
|
|
332
231
|
})
|
|
333
232
|
], msExecutive.prototype, "experience", 2);
|
|
334
233
|
__decorateClass([
|
|
335
|
-
(0,
|
|
234
|
+
(0, import_sequelize_typescript2.Column)({
|
|
336
235
|
allowNull: true,
|
|
337
|
-
type:
|
|
236
|
+
type: import_sequelize_typescript2.DataType.STRING(255)
|
|
338
237
|
})
|
|
339
238
|
], msExecutive.prototype, "image", 2);
|
|
340
239
|
__decorateClass([
|
|
341
|
-
(0,
|
|
240
|
+
(0, import_sequelize_typescript2.Column)({
|
|
342
241
|
allowNull: true,
|
|
343
|
-
type:
|
|
242
|
+
type: import_sequelize_typescript2.DataType.INTEGER
|
|
344
243
|
})
|
|
345
244
|
], msExecutive.prototype, "sort", 2);
|
|
346
245
|
__decorateClass([
|
|
347
|
-
(0,
|
|
246
|
+
(0, import_sequelize_typescript2.Column)({
|
|
348
247
|
allowNull: true,
|
|
349
|
-
type:
|
|
248
|
+
type: import_sequelize_typescript2.DataType.INTEGER
|
|
350
249
|
})
|
|
351
250
|
], msExecutive.prototype, "status", 2);
|
|
352
251
|
__decorateClass([
|
|
353
|
-
(0,
|
|
252
|
+
(0, import_sequelize_typescript2.Column)({
|
|
354
253
|
allowNull: true,
|
|
355
|
-
type:
|
|
254
|
+
type: import_sequelize_typescript2.DataType.JSON
|
|
356
255
|
})
|
|
357
256
|
], msExecutive.prototype, "info", 2);
|
|
358
257
|
__decorateClass([
|
|
359
|
-
(0,
|
|
258
|
+
(0, import_sequelize_typescript2.Column)({
|
|
360
259
|
field: "created_by",
|
|
361
260
|
allowNull: true,
|
|
362
|
-
type:
|
|
261
|
+
type: import_sequelize_typescript2.DataType.STRING(60)
|
|
363
262
|
})
|
|
364
263
|
], msExecutive.prototype, "createdBy", 2);
|
|
365
264
|
__decorateClass([
|
|
366
|
-
(0,
|
|
265
|
+
(0, import_sequelize_typescript2.Column)({
|
|
367
266
|
field: "created_date",
|
|
368
267
|
allowNull: true,
|
|
369
|
-
type:
|
|
268
|
+
type: import_sequelize_typescript2.DataType.DATE
|
|
370
269
|
})
|
|
371
270
|
], msExecutive.prototype, "createdDate", 2);
|
|
372
271
|
__decorateClass([
|
|
373
|
-
(0,
|
|
272
|
+
(0, import_sequelize_typescript2.Column)({
|
|
374
273
|
field: "updated_by",
|
|
375
274
|
allowNull: true,
|
|
376
|
-
type:
|
|
275
|
+
type: import_sequelize_typescript2.DataType.STRING(60)
|
|
377
276
|
})
|
|
378
277
|
], msExecutive.prototype, "updatedBy", 2);
|
|
379
278
|
__decorateClass([
|
|
380
|
-
(0,
|
|
279
|
+
(0, import_sequelize_typescript2.Column)({
|
|
381
280
|
field: "updated_date",
|
|
382
281
|
allowNull: true,
|
|
383
|
-
type:
|
|
282
|
+
type: import_sequelize_typescript2.DataType.DATE
|
|
384
283
|
})
|
|
385
284
|
], msExecutive.prototype, "updatedDate", 2);
|
|
386
285
|
__decorateClass([
|
|
387
|
-
(0,
|
|
388
|
-
(0, import_sequelize_typescript3.Column)({
|
|
286
|
+
(0, import_sequelize_typescript2.Column)({
|
|
389
287
|
field: "position_id",
|
|
390
288
|
allowNull: true,
|
|
391
|
-
type:
|
|
289
|
+
type: import_sequelize_typescript2.DataType.INTEGER
|
|
392
290
|
})
|
|
393
291
|
], msExecutive.prototype, "positionId", 2);
|
|
394
292
|
__decorateClass([
|
|
395
|
-
(0,
|
|
293
|
+
(0, import_sequelize_typescript2.BelongsTo)(() => msExecutiveGroup)
|
|
396
294
|
], msExecutive.prototype, "msExecutiveGroup", 2);
|
|
397
|
-
__decorateClass([
|
|
398
|
-
(0, import_sequelize_typescript3.BelongsTo)(() => msExecutivePosition)
|
|
399
|
-
], msExecutive.prototype, "msExecutivePosition", 2);
|
|
400
295
|
msExecutive = __decorateClass([
|
|
401
|
-
(0,
|
|
296
|
+
(0, import_sequelize_typescript2.Table)({
|
|
402
297
|
tableName: "ms_executive",
|
|
403
298
|
timestamps: false
|
|
404
299
|
})
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { Model } from 'sequelize-typescript';
|
|
2
|
+
|
|
3
|
+
interface msExecutiveActingAttributes {
|
|
4
|
+
id?: number;
|
|
5
|
+
name?: string;
|
|
6
|
+
info?: object;
|
|
7
|
+
status?: number;
|
|
8
|
+
createdBy?: string;
|
|
9
|
+
createdDate?: Date;
|
|
10
|
+
updatedBy?: string;
|
|
11
|
+
updatedDate?: Date;
|
|
12
|
+
}
|
|
13
|
+
declare class msExecutiveActing extends Model<msExecutiveActingAttributes, msExecutiveActingAttributes> implements msExecutiveActingAttributes {
|
|
14
|
+
id?: number;
|
|
15
|
+
name?: string;
|
|
16
|
+
info?: object;
|
|
17
|
+
status?: number;
|
|
18
|
+
createdBy?: string;
|
|
19
|
+
createdDate?: Date;
|
|
20
|
+
updatedBy?: string;
|
|
21
|
+
updatedDate?: Date;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
export { msExecutiveActing, type msExecutiveActingAttributes };
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
var __decorateClass = (decorators, target, key, kind) => {
|
|
20
|
+
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc(target, key) : target;
|
|
21
|
+
for (var i = decorators.length - 1, decorator; i >= 0; i--)
|
|
22
|
+
if (decorator = decorators[i])
|
|
23
|
+
result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
|
24
|
+
if (kind && result) __defProp(target, key, result);
|
|
25
|
+
return result;
|
|
26
|
+
};
|
|
27
|
+
|
|
28
|
+
// src/databases/tables/msExecutiveActing.ts
|
|
29
|
+
var msExecutiveActing_exports = {};
|
|
30
|
+
__export(msExecutiveActing_exports, {
|
|
31
|
+
msExecutiveActing: () => msExecutiveActing
|
|
32
|
+
});
|
|
33
|
+
module.exports = __toCommonJS(msExecutiveActing_exports);
|
|
34
|
+
var import_sequelize_typescript = require("sequelize-typescript");
|
|
35
|
+
var msExecutiveActing = class extends import_sequelize_typescript.Model {
|
|
36
|
+
};
|
|
37
|
+
__decorateClass([
|
|
38
|
+
(0, import_sequelize_typescript.Column)({
|
|
39
|
+
primaryKey: true,
|
|
40
|
+
autoIncrement: true,
|
|
41
|
+
type: import_sequelize_typescript.DataType.INTEGER
|
|
42
|
+
})
|
|
43
|
+
], msExecutiveActing.prototype, "id", 2);
|
|
44
|
+
__decorateClass([
|
|
45
|
+
(0, import_sequelize_typescript.Column)({
|
|
46
|
+
allowNull: true,
|
|
47
|
+
type: import_sequelize_typescript.DataType.STRING(255)
|
|
48
|
+
})
|
|
49
|
+
], msExecutiveActing.prototype, "name", 2);
|
|
50
|
+
__decorateClass([
|
|
51
|
+
(0, import_sequelize_typescript.Column)({
|
|
52
|
+
allowNull: true,
|
|
53
|
+
type: import_sequelize_typescript.DataType.JSON
|
|
54
|
+
})
|
|
55
|
+
], msExecutiveActing.prototype, "info", 2);
|
|
56
|
+
__decorateClass([
|
|
57
|
+
(0, import_sequelize_typescript.Column)({
|
|
58
|
+
allowNull: true,
|
|
59
|
+
type: import_sequelize_typescript.DataType.INTEGER
|
|
60
|
+
})
|
|
61
|
+
], msExecutiveActing.prototype, "status", 2);
|
|
62
|
+
__decorateClass([
|
|
63
|
+
(0, import_sequelize_typescript.Column)({
|
|
64
|
+
field: "created_by",
|
|
65
|
+
allowNull: true,
|
|
66
|
+
type: import_sequelize_typescript.DataType.STRING(60)
|
|
67
|
+
})
|
|
68
|
+
], msExecutiveActing.prototype, "createdBy", 2);
|
|
69
|
+
__decorateClass([
|
|
70
|
+
(0, import_sequelize_typescript.Column)({
|
|
71
|
+
field: "created_date",
|
|
72
|
+
allowNull: true,
|
|
73
|
+
type: import_sequelize_typescript.DataType.DATE
|
|
74
|
+
})
|
|
75
|
+
], msExecutiveActing.prototype, "createdDate", 2);
|
|
76
|
+
__decorateClass([
|
|
77
|
+
(0, import_sequelize_typescript.Column)({
|
|
78
|
+
field: "updated_by",
|
|
79
|
+
allowNull: true,
|
|
80
|
+
type: import_sequelize_typescript.DataType.STRING(60)
|
|
81
|
+
})
|
|
82
|
+
], msExecutiveActing.prototype, "updatedBy", 2);
|
|
83
|
+
__decorateClass([
|
|
84
|
+
(0, import_sequelize_typescript.Column)({
|
|
85
|
+
field: "updated_date",
|
|
86
|
+
allowNull: true,
|
|
87
|
+
type: import_sequelize_typescript.DataType.DATE
|
|
88
|
+
})
|
|
89
|
+
], msExecutiveActing.prototype, "updatedDate", 2);
|
|
90
|
+
msExecutiveActing = __decorateClass([
|
|
91
|
+
(0, import_sequelize_typescript.Table)({
|
|
92
|
+
tableName: "ms_executive_acting",
|
|
93
|
+
timestamps: false
|
|
94
|
+
})
|
|
95
|
+
], msExecutiveActing);
|
|
96
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
97
|
+
0 && (module.exports = {
|
|
98
|
+
msExecutiveActing
|
|
99
|
+
});
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { Model } from 'sequelize-typescript';
|
|
2
|
+
|
|
3
|
+
interface msExecutiveBoardBkAttributes {
|
|
4
|
+
id?: number;
|
|
5
|
+
name?: string;
|
|
6
|
+
nameInfo?: object;
|
|
7
|
+
sort?: string;
|
|
8
|
+
status?: string;
|
|
9
|
+
createdBy?: string;
|
|
10
|
+
createdDate?: Date;
|
|
11
|
+
updatedBy?: string;
|
|
12
|
+
updatedDate?: Date;
|
|
13
|
+
}
|
|
14
|
+
declare class msExecutiveBoardBk extends Model<msExecutiveBoardBkAttributes, msExecutiveBoardBkAttributes> implements msExecutiveBoardBkAttributes {
|
|
15
|
+
id?: number;
|
|
16
|
+
name?: string;
|
|
17
|
+
nameInfo?: object;
|
|
18
|
+
sort?: string;
|
|
19
|
+
status?: string;
|
|
20
|
+
createdBy?: string;
|
|
21
|
+
createdDate?: Date;
|
|
22
|
+
updatedBy?: string;
|
|
23
|
+
updatedDate?: Date;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
export { msExecutiveBoardBk, type msExecutiveBoardBkAttributes };
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
var __decorateClass = (decorators, target, key, kind) => {
|
|
20
|
+
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc(target, key) : target;
|
|
21
|
+
for (var i = decorators.length - 1, decorator; i >= 0; i--)
|
|
22
|
+
if (decorator = decorators[i])
|
|
23
|
+
result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
|
24
|
+
if (kind && result) __defProp(target, key, result);
|
|
25
|
+
return result;
|
|
26
|
+
};
|
|
27
|
+
|
|
28
|
+
// src/databases/tables/msExecutiveBoardBk.ts
|
|
29
|
+
var msExecutiveBoardBk_exports = {};
|
|
30
|
+
__export(msExecutiveBoardBk_exports, {
|
|
31
|
+
msExecutiveBoardBk: () => msExecutiveBoardBk
|
|
32
|
+
});
|
|
33
|
+
module.exports = __toCommonJS(msExecutiveBoardBk_exports);
|
|
34
|
+
var import_sequelize_typescript = require("sequelize-typescript");
|
|
35
|
+
var msExecutiveBoardBk = class extends import_sequelize_typescript.Model {
|
|
36
|
+
};
|
|
37
|
+
__decorateClass([
|
|
38
|
+
(0, import_sequelize_typescript.Column)({
|
|
39
|
+
primaryKey: true,
|
|
40
|
+
autoIncrement: true,
|
|
41
|
+
type: import_sequelize_typescript.DataType.INTEGER
|
|
42
|
+
})
|
|
43
|
+
], msExecutiveBoardBk.prototype, "id", 2);
|
|
44
|
+
__decorateClass([
|
|
45
|
+
(0, import_sequelize_typescript.Column)({
|
|
46
|
+
allowNull: true,
|
|
47
|
+
type: import_sequelize_typescript.DataType.STRING(255)
|
|
48
|
+
})
|
|
49
|
+
], msExecutiveBoardBk.prototype, "name", 2);
|
|
50
|
+
__decorateClass([
|
|
51
|
+
(0, import_sequelize_typescript.Column)({
|
|
52
|
+
field: "name_info",
|
|
53
|
+
allowNull: true,
|
|
54
|
+
type: import_sequelize_typescript.DataType.JSON
|
|
55
|
+
})
|
|
56
|
+
], msExecutiveBoardBk.prototype, "nameInfo", 2);
|
|
57
|
+
__decorateClass([
|
|
58
|
+
(0, import_sequelize_typescript.Column)({
|
|
59
|
+
allowNull: true,
|
|
60
|
+
type: import_sequelize_typescript.DataType.STRING(255)
|
|
61
|
+
})
|
|
62
|
+
], msExecutiveBoardBk.prototype, "sort", 2);
|
|
63
|
+
__decorateClass([
|
|
64
|
+
(0, import_sequelize_typescript.Column)({
|
|
65
|
+
allowNull: true,
|
|
66
|
+
type: import_sequelize_typescript.DataType.STRING(255)
|
|
67
|
+
})
|
|
68
|
+
], msExecutiveBoardBk.prototype, "status", 2);
|
|
69
|
+
__decorateClass([
|
|
70
|
+
(0, import_sequelize_typescript.Column)({
|
|
71
|
+
field: "created_by",
|
|
72
|
+
allowNull: true,
|
|
73
|
+
type: import_sequelize_typescript.DataType.STRING(60)
|
|
74
|
+
})
|
|
75
|
+
], msExecutiveBoardBk.prototype, "createdBy", 2);
|
|
76
|
+
__decorateClass([
|
|
77
|
+
(0, import_sequelize_typescript.Column)({
|
|
78
|
+
field: "created_date",
|
|
79
|
+
allowNull: true,
|
|
80
|
+
type: import_sequelize_typescript.DataType.DATE
|
|
81
|
+
})
|
|
82
|
+
], msExecutiveBoardBk.prototype, "createdDate", 2);
|
|
83
|
+
__decorateClass([
|
|
84
|
+
(0, import_sequelize_typescript.Column)({
|
|
85
|
+
field: "updated_by",
|
|
86
|
+
allowNull: true,
|
|
87
|
+
type: import_sequelize_typescript.DataType.STRING(60)
|
|
88
|
+
})
|
|
89
|
+
], msExecutiveBoardBk.prototype, "updatedBy", 2);
|
|
90
|
+
__decorateClass([
|
|
91
|
+
(0, import_sequelize_typescript.Column)({
|
|
92
|
+
field: "updated_date",
|
|
93
|
+
allowNull: true,
|
|
94
|
+
type: import_sequelize_typescript.DataType.DATE
|
|
95
|
+
})
|
|
96
|
+
], msExecutiveBoardBk.prototype, "updatedDate", 2);
|
|
97
|
+
msExecutiveBoardBk = __decorateClass([
|
|
98
|
+
(0, import_sequelize_typescript.Table)({
|
|
99
|
+
tableName: "ms_executive_board@bk",
|
|
100
|
+
timestamps: false
|
|
101
|
+
})
|
|
102
|
+
], msExecutiveBoardBk);
|
|
103
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
104
|
+
0 && (module.exports = {
|
|
105
|
+
msExecutiveBoardBk
|
|
106
|
+
});
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import 'sequelize-typescript';
|
|
2
|
-
export { c as msExecutiveGroup, b as msExecutiveGroupAttributes } from '../../msExecutive-
|
|
2
|
+
export { c as msExecutiveGroup, b as msExecutiveGroupAttributes } from '../../msExecutive-Yxx8Wpkj.js';
|