@admc-go-th/admc-library 1.0.113 → 1.0.114
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/databases/schema/index.ts +2 -0
- package/databases/schema/msExecutive.ts +64 -7
- package/databases/schema/msExecutiveGroup.ts +112 -0
- package/databases/schema/msExecutivePosition.ts +89 -0
- package/databases/tables/index.d.ts +2 -0
- package/databases/tables/index.js +506 -281
- package/databases/tables/msExecutive.d.ts +20 -4
- package/databases/tables/msExecutive.js +54 -5
- package/databases/tables/msExecutiveGroup.d.ts +34 -0
- package/databases/tables/msExecutiveGroup.js +131 -0
- package/databases/tables/msExecutivePosition.d.ts +28 -0
- package/databases/tables/msExecutivePosition.js +111 -0
- package/package.json +1 -1
|
@@ -76,6 +76,8 @@ __export(tables_exports, {
|
|
|
76
76
|
menu: () => menu,
|
|
77
77
|
msExecutive: () => msExecutive,
|
|
78
78
|
msExecutiveBoard: () => msExecutiveBoard,
|
|
79
|
+
msExecutiveGroup: () => msExecutiveGroup,
|
|
80
|
+
msExecutivePosition: () => msExecutivePosition,
|
|
79
81
|
msGuidelines: () => msGuidelines,
|
|
80
82
|
msHoliday: () => msHoliday,
|
|
81
83
|
msModule: () => msModule,
|
|
@@ -6025,6 +6027,27 @@ __decorateClass([
|
|
|
6025
6027
|
type: import_sequelize_typescript50.DataType.INTEGER
|
|
6026
6028
|
})
|
|
6027
6029
|
], msExecutive.prototype, "id", 2);
|
|
6030
|
+
__decorateClass([
|
|
6031
|
+
(0, import_sequelize_typescript50.Column)({
|
|
6032
|
+
field: "group_id",
|
|
6033
|
+
allowNull: true,
|
|
6034
|
+
type: import_sequelize_typescript50.DataType.INTEGER
|
|
6035
|
+
})
|
|
6036
|
+
], msExecutive.prototype, "groupId", 2);
|
|
6037
|
+
__decorateClass([
|
|
6038
|
+
(0, import_sequelize_typescript50.Column)({
|
|
6039
|
+
field: "position_id",
|
|
6040
|
+
allowNull: true,
|
|
6041
|
+
type: import_sequelize_typescript50.DataType.INTEGER
|
|
6042
|
+
})
|
|
6043
|
+
], msExecutive.prototype, "positionId", 2);
|
|
6044
|
+
__decorateClass([
|
|
6045
|
+
(0, import_sequelize_typescript50.Column)({
|
|
6046
|
+
field: "position_other",
|
|
6047
|
+
allowNull: true,
|
|
6048
|
+
type: import_sequelize_typescript50.DataType.STRING(255)
|
|
6049
|
+
})
|
|
6050
|
+
], msExecutive.prototype, "positionOther", 2);
|
|
6028
6051
|
__decorateClass([
|
|
6029
6052
|
(0, import_sequelize_typescript50.Column)({
|
|
6030
6053
|
field: "title_id",
|
|
@@ -6048,30 +6071,58 @@ __decorateClass([
|
|
|
6048
6071
|
], msExecutive.prototype, "lastName", 2);
|
|
6049
6072
|
__decorateClass([
|
|
6050
6073
|
(0, import_sequelize_typescript50.Column)({
|
|
6051
|
-
field: "first_name_en",
|
|
6052
6074
|
allowNull: true,
|
|
6053
6075
|
type: import_sequelize_typescript50.DataType.STRING(255)
|
|
6054
6076
|
})
|
|
6055
|
-
], msExecutive.prototype, "
|
|
6077
|
+
], msExecutive.prototype, "email", 2);
|
|
6056
6078
|
__decorateClass([
|
|
6057
6079
|
(0, import_sequelize_typescript50.Column)({
|
|
6058
|
-
field: "last_name_en",
|
|
6059
6080
|
allowNull: true,
|
|
6060
6081
|
type: import_sequelize_typescript50.DataType.STRING(255)
|
|
6061
6082
|
})
|
|
6062
|
-
], msExecutive.prototype, "
|
|
6083
|
+
], msExecutive.prototype, "phone", 2);
|
|
6063
6084
|
__decorateClass([
|
|
6064
6085
|
(0, import_sequelize_typescript50.Column)({
|
|
6065
6086
|
allowNull: true,
|
|
6066
6087
|
type: import_sequelize_typescript50.DataType.STRING(255)
|
|
6067
6088
|
})
|
|
6068
|
-
], msExecutive.prototype, "
|
|
6089
|
+
], msExecutive.prototype, "fax", 2);
|
|
6090
|
+
__decorateClass([
|
|
6091
|
+
(0, import_sequelize_typescript50.Column)({
|
|
6092
|
+
allowNull: true,
|
|
6093
|
+
type: import_sequelize_typescript50.DataType.STRING(255)
|
|
6094
|
+
})
|
|
6095
|
+
], msExecutive.prototype, "education", 2);
|
|
6096
|
+
__decorateClass([
|
|
6097
|
+
(0, import_sequelize_typescript50.Column)({
|
|
6098
|
+
allowNull: true,
|
|
6099
|
+
type: import_sequelize_typescript50.DataType.STRING(255)
|
|
6100
|
+
})
|
|
6101
|
+
], msExecutive.prototype, "experience", 2);
|
|
6102
|
+
__decorateClass([
|
|
6103
|
+
(0, import_sequelize_typescript50.Column)({
|
|
6104
|
+
allowNull: true,
|
|
6105
|
+
type: import_sequelize_typescript50.DataType.STRING(255)
|
|
6106
|
+
})
|
|
6107
|
+
], msExecutive.prototype, "image", 2);
|
|
6108
|
+
__decorateClass([
|
|
6109
|
+
(0, import_sequelize_typescript50.Column)({
|
|
6110
|
+
allowNull: true,
|
|
6111
|
+
type: import_sequelize_typescript50.DataType.INTEGER
|
|
6112
|
+
})
|
|
6113
|
+
], msExecutive.prototype, "sort", 2);
|
|
6069
6114
|
__decorateClass([
|
|
6070
6115
|
(0, import_sequelize_typescript50.Column)({
|
|
6071
6116
|
allowNull: true,
|
|
6072
6117
|
type: import_sequelize_typescript50.DataType.STRING(255)
|
|
6073
6118
|
})
|
|
6074
6119
|
], msExecutive.prototype, "status", 2);
|
|
6120
|
+
__decorateClass([
|
|
6121
|
+
(0, import_sequelize_typescript50.Column)({
|
|
6122
|
+
allowNull: true,
|
|
6123
|
+
type: import_sequelize_typescript50.DataType.JSON
|
|
6124
|
+
})
|
|
6125
|
+
], msExecutive.prototype, "info", 2);
|
|
6075
6126
|
__decorateClass([
|
|
6076
6127
|
(0, import_sequelize_typescript50.Column)({
|
|
6077
6128
|
field: "created_by",
|
|
@@ -6178,9 +6229,9 @@ msExecutiveBoard = __decorateClass([
|
|
|
6178
6229
|
})
|
|
6179
6230
|
], msExecutiveBoard);
|
|
6180
6231
|
|
|
6181
|
-
// src/databases/tables/
|
|
6232
|
+
// src/databases/tables/msExecutiveGroup.ts
|
|
6182
6233
|
var import_sequelize_typescript52 = require("sequelize-typescript");
|
|
6183
|
-
var
|
|
6234
|
+
var msExecutiveGroup = class extends import_sequelize_typescript52.Model {
|
|
6184
6235
|
};
|
|
6185
6236
|
__decorateClass([
|
|
6186
6237
|
(0, import_sequelize_typescript52.Column)({
|
|
@@ -6188,75 +6239,95 @@ __decorateClass([
|
|
|
6188
6239
|
autoIncrement: true,
|
|
6189
6240
|
type: import_sequelize_typescript52.DataType.INTEGER
|
|
6190
6241
|
})
|
|
6191
|
-
],
|
|
6242
|
+
], msExecutiveGroup.prototype, "id", 2);
|
|
6243
|
+
__decorateClass([
|
|
6244
|
+
(0, import_sequelize_typescript52.Column)({
|
|
6245
|
+
allowNull: true,
|
|
6246
|
+
type: import_sequelize_typescript52.DataType.STRING(60)
|
|
6247
|
+
})
|
|
6248
|
+
], msExecutiveGroup.prototype, "uuid", 2);
|
|
6192
6249
|
__decorateClass([
|
|
6193
6250
|
(0, import_sequelize_typescript52.Column)({
|
|
6194
6251
|
allowNull: true,
|
|
6195
|
-
type: import_sequelize_typescript52.DataType.STRING(
|
|
6252
|
+
type: import_sequelize_typescript52.DataType.STRING(255)
|
|
6196
6253
|
})
|
|
6197
|
-
],
|
|
6254
|
+
], msExecutiveGroup.prototype, "name", 2);
|
|
6198
6255
|
__decorateClass([
|
|
6199
6256
|
(0, import_sequelize_typescript52.Column)({
|
|
6200
6257
|
allowNull: true,
|
|
6201
6258
|
type: import_sequelize_typescript52.DataType.STRING(255)
|
|
6202
6259
|
})
|
|
6203
|
-
],
|
|
6260
|
+
], msExecutiveGroup.prototype, "description", 2);
|
|
6204
6261
|
__decorateClass([
|
|
6205
6262
|
(0, import_sequelize_typescript52.Column)({
|
|
6263
|
+
field: "start_date",
|
|
6206
6264
|
allowNull: true,
|
|
6207
|
-
type: import_sequelize_typescript52.DataType.
|
|
6265
|
+
type: import_sequelize_typescript52.DataType.DATEONLY
|
|
6208
6266
|
})
|
|
6209
|
-
],
|
|
6267
|
+
], msExecutiveGroup.prototype, "startDate", 2);
|
|
6268
|
+
__decorateClass([
|
|
6269
|
+
(0, import_sequelize_typescript52.Column)({
|
|
6270
|
+
field: "end_date",
|
|
6271
|
+
allowNull: true,
|
|
6272
|
+
type: import_sequelize_typescript52.DataType.DATEONLY
|
|
6273
|
+
})
|
|
6274
|
+
], msExecutiveGroup.prototype, "endDate", 2);
|
|
6210
6275
|
__decorateClass([
|
|
6211
6276
|
(0, import_sequelize_typescript52.Column)({
|
|
6212
6277
|
allowNull: true,
|
|
6213
6278
|
type: import_sequelize_typescript52.DataType.INTEGER
|
|
6214
6279
|
})
|
|
6215
|
-
],
|
|
6280
|
+
], msExecutiveGroup.prototype, "sort", 2);
|
|
6216
6281
|
__decorateClass([
|
|
6217
6282
|
(0, import_sequelize_typescript52.Column)({
|
|
6218
6283
|
allowNull: true,
|
|
6219
6284
|
type: import_sequelize_typescript52.DataType.INTEGER
|
|
6220
6285
|
})
|
|
6221
|
-
],
|
|
6286
|
+
], msExecutiveGroup.prototype, "status", 2);
|
|
6287
|
+
__decorateClass([
|
|
6288
|
+
(0, import_sequelize_typescript52.Column)({
|
|
6289
|
+
allowNull: true,
|
|
6290
|
+
type: import_sequelize_typescript52.DataType.JSON
|
|
6291
|
+
})
|
|
6292
|
+
], msExecutiveGroup.prototype, "info", 2);
|
|
6222
6293
|
__decorateClass([
|
|
6223
6294
|
(0, import_sequelize_typescript52.Column)({
|
|
6224
6295
|
field: "created_by",
|
|
6225
6296
|
allowNull: true,
|
|
6226
6297
|
type: import_sequelize_typescript52.DataType.STRING(60)
|
|
6227
6298
|
})
|
|
6228
|
-
],
|
|
6299
|
+
], msExecutiveGroup.prototype, "createdBy", 2);
|
|
6229
6300
|
__decorateClass([
|
|
6230
6301
|
(0, import_sequelize_typescript52.Column)({
|
|
6231
6302
|
field: "created_date",
|
|
6232
6303
|
allowNull: true,
|
|
6233
6304
|
type: import_sequelize_typescript52.DataType.DATE
|
|
6234
6305
|
})
|
|
6235
|
-
],
|
|
6306
|
+
], msExecutiveGroup.prototype, "createdDate", 2);
|
|
6236
6307
|
__decorateClass([
|
|
6237
6308
|
(0, import_sequelize_typescript52.Column)({
|
|
6238
6309
|
field: "updated_by",
|
|
6239
6310
|
allowNull: true,
|
|
6240
6311
|
type: import_sequelize_typescript52.DataType.STRING(60)
|
|
6241
6312
|
})
|
|
6242
|
-
],
|
|
6313
|
+
], msExecutiveGroup.prototype, "updatedBy", 2);
|
|
6243
6314
|
__decorateClass([
|
|
6244
6315
|
(0, import_sequelize_typescript52.Column)({
|
|
6245
6316
|
field: "updated_date",
|
|
6246
6317
|
allowNull: true,
|
|
6247
6318
|
type: import_sequelize_typescript52.DataType.DATE
|
|
6248
6319
|
})
|
|
6249
|
-
],
|
|
6250
|
-
|
|
6320
|
+
], msExecutiveGroup.prototype, "updatedDate", 2);
|
|
6321
|
+
msExecutiveGroup = __decorateClass([
|
|
6251
6322
|
(0, import_sequelize_typescript52.Table)({
|
|
6252
|
-
tableName: "
|
|
6323
|
+
tableName: "ms_executive_group",
|
|
6253
6324
|
timestamps: false
|
|
6254
6325
|
})
|
|
6255
|
-
],
|
|
6326
|
+
], msExecutiveGroup);
|
|
6256
6327
|
|
|
6257
|
-
// src/databases/tables/
|
|
6328
|
+
// src/databases/tables/msExecutivePosition.ts
|
|
6258
6329
|
var import_sequelize_typescript53 = require("sequelize-typescript");
|
|
6259
|
-
var
|
|
6330
|
+
var msExecutivePosition = class extends import_sequelize_typescript53.Model {
|
|
6260
6331
|
};
|
|
6261
6332
|
__decorateClass([
|
|
6262
6333
|
(0, import_sequelize_typescript53.Column)({
|
|
@@ -6264,135 +6335,151 @@ __decorateClass([
|
|
|
6264
6335
|
autoIncrement: true,
|
|
6265
6336
|
type: import_sequelize_typescript53.DataType.INTEGER
|
|
6266
6337
|
})
|
|
6267
|
-
],
|
|
6338
|
+
], msExecutivePosition.prototype, "id", 2);
|
|
6268
6339
|
__decorateClass([
|
|
6269
6340
|
(0, import_sequelize_typescript53.Column)({
|
|
6270
6341
|
allowNull: true,
|
|
6271
6342
|
type: import_sequelize_typescript53.DataType.STRING(255)
|
|
6272
6343
|
})
|
|
6273
|
-
],
|
|
6344
|
+
], msExecutivePosition.prototype, "name", 2);
|
|
6274
6345
|
__decorateClass([
|
|
6275
6346
|
(0, import_sequelize_typescript53.Column)({
|
|
6276
|
-
field: "check_date",
|
|
6277
6347
|
allowNull: true,
|
|
6278
|
-
type: import_sequelize_typescript53.DataType.
|
|
6348
|
+
type: import_sequelize_typescript53.DataType.STRING(255)
|
|
6279
6349
|
})
|
|
6280
|
-
],
|
|
6350
|
+
], msExecutivePosition.prototype, "description", 2);
|
|
6281
6351
|
__decorateClass([
|
|
6282
6352
|
(0, import_sequelize_typescript53.Column)({
|
|
6283
6353
|
allowNull: true,
|
|
6284
|
-
type: import_sequelize_typescript53.DataType.
|
|
6354
|
+
type: import_sequelize_typescript53.DataType.INTEGER
|
|
6285
6355
|
})
|
|
6286
|
-
],
|
|
6356
|
+
], msExecutivePosition.prototype, "sort", 2);
|
|
6357
|
+
__decorateClass([
|
|
6358
|
+
(0, import_sequelize_typescript53.Column)({
|
|
6359
|
+
allowNull: true,
|
|
6360
|
+
type: import_sequelize_typescript53.DataType.INTEGER
|
|
6361
|
+
})
|
|
6362
|
+
], msExecutivePosition.prototype, "status", 2);
|
|
6363
|
+
__decorateClass([
|
|
6364
|
+
(0, import_sequelize_typescript53.Column)({
|
|
6365
|
+
allowNull: true,
|
|
6366
|
+
type: import_sequelize_typescript53.DataType.JSON
|
|
6367
|
+
})
|
|
6368
|
+
], msExecutivePosition.prototype, "info", 2);
|
|
6287
6369
|
__decorateClass([
|
|
6288
6370
|
(0, import_sequelize_typescript53.Column)({
|
|
6289
6371
|
field: "created_by",
|
|
6290
6372
|
allowNull: true,
|
|
6291
6373
|
type: import_sequelize_typescript53.DataType.STRING(60)
|
|
6292
6374
|
})
|
|
6293
|
-
],
|
|
6375
|
+
], msExecutivePosition.prototype, "createdBy", 2);
|
|
6294
6376
|
__decorateClass([
|
|
6295
6377
|
(0, import_sequelize_typescript53.Column)({
|
|
6296
6378
|
field: "created_date",
|
|
6297
6379
|
allowNull: true,
|
|
6298
6380
|
type: import_sequelize_typescript53.DataType.DATE
|
|
6299
6381
|
})
|
|
6300
|
-
],
|
|
6382
|
+
], msExecutivePosition.prototype, "createdDate", 2);
|
|
6301
6383
|
__decorateClass([
|
|
6302
6384
|
(0, import_sequelize_typescript53.Column)({
|
|
6303
6385
|
field: "updated_by",
|
|
6304
6386
|
allowNull: true,
|
|
6305
6387
|
type: import_sequelize_typescript53.DataType.STRING(60)
|
|
6306
6388
|
})
|
|
6307
|
-
],
|
|
6389
|
+
], msExecutivePosition.prototype, "updatedBy", 2);
|
|
6308
6390
|
__decorateClass([
|
|
6309
6391
|
(0, import_sequelize_typescript53.Column)({
|
|
6310
6392
|
field: "updated_date",
|
|
6311
6393
|
allowNull: true,
|
|
6312
6394
|
type: import_sequelize_typescript53.DataType.DATE
|
|
6313
6395
|
})
|
|
6314
|
-
],
|
|
6315
|
-
|
|
6396
|
+
], msExecutivePosition.prototype, "updatedDate", 2);
|
|
6397
|
+
msExecutivePosition = __decorateClass([
|
|
6316
6398
|
(0, import_sequelize_typescript53.Table)({
|
|
6317
|
-
tableName: "
|
|
6399
|
+
tableName: "ms_executive_position",
|
|
6318
6400
|
timestamps: false
|
|
6319
6401
|
})
|
|
6320
|
-
],
|
|
6402
|
+
], msExecutivePosition);
|
|
6321
6403
|
|
|
6322
|
-
// src/databases/tables/
|
|
6404
|
+
// src/databases/tables/msGuidelines.ts
|
|
6323
6405
|
var import_sequelize_typescript54 = require("sequelize-typescript");
|
|
6324
|
-
var
|
|
6406
|
+
var msGuidelines = class extends import_sequelize_typescript54.Model {
|
|
6325
6407
|
};
|
|
6326
6408
|
__decorateClass([
|
|
6327
6409
|
(0, import_sequelize_typescript54.Column)({
|
|
6328
6410
|
primaryKey: true,
|
|
6411
|
+
autoIncrement: true,
|
|
6329
6412
|
type: import_sequelize_typescript54.DataType.INTEGER
|
|
6330
6413
|
})
|
|
6331
|
-
],
|
|
6414
|
+
], msGuidelines.prototype, "id", 2);
|
|
6332
6415
|
__decorateClass([
|
|
6333
6416
|
(0, import_sequelize_typescript54.Column)({
|
|
6334
6417
|
allowNull: true,
|
|
6335
|
-
type: import_sequelize_typescript54.DataType.STRING(
|
|
6418
|
+
type: import_sequelize_typescript54.DataType.STRING(10)
|
|
6336
6419
|
})
|
|
6337
|
-
],
|
|
6420
|
+
], msGuidelines.prototype, "site", 2);
|
|
6338
6421
|
__decorateClass([
|
|
6339
6422
|
(0, import_sequelize_typescript54.Column)({
|
|
6340
6423
|
allowNull: true,
|
|
6341
6424
|
type: import_sequelize_typescript54.DataType.STRING(255)
|
|
6342
6425
|
})
|
|
6343
|
-
],
|
|
6426
|
+
], msGuidelines.prototype, "title", 2);
|
|
6427
|
+
__decorateClass([
|
|
6428
|
+
(0, import_sequelize_typescript54.Column)({
|
|
6429
|
+
allowNull: true,
|
|
6430
|
+
type: import_sequelize_typescript54.DataType.STRING
|
|
6431
|
+
})
|
|
6432
|
+
], msGuidelines.prototype, "detail", 2);
|
|
6344
6433
|
__decorateClass([
|
|
6345
6434
|
(0, import_sequelize_typescript54.Column)({
|
|
6346
|
-
field: "geo_id",
|
|
6347
6435
|
allowNull: true,
|
|
6348
6436
|
type: import_sequelize_typescript54.DataType.INTEGER
|
|
6349
6437
|
})
|
|
6350
|
-
],
|
|
6438
|
+
], msGuidelines.prototype, "sort", 2);
|
|
6351
6439
|
__decorateClass([
|
|
6352
6440
|
(0, import_sequelize_typescript54.Column)({
|
|
6353
|
-
field: "court_id",
|
|
6354
6441
|
allowNull: true,
|
|
6355
6442
|
type: import_sequelize_typescript54.DataType.INTEGER
|
|
6356
6443
|
})
|
|
6357
|
-
],
|
|
6444
|
+
], msGuidelines.prototype, "status", 2);
|
|
6358
6445
|
__decorateClass([
|
|
6359
6446
|
(0, import_sequelize_typescript54.Column)({
|
|
6360
6447
|
field: "created_by",
|
|
6361
6448
|
allowNull: true,
|
|
6362
6449
|
type: import_sequelize_typescript54.DataType.STRING(60)
|
|
6363
6450
|
})
|
|
6364
|
-
],
|
|
6451
|
+
], msGuidelines.prototype, "createdBy", 2);
|
|
6365
6452
|
__decorateClass([
|
|
6366
6453
|
(0, import_sequelize_typescript54.Column)({
|
|
6367
6454
|
field: "created_date",
|
|
6368
6455
|
allowNull: true,
|
|
6369
6456
|
type: import_sequelize_typescript54.DataType.DATE
|
|
6370
6457
|
})
|
|
6371
|
-
],
|
|
6458
|
+
], msGuidelines.prototype, "createdDate", 2);
|
|
6372
6459
|
__decorateClass([
|
|
6373
6460
|
(0, import_sequelize_typescript54.Column)({
|
|
6374
6461
|
field: "updated_by",
|
|
6375
6462
|
allowNull: true,
|
|
6376
6463
|
type: import_sequelize_typescript54.DataType.STRING(60)
|
|
6377
6464
|
})
|
|
6378
|
-
],
|
|
6465
|
+
], msGuidelines.prototype, "updatedBy", 2);
|
|
6379
6466
|
__decorateClass([
|
|
6380
6467
|
(0, import_sequelize_typescript54.Column)({
|
|
6381
6468
|
field: "updated_date",
|
|
6382
6469
|
allowNull: true,
|
|
6383
6470
|
type: import_sequelize_typescript54.DataType.DATE
|
|
6384
6471
|
})
|
|
6385
|
-
],
|
|
6386
|
-
|
|
6472
|
+
], msGuidelines.prototype, "updatedDate", 2);
|
|
6473
|
+
msGuidelines = __decorateClass([
|
|
6387
6474
|
(0, import_sequelize_typescript54.Table)({
|
|
6388
|
-
tableName: "
|
|
6475
|
+
tableName: "ms_guidelines",
|
|
6389
6476
|
timestamps: false
|
|
6390
6477
|
})
|
|
6391
|
-
],
|
|
6478
|
+
], msGuidelines);
|
|
6392
6479
|
|
|
6393
|
-
// src/databases/tables/
|
|
6480
|
+
// src/databases/tables/msHoliday.ts
|
|
6394
6481
|
var import_sequelize_typescript55 = require("sequelize-typescript");
|
|
6395
|
-
var
|
|
6482
|
+
var msHoliday = class extends import_sequelize_typescript55.Model {
|
|
6396
6483
|
};
|
|
6397
6484
|
__decorateClass([
|
|
6398
6485
|
(0, import_sequelize_typescript55.Column)({
|
|
@@ -6400,714 +6487,850 @@ __decorateClass([
|
|
|
6400
6487
|
autoIncrement: true,
|
|
6401
6488
|
type: import_sequelize_typescript55.DataType.INTEGER
|
|
6402
6489
|
})
|
|
6403
|
-
],
|
|
6490
|
+
], msHoliday.prototype, "id", 2);
|
|
6404
6491
|
__decorateClass([
|
|
6405
6492
|
(0, import_sequelize_typescript55.Column)({
|
|
6406
6493
|
allowNull: true,
|
|
6407
6494
|
type: import_sequelize_typescript55.DataType.STRING(255)
|
|
6408
6495
|
})
|
|
6409
|
-
],
|
|
6496
|
+
], msHoliday.prototype, "name", 2);
|
|
6410
6497
|
__decorateClass([
|
|
6411
6498
|
(0, import_sequelize_typescript55.Column)({
|
|
6412
|
-
field: "
|
|
6499
|
+
field: "check_date",
|
|
6413
6500
|
allowNull: true,
|
|
6414
|
-
type: import_sequelize_typescript55.DataType.
|
|
6501
|
+
type: import_sequelize_typescript55.DataType.DATEONLY
|
|
6415
6502
|
})
|
|
6416
|
-
],
|
|
6503
|
+
], msHoliday.prototype, "checkDate", 2);
|
|
6417
6504
|
__decorateClass([
|
|
6418
6505
|
(0, import_sequelize_typescript55.Column)({
|
|
6419
6506
|
allowNull: true,
|
|
6420
|
-
type: import_sequelize_typescript55.DataType.
|
|
6507
|
+
type: import_sequelize_typescript55.DataType.STRING(255)
|
|
6421
6508
|
})
|
|
6422
|
-
],
|
|
6509
|
+
], msHoliday.prototype, "status", 2);
|
|
6423
6510
|
__decorateClass([
|
|
6424
6511
|
(0, import_sequelize_typescript55.Column)({
|
|
6425
6512
|
field: "created_by",
|
|
6426
6513
|
allowNull: true,
|
|
6427
6514
|
type: import_sequelize_typescript55.DataType.STRING(60)
|
|
6428
6515
|
})
|
|
6429
|
-
],
|
|
6516
|
+
], msHoliday.prototype, "createdBy", 2);
|
|
6430
6517
|
__decorateClass([
|
|
6431
6518
|
(0, import_sequelize_typescript55.Column)({
|
|
6432
6519
|
field: "created_date",
|
|
6433
6520
|
allowNull: true,
|
|
6434
6521
|
type: import_sequelize_typescript55.DataType.DATE
|
|
6435
6522
|
})
|
|
6436
|
-
],
|
|
6523
|
+
], msHoliday.prototype, "createdDate", 2);
|
|
6437
6524
|
__decorateClass([
|
|
6438
6525
|
(0, import_sequelize_typescript55.Column)({
|
|
6439
6526
|
field: "updated_by",
|
|
6440
6527
|
allowNull: true,
|
|
6441
6528
|
type: import_sequelize_typescript55.DataType.STRING(60)
|
|
6442
6529
|
})
|
|
6443
|
-
],
|
|
6530
|
+
], msHoliday.prototype, "updatedBy", 2);
|
|
6444
6531
|
__decorateClass([
|
|
6445
6532
|
(0, import_sequelize_typescript55.Column)({
|
|
6446
6533
|
field: "updated_date",
|
|
6447
6534
|
allowNull: true,
|
|
6448
6535
|
type: import_sequelize_typescript55.DataType.DATE
|
|
6449
6536
|
})
|
|
6537
|
+
], msHoliday.prototype, "updatedDate", 2);
|
|
6538
|
+
msHoliday = __decorateClass([
|
|
6539
|
+
(0, import_sequelize_typescript55.Table)({
|
|
6540
|
+
tableName: "ms_holiday",
|
|
6541
|
+
timestamps: false
|
|
6542
|
+
})
|
|
6543
|
+
], msHoliday);
|
|
6544
|
+
|
|
6545
|
+
// src/databases/tables/msProvince.ts
|
|
6546
|
+
var import_sequelize_typescript56 = require("sequelize-typescript");
|
|
6547
|
+
var msProvince = class extends import_sequelize_typescript56.Model {
|
|
6548
|
+
};
|
|
6549
|
+
__decorateClass([
|
|
6550
|
+
(0, import_sequelize_typescript56.Column)({
|
|
6551
|
+
primaryKey: true,
|
|
6552
|
+
type: import_sequelize_typescript56.DataType.INTEGER
|
|
6553
|
+
})
|
|
6554
|
+
], msProvince.prototype, "id", 2);
|
|
6555
|
+
__decorateClass([
|
|
6556
|
+
(0, import_sequelize_typescript56.Column)({
|
|
6557
|
+
allowNull: true,
|
|
6558
|
+
type: import_sequelize_typescript56.DataType.STRING(255)
|
|
6559
|
+
})
|
|
6560
|
+
], msProvince.prototype, "code", 2);
|
|
6561
|
+
__decorateClass([
|
|
6562
|
+
(0, import_sequelize_typescript56.Column)({
|
|
6563
|
+
allowNull: true,
|
|
6564
|
+
type: import_sequelize_typescript56.DataType.STRING(255)
|
|
6565
|
+
})
|
|
6566
|
+
], msProvince.prototype, "name", 2);
|
|
6567
|
+
__decorateClass([
|
|
6568
|
+
(0, import_sequelize_typescript56.Column)({
|
|
6569
|
+
field: "geo_id",
|
|
6570
|
+
allowNull: true,
|
|
6571
|
+
type: import_sequelize_typescript56.DataType.INTEGER
|
|
6572
|
+
})
|
|
6573
|
+
], msProvince.prototype, "geoId", 2);
|
|
6574
|
+
__decorateClass([
|
|
6575
|
+
(0, import_sequelize_typescript56.Column)({
|
|
6576
|
+
field: "court_id",
|
|
6577
|
+
allowNull: true,
|
|
6578
|
+
type: import_sequelize_typescript56.DataType.INTEGER
|
|
6579
|
+
})
|
|
6580
|
+
], msProvince.prototype, "courtId", 2);
|
|
6581
|
+
__decorateClass([
|
|
6582
|
+
(0, import_sequelize_typescript56.Column)({
|
|
6583
|
+
field: "created_by",
|
|
6584
|
+
allowNull: true,
|
|
6585
|
+
type: import_sequelize_typescript56.DataType.STRING(60)
|
|
6586
|
+
})
|
|
6587
|
+
], msProvince.prototype, "createdBy", 2);
|
|
6588
|
+
__decorateClass([
|
|
6589
|
+
(0, import_sequelize_typescript56.Column)({
|
|
6590
|
+
field: "created_date",
|
|
6591
|
+
allowNull: true,
|
|
6592
|
+
type: import_sequelize_typescript56.DataType.DATE
|
|
6593
|
+
})
|
|
6594
|
+
], msProvince.prototype, "createdDate", 2);
|
|
6595
|
+
__decorateClass([
|
|
6596
|
+
(0, import_sequelize_typescript56.Column)({
|
|
6597
|
+
field: "updated_by",
|
|
6598
|
+
allowNull: true,
|
|
6599
|
+
type: import_sequelize_typescript56.DataType.STRING(60)
|
|
6600
|
+
})
|
|
6601
|
+
], msProvince.prototype, "updatedBy", 2);
|
|
6602
|
+
__decorateClass([
|
|
6603
|
+
(0, import_sequelize_typescript56.Column)({
|
|
6604
|
+
field: "updated_date",
|
|
6605
|
+
allowNull: true,
|
|
6606
|
+
type: import_sequelize_typescript56.DataType.DATE
|
|
6607
|
+
})
|
|
6608
|
+
], msProvince.prototype, "updatedDate", 2);
|
|
6609
|
+
msProvince = __decorateClass([
|
|
6610
|
+
(0, import_sequelize_typescript56.Table)({
|
|
6611
|
+
tableName: "ms_province",
|
|
6612
|
+
timestamps: false
|
|
6613
|
+
})
|
|
6614
|
+
], msProvince);
|
|
6615
|
+
|
|
6616
|
+
// src/databases/tables/msTitle.ts
|
|
6617
|
+
var import_sequelize_typescript57 = require("sequelize-typescript");
|
|
6618
|
+
var msTitle = class extends import_sequelize_typescript57.Model {
|
|
6619
|
+
};
|
|
6620
|
+
__decorateClass([
|
|
6621
|
+
(0, import_sequelize_typescript57.Column)({
|
|
6622
|
+
primaryKey: true,
|
|
6623
|
+
autoIncrement: true,
|
|
6624
|
+
type: import_sequelize_typescript57.DataType.INTEGER
|
|
6625
|
+
})
|
|
6626
|
+
], msTitle.prototype, "id", 2);
|
|
6627
|
+
__decorateClass([
|
|
6628
|
+
(0, import_sequelize_typescript57.Column)({
|
|
6629
|
+
allowNull: true,
|
|
6630
|
+
type: import_sequelize_typescript57.DataType.STRING(255)
|
|
6631
|
+
})
|
|
6632
|
+
], msTitle.prototype, "name", 2);
|
|
6633
|
+
__decorateClass([
|
|
6634
|
+
(0, import_sequelize_typescript57.Column)({
|
|
6635
|
+
field: "name_info",
|
|
6636
|
+
allowNull: true,
|
|
6637
|
+
type: import_sequelize_typescript57.DataType.JSON
|
|
6638
|
+
})
|
|
6639
|
+
], msTitle.prototype, "nameInfo", 2);
|
|
6640
|
+
__decorateClass([
|
|
6641
|
+
(0, import_sequelize_typescript57.Column)({
|
|
6642
|
+
allowNull: true,
|
|
6643
|
+
type: import_sequelize_typescript57.DataType.INTEGER
|
|
6644
|
+
})
|
|
6645
|
+
], msTitle.prototype, "status", 2);
|
|
6646
|
+
__decorateClass([
|
|
6647
|
+
(0, import_sequelize_typescript57.Column)({
|
|
6648
|
+
field: "created_by",
|
|
6649
|
+
allowNull: true,
|
|
6650
|
+
type: import_sequelize_typescript57.DataType.STRING(60)
|
|
6651
|
+
})
|
|
6652
|
+
], msTitle.prototype, "createdBy", 2);
|
|
6653
|
+
__decorateClass([
|
|
6654
|
+
(0, import_sequelize_typescript57.Column)({
|
|
6655
|
+
field: "created_date",
|
|
6656
|
+
allowNull: true,
|
|
6657
|
+
type: import_sequelize_typescript57.DataType.DATE
|
|
6658
|
+
})
|
|
6659
|
+
], msTitle.prototype, "createdDate", 2);
|
|
6660
|
+
__decorateClass([
|
|
6661
|
+
(0, import_sequelize_typescript57.Column)({
|
|
6662
|
+
field: "updated_by",
|
|
6663
|
+
allowNull: true,
|
|
6664
|
+
type: import_sequelize_typescript57.DataType.STRING(60)
|
|
6665
|
+
})
|
|
6666
|
+
], msTitle.prototype, "updatedBy", 2);
|
|
6667
|
+
__decorateClass([
|
|
6668
|
+
(0, import_sequelize_typescript57.Column)({
|
|
6669
|
+
field: "updated_date",
|
|
6670
|
+
allowNull: true,
|
|
6671
|
+
type: import_sequelize_typescript57.DataType.DATE
|
|
6672
|
+
})
|
|
6450
6673
|
], msTitle.prototype, "updatedDate", 2);
|
|
6451
6674
|
msTitle = __decorateClass([
|
|
6452
|
-
(0,
|
|
6675
|
+
(0, import_sequelize_typescript57.Table)({
|
|
6453
6676
|
tableName: "ms_title",
|
|
6454
6677
|
timestamps: false
|
|
6455
6678
|
})
|
|
6456
6679
|
], msTitle);
|
|
6457
6680
|
|
|
6458
6681
|
// src/databases/tables/msWebsite.ts
|
|
6459
|
-
var
|
|
6460
|
-
var msWebsite = class extends
|
|
6682
|
+
var import_sequelize_typescript58 = require("sequelize-typescript");
|
|
6683
|
+
var msWebsite = class extends import_sequelize_typescript58.Model {
|
|
6461
6684
|
};
|
|
6462
6685
|
__decorateClass([
|
|
6463
|
-
(0,
|
|
6686
|
+
(0, import_sequelize_typescript58.Column)({
|
|
6464
6687
|
primaryKey: true,
|
|
6465
6688
|
autoIncrement: true,
|
|
6466
|
-
type:
|
|
6689
|
+
type: import_sequelize_typescript58.DataType.INTEGER
|
|
6467
6690
|
})
|
|
6468
6691
|
], msWebsite.prototype, "id", 2);
|
|
6469
6692
|
__decorateClass([
|
|
6470
|
-
(0,
|
|
6693
|
+
(0, import_sequelize_typescript58.Column)({
|
|
6471
6694
|
allowNull: true,
|
|
6472
|
-
type:
|
|
6695
|
+
type: import_sequelize_typescript58.DataType.STRING(255)
|
|
6473
6696
|
})
|
|
6474
6697
|
], msWebsite.prototype, "code", 2);
|
|
6475
6698
|
__decorateClass([
|
|
6476
|
-
(0,
|
|
6699
|
+
(0, import_sequelize_typescript58.Column)({
|
|
6477
6700
|
allowNull: true,
|
|
6478
|
-
type:
|
|
6701
|
+
type: import_sequelize_typescript58.DataType.STRING(60)
|
|
6479
6702
|
})
|
|
6480
6703
|
], msWebsite.prototype, "uuid", 2);
|
|
6481
6704
|
__decorateClass([
|
|
6482
|
-
(0,
|
|
6705
|
+
(0, import_sequelize_typescript58.Column)({
|
|
6483
6706
|
allowNull: true,
|
|
6484
|
-
type:
|
|
6707
|
+
type: import_sequelize_typescript58.DataType.STRING(255)
|
|
6485
6708
|
})
|
|
6486
6709
|
], msWebsite.prototype, "name", 2);
|
|
6487
6710
|
__decorateClass([
|
|
6488
|
-
(0,
|
|
6711
|
+
(0, import_sequelize_typescript58.Column)({
|
|
6489
6712
|
allowNull: true,
|
|
6490
|
-
type:
|
|
6713
|
+
type: import_sequelize_typescript58.DataType.STRING(255)
|
|
6491
6714
|
})
|
|
6492
6715
|
], msWebsite.prototype, "description", 2);
|
|
6493
6716
|
__decorateClass([
|
|
6494
|
-
(0,
|
|
6717
|
+
(0, import_sequelize_typescript58.Column)({
|
|
6495
6718
|
allowNull: true,
|
|
6496
|
-
type:
|
|
6719
|
+
type: import_sequelize_typescript58.DataType.STRING(255)
|
|
6497
6720
|
})
|
|
6498
6721
|
], msWebsite.prototype, "url", 2);
|
|
6499
6722
|
__decorateClass([
|
|
6500
|
-
(0,
|
|
6723
|
+
(0, import_sequelize_typescript58.Column)({
|
|
6501
6724
|
allowNull: true,
|
|
6502
|
-
type:
|
|
6725
|
+
type: import_sequelize_typescript58.DataType.INTEGER,
|
|
6503
6726
|
defaultValue: "1"
|
|
6504
6727
|
})
|
|
6505
6728
|
], msWebsite.prototype, "layout", 2);
|
|
6506
6729
|
__decorateClass([
|
|
6507
|
-
(0,
|
|
6730
|
+
(0, import_sequelize_typescript58.Column)({
|
|
6508
6731
|
allowNull: true,
|
|
6509
|
-
type:
|
|
6732
|
+
type: import_sequelize_typescript58.DataType.INTEGER
|
|
6510
6733
|
})
|
|
6511
6734
|
], msWebsite.prototype, "type", 2);
|
|
6512
6735
|
__decorateClass([
|
|
6513
|
-
(0,
|
|
6736
|
+
(0, import_sequelize_typescript58.Column)({
|
|
6514
6737
|
allowNull: true,
|
|
6515
|
-
type:
|
|
6738
|
+
type: import_sequelize_typescript58.DataType.INTEGER,
|
|
6516
6739
|
defaultValue: "1"
|
|
6517
6740
|
})
|
|
6518
6741
|
], msWebsite.prototype, "status", 2);
|
|
6519
6742
|
__decorateClass([
|
|
6520
|
-
(0,
|
|
6743
|
+
(0, import_sequelize_typescript58.Column)({
|
|
6521
6744
|
allowNull: true,
|
|
6522
|
-
type:
|
|
6745
|
+
type: import_sequelize_typescript58.DataType.STRING(20)
|
|
6523
6746
|
})
|
|
6524
6747
|
], msWebsite.prototype, "region", 2);
|
|
6525
6748
|
__decorateClass([
|
|
6526
|
-
(0,
|
|
6749
|
+
(0, import_sequelize_typescript58.Column)({
|
|
6527
6750
|
allowNull: true,
|
|
6528
|
-
type:
|
|
6751
|
+
type: import_sequelize_typescript58.DataType.INTEGER
|
|
6529
6752
|
})
|
|
6530
6753
|
], msWebsite.prototype, "sort", 2);
|
|
6531
6754
|
__decorateClass([
|
|
6532
|
-
(0,
|
|
6755
|
+
(0, import_sequelize_typescript58.Column)({
|
|
6533
6756
|
allowNull: true,
|
|
6534
|
-
type:
|
|
6757
|
+
type: import_sequelize_typescript58.DataType.STRING(255)
|
|
6535
6758
|
})
|
|
6536
6759
|
], msWebsite.prototype, "image", 2);
|
|
6537
6760
|
__decorateClass([
|
|
6538
|
-
(0,
|
|
6761
|
+
(0, import_sequelize_typescript58.Column)({
|
|
6539
6762
|
allowNull: true,
|
|
6540
|
-
type:
|
|
6763
|
+
type: import_sequelize_typescript58.DataType.STRING(255)
|
|
6541
6764
|
})
|
|
6542
6765
|
], msWebsite.prototype, "address", 2);
|
|
6543
6766
|
__decorateClass([
|
|
6544
|
-
(0,
|
|
6767
|
+
(0, import_sequelize_typescript58.Column)({
|
|
6545
6768
|
allowNull: true,
|
|
6546
|
-
type:
|
|
6769
|
+
type: import_sequelize_typescript58.DataType.STRING(100)
|
|
6547
6770
|
})
|
|
6548
6771
|
], msWebsite.prototype, "phone", 2);
|
|
6549
6772
|
__decorateClass([
|
|
6550
|
-
(0,
|
|
6773
|
+
(0, import_sequelize_typescript58.Column)({
|
|
6551
6774
|
allowNull: true,
|
|
6552
|
-
type:
|
|
6775
|
+
type: import_sequelize_typescript58.DataType.STRING(100)
|
|
6553
6776
|
})
|
|
6554
6777
|
], msWebsite.prototype, "fax", 2);
|
|
6555
6778
|
__decorateClass([
|
|
6556
|
-
(0,
|
|
6779
|
+
(0, import_sequelize_typescript58.Column)({
|
|
6557
6780
|
allowNull: true,
|
|
6558
|
-
type:
|
|
6781
|
+
type: import_sequelize_typescript58.DataType.STRING(255)
|
|
6559
6782
|
})
|
|
6560
6783
|
], msWebsite.prototype, "office", 2);
|
|
6561
6784
|
__decorateClass([
|
|
6562
|
-
(0,
|
|
6785
|
+
(0, import_sequelize_typescript58.Column)({
|
|
6563
6786
|
allowNull: true,
|
|
6564
|
-
type:
|
|
6787
|
+
type: import_sequelize_typescript58.DataType.DATEONLY
|
|
6565
6788
|
})
|
|
6566
6789
|
], msWebsite.prototype, "opened", 2);
|
|
6567
6790
|
__decorateClass([
|
|
6568
|
-
(0,
|
|
6791
|
+
(0, import_sequelize_typescript58.Column)({
|
|
6569
6792
|
allowNull: true,
|
|
6570
|
-
type:
|
|
6793
|
+
type: import_sequelize_typescript58.DataType.JSON
|
|
6571
6794
|
})
|
|
6572
6795
|
], msWebsite.prototype, "info", 2);
|
|
6573
6796
|
__decorateClass([
|
|
6574
|
-
(0,
|
|
6797
|
+
(0, import_sequelize_typescript58.Column)({
|
|
6575
6798
|
field: "created_by",
|
|
6576
6799
|
allowNull: true,
|
|
6577
|
-
type:
|
|
6800
|
+
type: import_sequelize_typescript58.DataType.STRING(60),
|
|
6578
6801
|
comment: "\u0E2A\u0E23\u0E49\u0E32\u0E07\u0E42\u0E14\u0E22"
|
|
6579
6802
|
})
|
|
6580
6803
|
], msWebsite.prototype, "createdBy", 2);
|
|
6581
6804
|
__decorateClass([
|
|
6582
|
-
(0,
|
|
6805
|
+
(0, import_sequelize_typescript58.Column)({
|
|
6583
6806
|
field: "created_date",
|
|
6584
6807
|
allowNull: true,
|
|
6585
|
-
type:
|
|
6808
|
+
type: import_sequelize_typescript58.DataType.DATE,
|
|
6586
6809
|
comment: "\u0E27\u0E31\u0E19\u0E17\u0E35\u0E48\u0E2A\u0E23\u0E49\u0E32\u0E07"
|
|
6587
6810
|
})
|
|
6588
6811
|
], msWebsite.prototype, "createdDate", 2);
|
|
6589
6812
|
__decorateClass([
|
|
6590
|
-
(0,
|
|
6813
|
+
(0, import_sequelize_typescript58.Column)({
|
|
6591
6814
|
field: "updated_by",
|
|
6592
6815
|
allowNull: true,
|
|
6593
|
-
type:
|
|
6816
|
+
type: import_sequelize_typescript58.DataType.STRING(60),
|
|
6594
6817
|
comment: "\u0E41\u0E01\u0E49\u0E44\u0E02\u0E42\u0E14\u0E22"
|
|
6595
6818
|
})
|
|
6596
6819
|
], msWebsite.prototype, "updatedBy", 2);
|
|
6597
6820
|
__decorateClass([
|
|
6598
|
-
(0,
|
|
6821
|
+
(0, import_sequelize_typescript58.Column)({
|
|
6599
6822
|
field: "updated_date",
|
|
6600
6823
|
allowNull: true,
|
|
6601
|
-
type:
|
|
6824
|
+
type: import_sequelize_typescript58.DataType.DATE,
|
|
6602
6825
|
comment: "\u0E27\u0E31\u0E19\u0E17\u0E35\u0E48\u0E41\u0E01\u0E49\u0E44\u0E02"
|
|
6603
6826
|
})
|
|
6604
6827
|
], msWebsite.prototype, "updatedDate", 2);
|
|
6605
6828
|
msWebsite = __decorateClass([
|
|
6606
|
-
(0,
|
|
6829
|
+
(0, import_sequelize_typescript58.Table)({
|
|
6607
6830
|
tableName: "ms_website",
|
|
6608
6831
|
timestamps: false
|
|
6609
6832
|
})
|
|
6610
6833
|
], msWebsite);
|
|
6611
6834
|
|
|
6612
6835
|
// src/databases/tables/oauthAccessToken.ts
|
|
6613
|
-
var
|
|
6614
|
-
var oauthAccessToken = class extends
|
|
6836
|
+
var import_sequelize_typescript59 = require("sequelize-typescript");
|
|
6837
|
+
var oauthAccessToken = class extends import_sequelize_typescript59.Model {
|
|
6615
6838
|
};
|
|
6616
6839
|
__decorateClass([
|
|
6617
|
-
(0,
|
|
6840
|
+
(0, import_sequelize_typescript59.Column)({
|
|
6618
6841
|
primaryKey: true,
|
|
6619
6842
|
autoIncrement: true,
|
|
6620
|
-
type:
|
|
6843
|
+
type: import_sequelize_typescript59.DataType.INTEGER
|
|
6621
6844
|
})
|
|
6622
6845
|
], oauthAccessToken.prototype, "id", 2);
|
|
6623
6846
|
__decorateClass([
|
|
6624
|
-
(0,
|
|
6847
|
+
(0, import_sequelize_typescript59.Column)({
|
|
6625
6848
|
field: "access_token",
|
|
6626
|
-
type:
|
|
6849
|
+
type: import_sequelize_typescript59.DataType.STRING
|
|
6627
6850
|
})
|
|
6628
6851
|
], oauthAccessToken.prototype, "accessToken", 2);
|
|
6629
6852
|
__decorateClass([
|
|
6630
|
-
(0,
|
|
6853
|
+
(0, import_sequelize_typescript59.Column)({
|
|
6631
6854
|
field: "client_id",
|
|
6632
|
-
type:
|
|
6855
|
+
type: import_sequelize_typescript59.DataType.STRING(32)
|
|
6633
6856
|
})
|
|
6634
6857
|
], oauthAccessToken.prototype, "clientId", 2);
|
|
6635
6858
|
__decorateClass([
|
|
6636
|
-
(0,
|
|
6859
|
+
(0, import_sequelize_typescript59.Column)({
|
|
6637
6860
|
field: "user_id",
|
|
6638
6861
|
allowNull: true,
|
|
6639
|
-
type:
|
|
6862
|
+
type: import_sequelize_typescript59.DataType.INTEGER
|
|
6640
6863
|
})
|
|
6641
6864
|
], oauthAccessToken.prototype, "userId", 2);
|
|
6642
6865
|
__decorateClass([
|
|
6643
|
-
(0,
|
|
6644
|
-
type:
|
|
6645
|
-
defaultValue:
|
|
6866
|
+
(0, import_sequelize_typescript59.Column)({
|
|
6867
|
+
type: import_sequelize_typescript59.DataType.DATE,
|
|
6868
|
+
defaultValue: import_sequelize_typescript59.DataType.NOW
|
|
6646
6869
|
})
|
|
6647
6870
|
], oauthAccessToken.prototype, "expires", 2);
|
|
6648
6871
|
__decorateClass([
|
|
6649
|
-
(0,
|
|
6872
|
+
(0, import_sequelize_typescript59.Column)({
|
|
6650
6873
|
allowNull: true,
|
|
6651
|
-
type:
|
|
6874
|
+
type: import_sequelize_typescript59.DataType.STRING(2e3)
|
|
6652
6875
|
})
|
|
6653
6876
|
], oauthAccessToken.prototype, "scope", 2);
|
|
6654
6877
|
__decorateClass([
|
|
6655
|
-
(0,
|
|
6878
|
+
(0, import_sequelize_typescript59.Column)({
|
|
6656
6879
|
field: "created_date",
|
|
6657
|
-
type:
|
|
6658
|
-
defaultValue:
|
|
6880
|
+
type: import_sequelize_typescript59.DataType.DATE,
|
|
6881
|
+
defaultValue: import_sequelize_typescript59.DataType.NOW
|
|
6659
6882
|
})
|
|
6660
6883
|
], oauthAccessToken.prototype, "createdDate", 2);
|
|
6661
6884
|
oauthAccessToken = __decorateClass([
|
|
6662
|
-
(0,
|
|
6885
|
+
(0, import_sequelize_typescript59.Table)({
|
|
6663
6886
|
tableName: "oauth_access_token",
|
|
6664
6887
|
timestamps: false
|
|
6665
6888
|
})
|
|
6666
6889
|
], oauthAccessToken);
|
|
6667
6890
|
|
|
6668
6891
|
// src/databases/tables/oauthRefreshToken.ts
|
|
6669
|
-
var
|
|
6670
|
-
var oauthRefreshToken = class extends
|
|
6892
|
+
var import_sequelize_typescript60 = require("sequelize-typescript");
|
|
6893
|
+
var oauthRefreshToken = class extends import_sequelize_typescript60.Model {
|
|
6671
6894
|
};
|
|
6672
6895
|
__decorateClass([
|
|
6673
|
-
(0,
|
|
6896
|
+
(0, import_sequelize_typescript60.Column)({
|
|
6674
6897
|
primaryKey: true,
|
|
6675
6898
|
autoIncrement: true,
|
|
6676
|
-
type:
|
|
6899
|
+
type: import_sequelize_typescript60.DataType.INTEGER
|
|
6677
6900
|
})
|
|
6678
6901
|
], oauthRefreshToken.prototype, "id", 2);
|
|
6679
6902
|
__decorateClass([
|
|
6680
|
-
(0,
|
|
6903
|
+
(0, import_sequelize_typescript60.Column)({
|
|
6681
6904
|
field: "refresh_token",
|
|
6682
|
-
type:
|
|
6905
|
+
type: import_sequelize_typescript60.DataType.STRING(1e3)
|
|
6683
6906
|
})
|
|
6684
6907
|
], oauthRefreshToken.prototype, "refreshToken", 2);
|
|
6685
6908
|
__decorateClass([
|
|
6686
|
-
(0,
|
|
6909
|
+
(0, import_sequelize_typescript60.Column)({
|
|
6687
6910
|
field: "client_id",
|
|
6688
|
-
type:
|
|
6911
|
+
type: import_sequelize_typescript60.DataType.STRING(32)
|
|
6689
6912
|
})
|
|
6690
6913
|
], oauthRefreshToken.prototype, "clientId", 2);
|
|
6691
6914
|
__decorateClass([
|
|
6692
|
-
(0,
|
|
6915
|
+
(0, import_sequelize_typescript60.Column)({
|
|
6693
6916
|
field: "user_id",
|
|
6694
6917
|
allowNull: true,
|
|
6695
|
-
type:
|
|
6918
|
+
type: import_sequelize_typescript60.DataType.INTEGER
|
|
6696
6919
|
})
|
|
6697
6920
|
], oauthRefreshToken.prototype, "userId", 2);
|
|
6698
6921
|
__decorateClass([
|
|
6699
|
-
(0,
|
|
6700
|
-
type:
|
|
6701
|
-
defaultValue:
|
|
6922
|
+
(0, import_sequelize_typescript60.Column)({
|
|
6923
|
+
type: import_sequelize_typescript60.DataType.DATE,
|
|
6924
|
+
defaultValue: import_sequelize_typescript60.DataType.NOW
|
|
6702
6925
|
})
|
|
6703
6926
|
], oauthRefreshToken.prototype, "expires", 2);
|
|
6704
6927
|
__decorateClass([
|
|
6705
|
-
(0,
|
|
6928
|
+
(0, import_sequelize_typescript60.Column)({
|
|
6706
6929
|
allowNull: true,
|
|
6707
|
-
type:
|
|
6930
|
+
type: import_sequelize_typescript60.DataType.STRING(1e3)
|
|
6708
6931
|
})
|
|
6709
6932
|
], oauthRefreshToken.prototype, "scope", 2);
|
|
6710
6933
|
__decorateClass([
|
|
6711
|
-
(0,
|
|
6934
|
+
(0, import_sequelize_typescript60.Column)({
|
|
6712
6935
|
field: "created_date",
|
|
6713
|
-
type:
|
|
6714
|
-
defaultValue:
|
|
6936
|
+
type: import_sequelize_typescript60.DataType.DATE,
|
|
6937
|
+
defaultValue: import_sequelize_typescript60.DataType.NOW
|
|
6715
6938
|
})
|
|
6716
6939
|
], oauthRefreshToken.prototype, "createdDate", 2);
|
|
6717
6940
|
oauthRefreshToken = __decorateClass([
|
|
6718
|
-
(0,
|
|
6941
|
+
(0, import_sequelize_typescript60.Table)({
|
|
6719
6942
|
tableName: "oauth_refresh_token",
|
|
6720
6943
|
timestamps: false
|
|
6721
6944
|
})
|
|
6722
6945
|
], oauthRefreshToken);
|
|
6723
6946
|
|
|
6724
6947
|
// src/databases/tables/recruitment.ts
|
|
6725
|
-
var
|
|
6948
|
+
var import_sequelize_typescript62 = require("sequelize-typescript");
|
|
6726
6949
|
|
|
6727
6950
|
// src/databases/tables/recruitmentGroup.ts
|
|
6728
|
-
var
|
|
6729
|
-
var recruitmentGroup = class extends
|
|
6951
|
+
var import_sequelize_typescript61 = require("sequelize-typescript");
|
|
6952
|
+
var recruitmentGroup = class extends import_sequelize_typescript61.Model {
|
|
6730
6953
|
};
|
|
6731
6954
|
__decorateClass([
|
|
6732
|
-
(0,
|
|
6955
|
+
(0, import_sequelize_typescript61.Column)({
|
|
6733
6956
|
primaryKey: true,
|
|
6734
6957
|
autoIncrement: true,
|
|
6735
|
-
type:
|
|
6958
|
+
type: import_sequelize_typescript61.DataType.INTEGER
|
|
6736
6959
|
})
|
|
6737
6960
|
], recruitmentGroup.prototype, "id", 2);
|
|
6738
6961
|
__decorateClass([
|
|
6739
|
-
(0,
|
|
6962
|
+
(0, import_sequelize_typescript61.Column)({
|
|
6740
6963
|
allowNull: true,
|
|
6741
|
-
type:
|
|
6964
|
+
type: import_sequelize_typescript61.DataType.STRING(60)
|
|
6742
6965
|
})
|
|
6743
6966
|
], recruitmentGroup.prototype, "uuid", 2);
|
|
6744
6967
|
__decorateClass([
|
|
6745
|
-
(0,
|
|
6968
|
+
(0, import_sequelize_typescript61.Column)({
|
|
6746
6969
|
field: "user_id",
|
|
6747
6970
|
allowNull: true,
|
|
6748
|
-
type:
|
|
6971
|
+
type: import_sequelize_typescript61.DataType.INTEGER
|
|
6749
6972
|
})
|
|
6750
6973
|
], recruitmentGroup.prototype, "userId", 2);
|
|
6751
6974
|
__decorateClass([
|
|
6752
|
-
(0,
|
|
6753
|
-
type:
|
|
6975
|
+
(0, import_sequelize_typescript61.Column)({
|
|
6976
|
+
type: import_sequelize_typescript61.DataType.STRING(255)
|
|
6754
6977
|
})
|
|
6755
6978
|
], recruitmentGroup.prototype, "name", 2);
|
|
6756
6979
|
__decorateClass([
|
|
6757
|
-
(0,
|
|
6980
|
+
(0, import_sequelize_typescript61.Column)({
|
|
6758
6981
|
allowNull: true,
|
|
6759
|
-
type:
|
|
6982
|
+
type: import_sequelize_typescript61.DataType.STRING(255)
|
|
6760
6983
|
})
|
|
6761
6984
|
], recruitmentGroup.prototype, "description", 2);
|
|
6762
6985
|
__decorateClass([
|
|
6763
|
-
(0,
|
|
6986
|
+
(0, import_sequelize_typescript61.Column)({
|
|
6764
6987
|
allowNull: true,
|
|
6765
|
-
type:
|
|
6988
|
+
type: import_sequelize_typescript61.DataType.INTEGER
|
|
6766
6989
|
})
|
|
6767
6990
|
], recruitmentGroup.prototype, "sort", 2);
|
|
6768
6991
|
__decorateClass([
|
|
6769
|
-
(0,
|
|
6992
|
+
(0, import_sequelize_typescript61.Column)({
|
|
6770
6993
|
allowNull: true,
|
|
6771
|
-
type:
|
|
6994
|
+
type: import_sequelize_typescript61.DataType.INTEGER
|
|
6772
6995
|
})
|
|
6773
6996
|
], recruitmentGroup.prototype, "status", 2);
|
|
6774
6997
|
__decorateClass([
|
|
6775
|
-
(0,
|
|
6998
|
+
(0, import_sequelize_typescript61.Column)({
|
|
6776
6999
|
field: "created_by",
|
|
6777
7000
|
allowNull: true,
|
|
6778
|
-
type:
|
|
7001
|
+
type: import_sequelize_typescript61.DataType.STRING(60)
|
|
6779
7002
|
})
|
|
6780
7003
|
], recruitmentGroup.prototype, "createdBy", 2);
|
|
6781
7004
|
__decorateClass([
|
|
6782
|
-
(0,
|
|
7005
|
+
(0, import_sequelize_typescript61.Column)({
|
|
6783
7006
|
field: "created_date",
|
|
6784
7007
|
allowNull: true,
|
|
6785
|
-
type:
|
|
7008
|
+
type: import_sequelize_typescript61.DataType.DATE
|
|
6786
7009
|
})
|
|
6787
7010
|
], recruitmentGroup.prototype, "createdDate", 2);
|
|
6788
7011
|
__decorateClass([
|
|
6789
|
-
(0,
|
|
7012
|
+
(0, import_sequelize_typescript61.Column)({
|
|
6790
7013
|
field: "updated_by",
|
|
6791
7014
|
allowNull: true,
|
|
6792
|
-
type:
|
|
7015
|
+
type: import_sequelize_typescript61.DataType.STRING(60)
|
|
6793
7016
|
})
|
|
6794
7017
|
], recruitmentGroup.prototype, "updatedBy", 2);
|
|
6795
7018
|
__decorateClass([
|
|
6796
|
-
(0,
|
|
7019
|
+
(0, import_sequelize_typescript61.Column)({
|
|
6797
7020
|
field: "updated_date",
|
|
6798
7021
|
allowNull: true,
|
|
6799
|
-
type:
|
|
7022
|
+
type: import_sequelize_typescript61.DataType.DATE
|
|
6800
7023
|
})
|
|
6801
7024
|
], recruitmentGroup.prototype, "updatedDate", 2);
|
|
6802
7025
|
__decorateClass([
|
|
6803
|
-
(0,
|
|
7026
|
+
(0, import_sequelize_typescript61.HasMany)(() => recruitment, {
|
|
6804
7027
|
sourceKey: "id"
|
|
6805
7028
|
})
|
|
6806
7029
|
], recruitmentGroup.prototype, "recruitments", 2);
|
|
6807
7030
|
recruitmentGroup = __decorateClass([
|
|
6808
|
-
(0,
|
|
7031
|
+
(0, import_sequelize_typescript61.Table)({
|
|
6809
7032
|
tableName: "recruitment_group",
|
|
6810
7033
|
timestamps: false
|
|
6811
7034
|
})
|
|
6812
7035
|
], recruitmentGroup);
|
|
6813
7036
|
|
|
6814
7037
|
// src/databases/tables/recruitment.ts
|
|
6815
|
-
var recruitment = class extends
|
|
7038
|
+
var recruitment = class extends import_sequelize_typescript62.Model {
|
|
6816
7039
|
};
|
|
6817
7040
|
__decorateClass([
|
|
6818
|
-
(0,
|
|
7041
|
+
(0, import_sequelize_typescript62.Column)({
|
|
6819
7042
|
primaryKey: true,
|
|
6820
7043
|
autoIncrement: true,
|
|
6821
|
-
type:
|
|
7044
|
+
type: import_sequelize_typescript62.DataType.INTEGER
|
|
6822
7045
|
})
|
|
6823
7046
|
], recruitment.prototype, "id", 2);
|
|
6824
7047
|
__decorateClass([
|
|
6825
|
-
(0,
|
|
7048
|
+
(0, import_sequelize_typescript62.Column)({
|
|
6826
7049
|
allowNull: true,
|
|
6827
|
-
type:
|
|
7050
|
+
type: import_sequelize_typescript62.DataType.STRING(60)
|
|
6828
7051
|
})
|
|
6829
7052
|
], recruitment.prototype, "uuid", 2);
|
|
6830
7053
|
__decorateClass([
|
|
6831
|
-
(0,
|
|
6832
|
-
(0,
|
|
7054
|
+
(0, import_sequelize_typescript62.ForeignKey)(() => recruitmentGroup),
|
|
7055
|
+
(0, import_sequelize_typescript62.Column)({
|
|
6833
7056
|
field: "group_id",
|
|
6834
7057
|
allowNull: true,
|
|
6835
|
-
type:
|
|
7058
|
+
type: import_sequelize_typescript62.DataType.INTEGER
|
|
6836
7059
|
})
|
|
6837
7060
|
], recruitment.prototype, "groupId", 2);
|
|
6838
7061
|
__decorateClass([
|
|
6839
|
-
(0,
|
|
7062
|
+
(0, import_sequelize_typescript62.Column)({
|
|
6840
7063
|
field: "position_name",
|
|
6841
7064
|
allowNull: true,
|
|
6842
|
-
type:
|
|
7065
|
+
type: import_sequelize_typescript62.DataType.STRING(255)
|
|
6843
7066
|
})
|
|
6844
7067
|
], recruitment.prototype, "positionName", 2);
|
|
6845
7068
|
__decorateClass([
|
|
6846
|
-
(0,
|
|
7069
|
+
(0, import_sequelize_typescript62.Column)({
|
|
6847
7070
|
field: "account_listed",
|
|
6848
7071
|
allowNull: true,
|
|
6849
|
-
type:
|
|
7072
|
+
type: import_sequelize_typescript62.DataType.INTEGER
|
|
6850
7073
|
})
|
|
6851
7074
|
], recruitment.prototype, "accountListed", 2);
|
|
6852
7075
|
__decorateClass([
|
|
6853
|
-
(0,
|
|
7076
|
+
(0, import_sequelize_typescript62.Column)({
|
|
6854
7077
|
field: "account_age",
|
|
6855
7078
|
allowNull: true,
|
|
6856
|
-
type:
|
|
7079
|
+
type: import_sequelize_typescript62.DataType.INTEGER
|
|
6857
7080
|
})
|
|
6858
7081
|
], recruitment.prototype, "accountAge", 2);
|
|
6859
7082
|
__decorateClass([
|
|
6860
|
-
(0,
|
|
7083
|
+
(0, import_sequelize_typescript62.Column)({
|
|
6861
7084
|
field: "account_expires",
|
|
6862
7085
|
allowNull: true,
|
|
6863
|
-
type:
|
|
7086
|
+
type: import_sequelize_typescript62.DataType.DATEONLY
|
|
6864
7087
|
})
|
|
6865
7088
|
], recruitment.prototype, "accountExpires", 2);
|
|
6866
7089
|
__decorateClass([
|
|
6867
|
-
(0,
|
|
7090
|
+
(0, import_sequelize_typescript62.Column)({
|
|
6868
7091
|
field: "called_position",
|
|
6869
7092
|
allowNull: true,
|
|
6870
|
-
type:
|
|
7093
|
+
type: import_sequelize_typescript62.DataType.INTEGER
|
|
6871
7094
|
})
|
|
6872
7095
|
], recruitment.prototype, "calledPosition", 2);
|
|
6873
7096
|
__decorateClass([
|
|
6874
|
-
(0,
|
|
7097
|
+
(0, import_sequelize_typescript62.Column)({
|
|
6875
7098
|
allowNull: true,
|
|
6876
|
-
type:
|
|
7099
|
+
type: import_sequelize_typescript62.DataType.INTEGER
|
|
6877
7100
|
})
|
|
6878
7101
|
], recruitment.prototype, "status", 2);
|
|
6879
7102
|
__decorateClass([
|
|
6880
|
-
(0,
|
|
7103
|
+
(0, import_sequelize_typescript62.Column)({
|
|
6881
7104
|
field: "created_by",
|
|
6882
7105
|
allowNull: true,
|
|
6883
|
-
type:
|
|
7106
|
+
type: import_sequelize_typescript62.DataType.STRING(60)
|
|
6884
7107
|
})
|
|
6885
7108
|
], recruitment.prototype, "createdBy", 2);
|
|
6886
7109
|
__decorateClass([
|
|
6887
|
-
(0,
|
|
7110
|
+
(0, import_sequelize_typescript62.Column)({
|
|
6888
7111
|
field: "created_date",
|
|
6889
7112
|
allowNull: true,
|
|
6890
|
-
type:
|
|
7113
|
+
type: import_sequelize_typescript62.DataType.DATE
|
|
6891
7114
|
})
|
|
6892
7115
|
], recruitment.prototype, "createdDate", 2);
|
|
6893
7116
|
__decorateClass([
|
|
6894
|
-
(0,
|
|
7117
|
+
(0, import_sequelize_typescript62.Column)({
|
|
6895
7118
|
field: "updated_by",
|
|
6896
7119
|
allowNull: true,
|
|
6897
|
-
type:
|
|
7120
|
+
type: import_sequelize_typescript62.DataType.STRING(60)
|
|
6898
7121
|
})
|
|
6899
7122
|
], recruitment.prototype, "updatedBy", 2);
|
|
6900
7123
|
__decorateClass([
|
|
6901
|
-
(0,
|
|
7124
|
+
(0, import_sequelize_typescript62.Column)({
|
|
6902
7125
|
field: "updated_date",
|
|
6903
7126
|
allowNull: true,
|
|
6904
|
-
type:
|
|
7127
|
+
type: import_sequelize_typescript62.DataType.DATE
|
|
6905
7128
|
})
|
|
6906
7129
|
], recruitment.prototype, "updatedDate", 2);
|
|
6907
7130
|
__decorateClass([
|
|
6908
|
-
(0,
|
|
7131
|
+
(0, import_sequelize_typescript62.BelongsTo)(() => recruitmentGroup)
|
|
6909
7132
|
], recruitment.prototype, "recruitmentGroup", 2);
|
|
6910
7133
|
recruitment = __decorateClass([
|
|
6911
|
-
(0,
|
|
7134
|
+
(0, import_sequelize_typescript62.Table)({
|
|
6912
7135
|
tableName: "recruitment",
|
|
6913
7136
|
timestamps: false
|
|
6914
7137
|
})
|
|
6915
7138
|
], recruitment);
|
|
6916
7139
|
|
|
6917
7140
|
// src/databases/tables/settings.ts
|
|
6918
|
-
var
|
|
6919
|
-
var settings = class extends
|
|
7141
|
+
var import_sequelize_typescript63 = require("sequelize-typescript");
|
|
7142
|
+
var settings = class extends import_sequelize_typescript63.Model {
|
|
6920
7143
|
};
|
|
6921
7144
|
__decorateClass([
|
|
6922
|
-
(0,
|
|
7145
|
+
(0, import_sequelize_typescript63.Column)({
|
|
6923
7146
|
primaryKey: true,
|
|
6924
7147
|
autoIncrement: true,
|
|
6925
|
-
type:
|
|
7148
|
+
type: import_sequelize_typescript63.DataType.INTEGER
|
|
6926
7149
|
})
|
|
6927
7150
|
], settings.prototype, "id", 2);
|
|
6928
7151
|
__decorateClass([
|
|
6929
|
-
(0,
|
|
7152
|
+
(0, import_sequelize_typescript63.Column)({
|
|
6930
7153
|
allowNull: true,
|
|
6931
|
-
type:
|
|
7154
|
+
type: import_sequelize_typescript63.DataType.STRING(255)
|
|
6932
7155
|
})
|
|
6933
7156
|
], settings.prototype, "key", 2);
|
|
6934
7157
|
__decorateClass([
|
|
6935
|
-
(0,
|
|
7158
|
+
(0, import_sequelize_typescript63.Column)({
|
|
6936
7159
|
allowNull: true,
|
|
6937
|
-
type:
|
|
7160
|
+
type: import_sequelize_typescript63.DataType.STRING
|
|
6938
7161
|
})
|
|
6939
7162
|
], settings.prototype, "value", 2);
|
|
6940
7163
|
__decorateClass([
|
|
6941
|
-
(0,
|
|
7164
|
+
(0, import_sequelize_typescript63.Column)({
|
|
6942
7165
|
allowNull: true,
|
|
6943
|
-
type:
|
|
7166
|
+
type: import_sequelize_typescript63.DataType.JSON
|
|
6944
7167
|
})
|
|
6945
7168
|
], settings.prototype, "data", 2);
|
|
6946
7169
|
__decorateClass([
|
|
6947
|
-
(0,
|
|
7170
|
+
(0, import_sequelize_typescript63.Column)({
|
|
6948
7171
|
field: "updated_by",
|
|
6949
7172
|
allowNull: true,
|
|
6950
|
-
type:
|
|
7173
|
+
type: import_sequelize_typescript63.DataType.STRING(60)
|
|
6951
7174
|
})
|
|
6952
7175
|
], settings.prototype, "updatedBy", 2);
|
|
6953
7176
|
__decorateClass([
|
|
6954
|
-
(0,
|
|
7177
|
+
(0, import_sequelize_typescript63.Column)({
|
|
6955
7178
|
field: "updated_date",
|
|
6956
7179
|
allowNull: true,
|
|
6957
|
-
type:
|
|
7180
|
+
type: import_sequelize_typescript63.DataType.DATE
|
|
6958
7181
|
})
|
|
6959
7182
|
], settings.prototype, "updatedDate", 2);
|
|
6960
7183
|
settings = __decorateClass([
|
|
6961
|
-
(0,
|
|
7184
|
+
(0, import_sequelize_typescript63.Table)({
|
|
6962
7185
|
tableName: "settings",
|
|
6963
7186
|
timestamps: false
|
|
6964
7187
|
})
|
|
6965
7188
|
], settings);
|
|
6966
7189
|
|
|
6967
7190
|
// src/databases/tables/userCenterV.ts
|
|
6968
|
-
var
|
|
6969
|
-
var userCenterV = class extends
|
|
7191
|
+
var import_sequelize_typescript64 = require("sequelize-typescript");
|
|
7192
|
+
var userCenterV = class extends import_sequelize_typescript64.Model {
|
|
6970
7193
|
};
|
|
6971
7194
|
__decorateClass([
|
|
6972
|
-
(0,
|
|
6973
|
-
type:
|
|
7195
|
+
(0, import_sequelize_typescript64.Column)({
|
|
7196
|
+
type: import_sequelize_typescript64.DataType.INTEGER,
|
|
6974
7197
|
defaultValue: "0"
|
|
6975
7198
|
})
|
|
6976
7199
|
], userCenterV.prototype, "id", 2);
|
|
6977
7200
|
__decorateClass([
|
|
6978
|
-
(0,
|
|
6979
|
-
type:
|
|
7201
|
+
(0, import_sequelize_typescript64.Column)({
|
|
7202
|
+
type: import_sequelize_typescript64.DataType.STRING(60)
|
|
6980
7203
|
})
|
|
6981
7204
|
], userCenterV.prototype, "uuid", 2);
|
|
6982
7205
|
__decorateClass([
|
|
6983
|
-
(0,
|
|
6984
|
-
type:
|
|
7206
|
+
(0, import_sequelize_typescript64.Column)({
|
|
7207
|
+
type: import_sequelize_typescript64.DataType.STRING(100)
|
|
6985
7208
|
})
|
|
6986
7209
|
], userCenterV.prototype, "username", 2);
|
|
6987
7210
|
__decorateClass([
|
|
6988
|
-
(0,
|
|
7211
|
+
(0, import_sequelize_typescript64.Column)({
|
|
6989
7212
|
field: "password_hash",
|
|
6990
7213
|
allowNull: true,
|
|
6991
|
-
type:
|
|
7214
|
+
type: import_sequelize_typescript64.DataType.STRING(255)
|
|
6992
7215
|
})
|
|
6993
7216
|
], userCenterV.prototype, "passwordHash", 2);
|
|
6994
7217
|
__decorateClass([
|
|
6995
|
-
(0,
|
|
7218
|
+
(0, import_sequelize_typescript64.Column)({
|
|
6996
7219
|
field: "password_reset_token",
|
|
6997
7220
|
allowNull: true,
|
|
6998
|
-
type:
|
|
7221
|
+
type: import_sequelize_typescript64.DataType.STRING(255)
|
|
6999
7222
|
})
|
|
7000
7223
|
], userCenterV.prototype, "passwordResetToken", 2);
|
|
7001
7224
|
__decorateClass([
|
|
7002
|
-
(0,
|
|
7225
|
+
(0, import_sequelize_typescript64.Column)({
|
|
7003
7226
|
field: "verification_token",
|
|
7004
7227
|
allowNull: true,
|
|
7005
|
-
type:
|
|
7228
|
+
type: import_sequelize_typescript64.DataType.STRING(255)
|
|
7006
7229
|
})
|
|
7007
7230
|
], userCenterV.prototype, "verificationToken", 2);
|
|
7008
7231
|
__decorateClass([
|
|
7009
|
-
(0,
|
|
7232
|
+
(0, import_sequelize_typescript64.Column)({
|
|
7010
7233
|
allowNull: true,
|
|
7011
|
-
type:
|
|
7234
|
+
type: import_sequelize_typescript64.DataType.STRING(255)
|
|
7012
7235
|
})
|
|
7013
7236
|
], userCenterV.prototype, "email", 2);
|
|
7014
7237
|
__decorateClass([
|
|
7015
|
-
(0,
|
|
7238
|
+
(0, import_sequelize_typescript64.Column)({
|
|
7016
7239
|
field: "auth_key",
|
|
7017
7240
|
allowNull: true,
|
|
7018
|
-
type:
|
|
7241
|
+
type: import_sequelize_typescript64.DataType.STRING(32)
|
|
7019
7242
|
})
|
|
7020
7243
|
], userCenterV.prototype, "authKey", 2);
|
|
7021
7244
|
__decorateClass([
|
|
7022
|
-
(0,
|
|
7245
|
+
(0, import_sequelize_typescript64.Column)({
|
|
7023
7246
|
field: "access_token",
|
|
7024
7247
|
allowNull: true,
|
|
7025
|
-
type:
|
|
7248
|
+
type: import_sequelize_typescript64.DataType.STRING
|
|
7026
7249
|
})
|
|
7027
7250
|
], userCenterV.prototype, "accessToken", 2);
|
|
7028
7251
|
__decorateClass([
|
|
7029
|
-
(0,
|
|
7252
|
+
(0, import_sequelize_typescript64.Column)({
|
|
7030
7253
|
field: "user_level",
|
|
7031
7254
|
allowNull: true,
|
|
7032
|
-
type:
|
|
7255
|
+
type: import_sequelize_typescript64.DataType.INTEGER
|
|
7033
7256
|
})
|
|
7034
7257
|
], userCenterV.prototype, "userLevel", 2);
|
|
7035
7258
|
__decorateClass([
|
|
7036
|
-
(0,
|
|
7259
|
+
(0, import_sequelize_typescript64.Column)({
|
|
7037
7260
|
field: "user_authen",
|
|
7038
7261
|
allowNull: true,
|
|
7039
|
-
type:
|
|
7262
|
+
type: import_sequelize_typescript64.DataType.STRING(64)
|
|
7040
7263
|
})
|
|
7041
7264
|
], userCenterV.prototype, "userAuthen", 2);
|
|
7042
7265
|
__decorateClass([
|
|
7043
|
-
(0,
|
|
7266
|
+
(0, import_sequelize_typescript64.Column)({
|
|
7044
7267
|
field: "user_type",
|
|
7045
7268
|
allowNull: true,
|
|
7046
|
-
type:
|
|
7269
|
+
type: import_sequelize_typescript64.DataType.INTEGER
|
|
7047
7270
|
})
|
|
7048
7271
|
], userCenterV.prototype, "userType", 2);
|
|
7049
7272
|
__decorateClass([
|
|
7050
|
-
(0,
|
|
7273
|
+
(0, import_sequelize_typescript64.Column)({
|
|
7051
7274
|
allowNull: true,
|
|
7052
|
-
type:
|
|
7275
|
+
type: import_sequelize_typescript64.DataType.STRING(10)
|
|
7053
7276
|
})
|
|
7054
7277
|
], userCenterV.prototype, "prefix", 2);
|
|
7055
7278
|
__decorateClass([
|
|
7056
|
-
(0,
|
|
7279
|
+
(0, import_sequelize_typescript64.Column)({
|
|
7057
7280
|
field: "first_name",
|
|
7058
7281
|
allowNull: true,
|
|
7059
|
-
type:
|
|
7282
|
+
type: import_sequelize_typescript64.DataType.STRING(100)
|
|
7060
7283
|
})
|
|
7061
7284
|
], userCenterV.prototype, "firstName", 2);
|
|
7062
7285
|
__decorateClass([
|
|
7063
|
-
(0,
|
|
7286
|
+
(0, import_sequelize_typescript64.Column)({
|
|
7064
7287
|
field: "last_name",
|
|
7065
7288
|
allowNull: true,
|
|
7066
|
-
type:
|
|
7289
|
+
type: import_sequelize_typescript64.DataType.STRING(100)
|
|
7067
7290
|
})
|
|
7068
7291
|
], userCenterV.prototype, "lastName", 2);
|
|
7069
7292
|
__decorateClass([
|
|
7070
|
-
(0,
|
|
7293
|
+
(0, import_sequelize_typescript64.Column)({
|
|
7071
7294
|
allowNull: true,
|
|
7072
|
-
type:
|
|
7295
|
+
type: import_sequelize_typescript64.DataType.STRING(20)
|
|
7073
7296
|
})
|
|
7074
7297
|
], userCenterV.prototype, "phone", 2);
|
|
7075
7298
|
__decorateClass([
|
|
7076
|
-
(0,
|
|
7299
|
+
(0, import_sequelize_typescript64.Column)({
|
|
7077
7300
|
allowNull: true,
|
|
7078
|
-
type:
|
|
7301
|
+
type: import_sequelize_typescript64.DataType.SMALLINT
|
|
7079
7302
|
})
|
|
7080
7303
|
], userCenterV.prototype, "status", 2);
|
|
7081
7304
|
__decorateClass([
|
|
7082
|
-
(0,
|
|
7305
|
+
(0, import_sequelize_typescript64.Column)({
|
|
7083
7306
|
field: "created_by",
|
|
7084
7307
|
allowNull: true,
|
|
7085
|
-
type:
|
|
7308
|
+
type: import_sequelize_typescript64.DataType.STRING(60)
|
|
7086
7309
|
})
|
|
7087
7310
|
], userCenterV.prototype, "createdBy", 2);
|
|
7088
7311
|
__decorateClass([
|
|
7089
|
-
(0,
|
|
7312
|
+
(0, import_sequelize_typescript64.Column)({
|
|
7090
7313
|
field: "created_date",
|
|
7091
7314
|
allowNull: true,
|
|
7092
|
-
type:
|
|
7315
|
+
type: import_sequelize_typescript64.DataType.DATE
|
|
7093
7316
|
})
|
|
7094
7317
|
], userCenterV.prototype, "createdDate", 2);
|
|
7095
7318
|
__decorateClass([
|
|
7096
|
-
(0,
|
|
7319
|
+
(0, import_sequelize_typescript64.Column)({
|
|
7097
7320
|
field: "updated_by",
|
|
7098
7321
|
allowNull: true,
|
|
7099
|
-
type:
|
|
7322
|
+
type: import_sequelize_typescript64.DataType.STRING(60)
|
|
7100
7323
|
})
|
|
7101
7324
|
], userCenterV.prototype, "updatedBy", 2);
|
|
7102
7325
|
__decorateClass([
|
|
7103
|
-
(0,
|
|
7326
|
+
(0, import_sequelize_typescript64.Column)({
|
|
7104
7327
|
field: "updated_date",
|
|
7105
7328
|
allowNull: true,
|
|
7106
|
-
type:
|
|
7329
|
+
type: import_sequelize_typescript64.DataType.DATE
|
|
7107
7330
|
})
|
|
7108
7331
|
], userCenterV.prototype, "updatedDate", 2);
|
|
7109
7332
|
userCenterV = __decorateClass([
|
|
7110
|
-
(0,
|
|
7333
|
+
(0, import_sequelize_typescript64.Table)({
|
|
7111
7334
|
tableName: "user_center_v",
|
|
7112
7335
|
timestamps: false,
|
|
7113
7336
|
comment: "VIEW"
|
|
@@ -7115,38 +7338,38 @@ userCenterV = __decorateClass([
|
|
|
7115
7338
|
], userCenterV);
|
|
7116
7339
|
|
|
7117
7340
|
// src/databases/tables/userRoleV.ts
|
|
7118
|
-
var
|
|
7119
|
-
var userRoleV = class extends
|
|
7341
|
+
var import_sequelize_typescript65 = require("sequelize-typescript");
|
|
7342
|
+
var userRoleV = class extends import_sequelize_typescript65.Model {
|
|
7120
7343
|
};
|
|
7121
7344
|
__decorateClass([
|
|
7122
|
-
(0,
|
|
7123
|
-
type:
|
|
7345
|
+
(0, import_sequelize_typescript65.Column)({
|
|
7346
|
+
type: import_sequelize_typescript65.DataType.INTEGER,
|
|
7124
7347
|
defaultValue: "0"
|
|
7125
7348
|
})
|
|
7126
7349
|
], userRoleV.prototype, "id", 2);
|
|
7127
7350
|
__decorateClass([
|
|
7128
|
-
(0,
|
|
7351
|
+
(0, import_sequelize_typescript65.Column)({
|
|
7129
7352
|
field: "website_th",
|
|
7130
7353
|
allowNull: true,
|
|
7131
|
-
type:
|
|
7354
|
+
type: import_sequelize_typescript65.DataType.STRING(60)
|
|
7132
7355
|
})
|
|
7133
7356
|
], userRoleV.prototype, "websiteTh", 2);
|
|
7134
7357
|
__decorateClass([
|
|
7135
|
-
(0,
|
|
7358
|
+
(0, import_sequelize_typescript65.Column)({
|
|
7136
7359
|
field: "website_en",
|
|
7137
7360
|
allowNull: true,
|
|
7138
|
-
type:
|
|
7361
|
+
type: import_sequelize_typescript65.DataType.STRING(60)
|
|
7139
7362
|
})
|
|
7140
7363
|
], userRoleV.prototype, "websiteEn", 2);
|
|
7141
7364
|
__decorateClass([
|
|
7142
|
-
(0,
|
|
7365
|
+
(0, import_sequelize_typescript65.Column)({
|
|
7143
7366
|
field: "website_fr",
|
|
7144
7367
|
allowNull: true,
|
|
7145
|
-
type:
|
|
7368
|
+
type: import_sequelize_typescript65.DataType.STRING(60)
|
|
7146
7369
|
})
|
|
7147
7370
|
], userRoleV.prototype, "websiteFr", 2);
|
|
7148
7371
|
userRoleV = __decorateClass([
|
|
7149
|
-
(0,
|
|
7372
|
+
(0, import_sequelize_typescript65.Table)({
|
|
7150
7373
|
tableName: "user_role_v",
|
|
7151
7374
|
timestamps: false,
|
|
7152
7375
|
comment: "VIEW"
|
|
@@ -7202,6 +7425,8 @@ userRoleV = __decorateClass([
|
|
|
7202
7425
|
menu,
|
|
7203
7426
|
msExecutive,
|
|
7204
7427
|
msExecutiveBoard,
|
|
7428
|
+
msExecutiveGroup,
|
|
7429
|
+
msExecutivePosition,
|
|
7205
7430
|
msGuidelines,
|
|
7206
7431
|
msHoliday,
|
|
7207
7432
|
msModule,
|