@admc-go-th/admc-library 1.0.132 → 1.0.134
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/{appQueue-HW5J6Gb9.d.ts → appQueue-BX509KRh.d.ts} +4 -2
- package/databases/schema/appQueue.ts +11 -3
- package/databases/schema/index.ts +0 -2
- package/databases/schema/msExecutive.ts +0 -5
- package/databases/tables/appQueue.d.ts +1 -1
- package/databases/tables/appQueue.js +9 -2
- package/databases/tables/index.d.ts +2 -4
- package/databases/tables/index.js +433 -702
- package/databases/tables/msConsultChannels.d.ts +1 -1
- package/databases/tables/msConsultChannels.js +9 -2
- package/databases/tables/msExecutive.d.ts +1 -1
- package/databases/tables/msExecutive.js +47 -152
- 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/msWebsite.d.ts +1 -1
- package/databases/tables/msWebsite.js +9 -2
- package/{msExecutive-BFeU4P0-.d.ts → msExecutive-Yxx8Wpkj.d.ts} +1 -34
- package/package.json +1 -1
|
@@ -92,10 +92,8 @@ __export(tables_exports, {
|
|
|
92
92
|
msConsultSiteStaff: () => msConsultSiteStaff,
|
|
93
93
|
msExecutive: () => msExecutive,
|
|
94
94
|
msExecutiveActing: () => msExecutiveActing,
|
|
95
|
-
msExecutiveBoardBk: () => msExecutiveBoardBk,
|
|
96
95
|
msExecutiveGroup: () => msExecutiveGroup,
|
|
97
96
|
msExecutiveLevel: () => msExecutiveLevel,
|
|
98
|
-
msExecutivePositionBk: () => msExecutivePositionBk,
|
|
99
97
|
msHoliday: () => msHoliday,
|
|
100
98
|
msModule: () => msModule,
|
|
101
99
|
msOrganization: () => msOrganization,
|
|
@@ -905,6 +903,13 @@ __decorateClass([
|
|
|
905
903
|
type: import_sequelize_typescript6.DataType.INTEGER
|
|
906
904
|
})
|
|
907
905
|
], appQueue.prototype, "staffId", 2);
|
|
906
|
+
__decorateClass([
|
|
907
|
+
(0, import_sequelize_typescript6.Column)({
|
|
908
|
+
field: "staff_info",
|
|
909
|
+
allowNull: true,
|
|
910
|
+
type: import_sequelize_typescript6.DataType.JSON
|
|
911
|
+
})
|
|
912
|
+
], appQueue.prototype, "staffInfo", 2);
|
|
908
913
|
__decorateClass([
|
|
909
914
|
(0, import_sequelize_typescript6.Column)({
|
|
910
915
|
field: "staff_channel_id",
|
|
@@ -914,11 +919,11 @@ __decorateClass([
|
|
|
914
919
|
], appQueue.prototype, "staffChannelId", 2);
|
|
915
920
|
__decorateClass([
|
|
916
921
|
(0, import_sequelize_typescript6.Column)({
|
|
917
|
-
field: "
|
|
922
|
+
field: "staff_channel_info",
|
|
918
923
|
allowNull: true,
|
|
919
924
|
type: import_sequelize_typescript6.DataType.JSON
|
|
920
925
|
})
|
|
921
|
-
], appQueue.prototype, "
|
|
926
|
+
], appQueue.prototype, "staffChannelInfo", 2);
|
|
922
927
|
__decorateClass([
|
|
923
928
|
(0, import_sequelize_typescript6.Column)({
|
|
924
929
|
field: "staff_issues",
|
|
@@ -7950,7 +7955,7 @@ msConsultSiteStaff = __decorateClass([
|
|
|
7950
7955
|
], msConsultSiteStaff);
|
|
7951
7956
|
|
|
7952
7957
|
// src/databases/tables/msExecutive.ts
|
|
7953
|
-
var
|
|
7958
|
+
var import_sequelize_typescript68 = require("sequelize-typescript");
|
|
7954
7959
|
|
|
7955
7960
|
// src/databases/tables/msExecutiveGroup.ts
|
|
7956
7961
|
var import_sequelize_typescript67 = require("sequelize-typescript");
|
|
@@ -8059,9 +8064,8 @@ msExecutiveGroup = __decorateClass([
|
|
|
8059
8064
|
})
|
|
8060
8065
|
], msExecutiveGroup);
|
|
8061
8066
|
|
|
8062
|
-
// src/databases/tables/
|
|
8063
|
-
var
|
|
8064
|
-
var msExecutivePosition = class extends import_sequelize_typescript68.Model {
|
|
8067
|
+
// src/databases/tables/msExecutive.ts
|
|
8068
|
+
var msExecutive = class extends import_sequelize_typescript68.Model {
|
|
8065
8069
|
};
|
|
8066
8070
|
__decorateClass([
|
|
8067
8071
|
(0, import_sequelize_typescript68.Column)({
|
|
@@ -8069,1638 +8073,1367 @@ __decorateClass([
|
|
|
8069
8073
|
autoIncrement: true,
|
|
8070
8074
|
type: import_sequelize_typescript68.DataType.INTEGER
|
|
8071
8075
|
})
|
|
8072
|
-
],
|
|
8076
|
+
], msExecutive.prototype, "id", 2);
|
|
8073
8077
|
__decorateClass([
|
|
8078
|
+
(0, import_sequelize_typescript68.ForeignKey)(() => msExecutiveGroup),
|
|
8074
8079
|
(0, import_sequelize_typescript68.Column)({
|
|
8075
8080
|
field: "group_id",
|
|
8076
8081
|
allowNull: true,
|
|
8077
8082
|
type: import_sequelize_typescript68.DataType.INTEGER
|
|
8078
8083
|
})
|
|
8079
|
-
], msExecutivePosition.prototype, "groupId", 2);
|
|
8080
|
-
__decorateClass([
|
|
8081
|
-
(0, import_sequelize_typescript68.Column)({
|
|
8082
|
-
allowNull: true,
|
|
8083
|
-
type: import_sequelize_typescript68.DataType.STRING(255)
|
|
8084
|
-
})
|
|
8085
|
-
], msExecutivePosition.prototype, "name", 2);
|
|
8086
|
-
__decorateClass([
|
|
8087
|
-
(0, import_sequelize_typescript68.Column)({
|
|
8088
|
-
allowNull: true,
|
|
8089
|
-
type: import_sequelize_typescript68.DataType.STRING(255)
|
|
8090
|
-
})
|
|
8091
|
-
], msExecutivePosition.prototype, "description", 2);
|
|
8092
|
-
__decorateClass([
|
|
8093
|
-
(0, import_sequelize_typescript68.Column)({
|
|
8094
|
-
field: "updated_info",
|
|
8095
|
-
allowNull: true,
|
|
8096
|
-
type: import_sequelize_typescript68.DataType.STRING(255)
|
|
8097
|
-
})
|
|
8098
|
-
], msExecutivePosition.prototype, "updatedInfo", 2);
|
|
8099
|
-
__decorateClass([
|
|
8100
|
-
(0, import_sequelize_typescript68.Column)({
|
|
8101
|
-
allowNull: true,
|
|
8102
|
-
type: import_sequelize_typescript68.DataType.STRING
|
|
8103
|
-
})
|
|
8104
|
-
], msExecutivePosition.prototype, "remark", 2);
|
|
8105
|
-
__decorateClass([
|
|
8106
|
-
(0, import_sequelize_typescript68.Column)({
|
|
8107
|
-
allowNull: true,
|
|
8108
|
-
type: import_sequelize_typescript68.DataType.INTEGER
|
|
8109
|
-
})
|
|
8110
|
-
], msExecutivePosition.prototype, "sort", 2);
|
|
8111
|
-
__decorateClass([
|
|
8112
|
-
(0, import_sequelize_typescript68.Column)({
|
|
8113
|
-
allowNull: true,
|
|
8114
|
-
type: import_sequelize_typescript68.DataType.INTEGER
|
|
8115
|
-
})
|
|
8116
|
-
], msExecutivePosition.prototype, "status", 2);
|
|
8117
|
-
__decorateClass([
|
|
8118
|
-
(0, import_sequelize_typescript68.Column)({
|
|
8119
|
-
allowNull: true,
|
|
8120
|
-
type: import_sequelize_typescript68.DataType.JSON
|
|
8121
|
-
})
|
|
8122
|
-
], msExecutivePosition.prototype, "info", 2);
|
|
8123
|
-
__decorateClass([
|
|
8124
|
-
(0, import_sequelize_typescript68.Column)({
|
|
8125
|
-
field: "created_by",
|
|
8126
|
-
allowNull: true,
|
|
8127
|
-
type: import_sequelize_typescript68.DataType.STRING(60)
|
|
8128
|
-
})
|
|
8129
|
-
], msExecutivePosition.prototype, "createdBy", 2);
|
|
8130
|
-
__decorateClass([
|
|
8131
|
-
(0, import_sequelize_typescript68.Column)({
|
|
8132
|
-
field: "created_date",
|
|
8133
|
-
allowNull: true,
|
|
8134
|
-
type: import_sequelize_typescript68.DataType.DATE
|
|
8135
|
-
})
|
|
8136
|
-
], msExecutivePosition.prototype, "createdDate", 2);
|
|
8137
|
-
__decorateClass([
|
|
8138
|
-
(0, import_sequelize_typescript68.Column)({
|
|
8139
|
-
field: "updated_by",
|
|
8140
|
-
allowNull: true,
|
|
8141
|
-
type: import_sequelize_typescript68.DataType.STRING(60)
|
|
8142
|
-
})
|
|
8143
|
-
], msExecutivePosition.prototype, "updatedBy", 2);
|
|
8144
|
-
__decorateClass([
|
|
8145
|
-
(0, import_sequelize_typescript68.Column)({
|
|
8146
|
-
field: "updated_date",
|
|
8147
|
-
allowNull: true,
|
|
8148
|
-
type: import_sequelize_typescript68.DataType.DATE
|
|
8149
|
-
})
|
|
8150
|
-
], msExecutivePosition.prototype, "updatedDate", 2);
|
|
8151
|
-
__decorateClass([
|
|
8152
|
-
(0, import_sequelize_typescript68.HasMany)(() => msExecutive, {
|
|
8153
|
-
sourceKey: "id"
|
|
8154
|
-
})
|
|
8155
|
-
], msExecutivePosition.prototype, "msExecutives", 2);
|
|
8156
|
-
msExecutivePosition = __decorateClass([
|
|
8157
|
-
(0, import_sequelize_typescript68.Table)({
|
|
8158
|
-
tableName: "ms_executive_position",
|
|
8159
|
-
timestamps: false
|
|
8160
|
-
})
|
|
8161
|
-
], msExecutivePosition);
|
|
8162
|
-
|
|
8163
|
-
// src/databases/tables/msExecutive.ts
|
|
8164
|
-
var msExecutive = class extends import_sequelize_typescript69.Model {
|
|
8165
|
-
};
|
|
8166
|
-
__decorateClass([
|
|
8167
|
-
(0, import_sequelize_typescript69.Column)({
|
|
8168
|
-
primaryKey: true,
|
|
8169
|
-
autoIncrement: true,
|
|
8170
|
-
type: import_sequelize_typescript69.DataType.INTEGER
|
|
8171
|
-
})
|
|
8172
|
-
], msExecutive.prototype, "id", 2);
|
|
8173
|
-
__decorateClass([
|
|
8174
|
-
(0, import_sequelize_typescript69.ForeignKey)(() => msExecutiveGroup),
|
|
8175
|
-
(0, import_sequelize_typescript69.Column)({
|
|
8176
|
-
field: "group_id",
|
|
8177
|
-
allowNull: true,
|
|
8178
|
-
type: import_sequelize_typescript69.DataType.INTEGER
|
|
8179
|
-
})
|
|
8180
8084
|
], msExecutive.prototype, "groupId", 2);
|
|
8181
8085
|
__decorateClass([
|
|
8182
|
-
(0,
|
|
8086
|
+
(0, import_sequelize_typescript68.Column)({
|
|
8183
8087
|
field: "level_id",
|
|
8184
8088
|
allowNull: true,
|
|
8185
|
-
type:
|
|
8089
|
+
type: import_sequelize_typescript68.DataType.INTEGER
|
|
8186
8090
|
})
|
|
8187
8091
|
], msExecutive.prototype, "levelId", 2);
|
|
8188
8092
|
__decorateClass([
|
|
8189
|
-
(0,
|
|
8093
|
+
(0, import_sequelize_typescript68.Column)({
|
|
8190
8094
|
field: "position_name",
|
|
8191
8095
|
allowNull: true,
|
|
8192
|
-
type:
|
|
8096
|
+
type: import_sequelize_typescript68.DataType.STRING(255)
|
|
8193
8097
|
})
|
|
8194
8098
|
], msExecutive.prototype, "positionName", 2);
|
|
8195
8099
|
__decorateClass([
|
|
8196
|
-
(0,
|
|
8100
|
+
(0, import_sequelize_typescript68.Column)({
|
|
8197
8101
|
field: "position_other",
|
|
8198
8102
|
allowNull: true,
|
|
8199
|
-
type:
|
|
8103
|
+
type: import_sequelize_typescript68.DataType.STRING(255)
|
|
8200
8104
|
})
|
|
8201
8105
|
], msExecutive.prototype, "positionOther", 2);
|
|
8202
8106
|
__decorateClass([
|
|
8203
|
-
(0,
|
|
8107
|
+
(0, import_sequelize_typescript68.Column)({
|
|
8204
8108
|
field: "title_id",
|
|
8205
8109
|
allowNull: true,
|
|
8206
|
-
type:
|
|
8110
|
+
type: import_sequelize_typescript68.DataType.INTEGER
|
|
8207
8111
|
})
|
|
8208
8112
|
], msExecutive.prototype, "titleId", 2);
|
|
8209
8113
|
__decorateClass([
|
|
8210
|
-
(0,
|
|
8114
|
+
(0, import_sequelize_typescript68.Column)({
|
|
8211
8115
|
field: "first_name",
|
|
8212
8116
|
allowNull: true,
|
|
8213
|
-
type:
|
|
8117
|
+
type: import_sequelize_typescript68.DataType.STRING(255)
|
|
8214
8118
|
})
|
|
8215
8119
|
], msExecutive.prototype, "firstName", 2);
|
|
8216
8120
|
__decorateClass([
|
|
8217
|
-
(0,
|
|
8121
|
+
(0, import_sequelize_typescript68.Column)({
|
|
8218
8122
|
field: "last_name",
|
|
8219
8123
|
allowNull: true,
|
|
8220
|
-
type:
|
|
8124
|
+
type: import_sequelize_typescript68.DataType.STRING(255)
|
|
8221
8125
|
})
|
|
8222
8126
|
], msExecutive.prototype, "lastName", 2);
|
|
8223
8127
|
__decorateClass([
|
|
8224
|
-
(0,
|
|
8128
|
+
(0, import_sequelize_typescript68.Column)({
|
|
8225
8129
|
allowNull: true,
|
|
8226
|
-
type:
|
|
8130
|
+
type: import_sequelize_typescript68.DataType.STRING(255)
|
|
8227
8131
|
})
|
|
8228
8132
|
], msExecutive.prototype, "email", 2);
|
|
8229
8133
|
__decorateClass([
|
|
8230
|
-
(0,
|
|
8134
|
+
(0, import_sequelize_typescript68.Column)({
|
|
8231
8135
|
allowNull: true,
|
|
8232
|
-
type:
|
|
8136
|
+
type: import_sequelize_typescript68.DataType.STRING(255)
|
|
8233
8137
|
})
|
|
8234
8138
|
], msExecutive.prototype, "phone", 2);
|
|
8235
8139
|
__decorateClass([
|
|
8236
|
-
(0,
|
|
8140
|
+
(0, import_sequelize_typescript68.Column)({
|
|
8237
8141
|
allowNull: true,
|
|
8238
|
-
type:
|
|
8142
|
+
type: import_sequelize_typescript68.DataType.STRING(255)
|
|
8239
8143
|
})
|
|
8240
8144
|
], msExecutive.prototype, "fax", 2);
|
|
8241
8145
|
__decorateClass([
|
|
8242
|
-
(0,
|
|
8146
|
+
(0, import_sequelize_typescript68.Column)({
|
|
8243
8147
|
allowNull: true,
|
|
8244
|
-
type:
|
|
8148
|
+
type: import_sequelize_typescript68.DataType.STRING(255)
|
|
8245
8149
|
})
|
|
8246
8150
|
], msExecutive.prototype, "education", 2);
|
|
8247
8151
|
__decorateClass([
|
|
8248
|
-
(0,
|
|
8152
|
+
(0, import_sequelize_typescript68.Column)({
|
|
8249
8153
|
allowNull: true,
|
|
8250
|
-
type:
|
|
8154
|
+
type: import_sequelize_typescript68.DataType.STRING(255)
|
|
8251
8155
|
})
|
|
8252
8156
|
], msExecutive.prototype, "experience", 2);
|
|
8253
8157
|
__decorateClass([
|
|
8254
|
-
(0,
|
|
8158
|
+
(0, import_sequelize_typescript68.Column)({
|
|
8255
8159
|
allowNull: true,
|
|
8256
|
-
type:
|
|
8160
|
+
type: import_sequelize_typescript68.DataType.STRING(255)
|
|
8257
8161
|
})
|
|
8258
8162
|
], msExecutive.prototype, "image", 2);
|
|
8259
8163
|
__decorateClass([
|
|
8260
|
-
(0,
|
|
8164
|
+
(0, import_sequelize_typescript68.Column)({
|
|
8261
8165
|
allowNull: true,
|
|
8262
|
-
type:
|
|
8166
|
+
type: import_sequelize_typescript68.DataType.INTEGER
|
|
8263
8167
|
})
|
|
8264
8168
|
], msExecutive.prototype, "sort", 2);
|
|
8265
8169
|
__decorateClass([
|
|
8266
|
-
(0,
|
|
8170
|
+
(0, import_sequelize_typescript68.Column)({
|
|
8267
8171
|
allowNull: true,
|
|
8268
|
-
type:
|
|
8172
|
+
type: import_sequelize_typescript68.DataType.INTEGER
|
|
8269
8173
|
})
|
|
8270
8174
|
], msExecutive.prototype, "status", 2);
|
|
8271
8175
|
__decorateClass([
|
|
8272
|
-
(0,
|
|
8176
|
+
(0, import_sequelize_typescript68.Column)({
|
|
8273
8177
|
allowNull: true,
|
|
8274
|
-
type:
|
|
8178
|
+
type: import_sequelize_typescript68.DataType.JSON
|
|
8275
8179
|
})
|
|
8276
8180
|
], msExecutive.prototype, "info", 2);
|
|
8277
8181
|
__decorateClass([
|
|
8278
|
-
(0,
|
|
8182
|
+
(0, import_sequelize_typescript68.Column)({
|
|
8279
8183
|
field: "created_by",
|
|
8280
8184
|
allowNull: true,
|
|
8281
|
-
type:
|
|
8185
|
+
type: import_sequelize_typescript68.DataType.STRING(60)
|
|
8282
8186
|
})
|
|
8283
8187
|
], msExecutive.prototype, "createdBy", 2);
|
|
8284
8188
|
__decorateClass([
|
|
8285
|
-
(0,
|
|
8189
|
+
(0, import_sequelize_typescript68.Column)({
|
|
8286
8190
|
field: "created_date",
|
|
8287
8191
|
allowNull: true,
|
|
8288
|
-
type:
|
|
8192
|
+
type: import_sequelize_typescript68.DataType.DATE
|
|
8289
8193
|
})
|
|
8290
8194
|
], msExecutive.prototype, "createdDate", 2);
|
|
8291
8195
|
__decorateClass([
|
|
8292
|
-
(0,
|
|
8196
|
+
(0, import_sequelize_typescript68.Column)({
|
|
8293
8197
|
field: "updated_by",
|
|
8294
8198
|
allowNull: true,
|
|
8295
|
-
type:
|
|
8199
|
+
type: import_sequelize_typescript68.DataType.STRING(60)
|
|
8296
8200
|
})
|
|
8297
8201
|
], msExecutive.prototype, "updatedBy", 2);
|
|
8298
8202
|
__decorateClass([
|
|
8299
|
-
(0,
|
|
8203
|
+
(0, import_sequelize_typescript68.Column)({
|
|
8300
8204
|
field: "updated_date",
|
|
8301
8205
|
allowNull: true,
|
|
8302
|
-
type:
|
|
8206
|
+
type: import_sequelize_typescript68.DataType.DATE
|
|
8303
8207
|
})
|
|
8304
8208
|
], msExecutive.prototype, "updatedDate", 2);
|
|
8305
8209
|
__decorateClass([
|
|
8306
|
-
(0,
|
|
8307
|
-
(0, import_sequelize_typescript69.Column)({
|
|
8210
|
+
(0, import_sequelize_typescript68.Column)({
|
|
8308
8211
|
field: "position_id",
|
|
8309
8212
|
allowNull: true,
|
|
8310
|
-
type:
|
|
8213
|
+
type: import_sequelize_typescript68.DataType.INTEGER
|
|
8311
8214
|
})
|
|
8312
8215
|
], msExecutive.prototype, "positionId", 2);
|
|
8313
8216
|
__decorateClass([
|
|
8314
|
-
(0,
|
|
8217
|
+
(0, import_sequelize_typescript68.BelongsTo)(() => msExecutiveGroup)
|
|
8315
8218
|
], msExecutive.prototype, "msExecutiveGroup", 2);
|
|
8316
|
-
__decorateClass([
|
|
8317
|
-
(0, import_sequelize_typescript69.BelongsTo)(() => msExecutivePosition)
|
|
8318
|
-
], msExecutive.prototype, "msExecutivePosition", 2);
|
|
8319
8219
|
msExecutive = __decorateClass([
|
|
8320
|
-
(0,
|
|
8220
|
+
(0, import_sequelize_typescript68.Table)({
|
|
8321
8221
|
tableName: "ms_executive",
|
|
8322
8222
|
timestamps: false
|
|
8323
8223
|
})
|
|
8324
8224
|
], msExecutive);
|
|
8325
8225
|
|
|
8326
8226
|
// src/databases/tables/msExecutiveActing.ts
|
|
8327
|
-
var
|
|
8328
|
-
var msExecutiveActing = class extends
|
|
8227
|
+
var import_sequelize_typescript69 = require("sequelize-typescript");
|
|
8228
|
+
var msExecutiveActing = class extends import_sequelize_typescript69.Model {
|
|
8329
8229
|
};
|
|
8330
8230
|
__decorateClass([
|
|
8331
|
-
(0,
|
|
8231
|
+
(0, import_sequelize_typescript69.Column)({
|
|
8332
8232
|
primaryKey: true,
|
|
8333
8233
|
autoIncrement: true,
|
|
8334
|
-
type:
|
|
8234
|
+
type: import_sequelize_typescript69.DataType.INTEGER
|
|
8335
8235
|
})
|
|
8336
8236
|
], msExecutiveActing.prototype, "id", 2);
|
|
8337
8237
|
__decorateClass([
|
|
8338
|
-
(0,
|
|
8238
|
+
(0, import_sequelize_typescript69.Column)({
|
|
8339
8239
|
allowNull: true,
|
|
8340
|
-
type:
|
|
8240
|
+
type: import_sequelize_typescript69.DataType.STRING(255)
|
|
8341
8241
|
})
|
|
8342
8242
|
], msExecutiveActing.prototype, "name", 2);
|
|
8343
8243
|
__decorateClass([
|
|
8344
|
-
(0,
|
|
8244
|
+
(0, import_sequelize_typescript69.Column)({
|
|
8345
8245
|
allowNull: true,
|
|
8346
|
-
type:
|
|
8246
|
+
type: import_sequelize_typescript69.DataType.JSON
|
|
8347
8247
|
})
|
|
8348
8248
|
], msExecutiveActing.prototype, "info", 2);
|
|
8349
8249
|
__decorateClass([
|
|
8350
|
-
(0,
|
|
8250
|
+
(0, import_sequelize_typescript69.Column)({
|
|
8351
8251
|
allowNull: true,
|
|
8352
|
-
type:
|
|
8252
|
+
type: import_sequelize_typescript69.DataType.INTEGER
|
|
8353
8253
|
})
|
|
8354
8254
|
], msExecutiveActing.prototype, "status", 2);
|
|
8355
8255
|
__decorateClass([
|
|
8356
|
-
(0,
|
|
8256
|
+
(0, import_sequelize_typescript69.Column)({
|
|
8357
8257
|
field: "created_by",
|
|
8358
8258
|
allowNull: true,
|
|
8359
|
-
type:
|
|
8259
|
+
type: import_sequelize_typescript69.DataType.STRING(60)
|
|
8360
8260
|
})
|
|
8361
8261
|
], msExecutiveActing.prototype, "createdBy", 2);
|
|
8362
8262
|
__decorateClass([
|
|
8363
|
-
(0,
|
|
8263
|
+
(0, import_sequelize_typescript69.Column)({
|
|
8364
8264
|
field: "created_date",
|
|
8365
8265
|
allowNull: true,
|
|
8366
|
-
type:
|
|
8266
|
+
type: import_sequelize_typescript69.DataType.DATE
|
|
8367
8267
|
})
|
|
8368
8268
|
], msExecutiveActing.prototype, "createdDate", 2);
|
|
8369
8269
|
__decorateClass([
|
|
8370
|
-
(0,
|
|
8270
|
+
(0, import_sequelize_typescript69.Column)({
|
|
8371
8271
|
field: "updated_by",
|
|
8372
8272
|
allowNull: true,
|
|
8373
|
-
type:
|
|
8273
|
+
type: import_sequelize_typescript69.DataType.STRING(60)
|
|
8374
8274
|
})
|
|
8375
8275
|
], msExecutiveActing.prototype, "updatedBy", 2);
|
|
8376
8276
|
__decorateClass([
|
|
8377
|
-
(0,
|
|
8277
|
+
(0, import_sequelize_typescript69.Column)({
|
|
8378
8278
|
field: "updated_date",
|
|
8379
8279
|
allowNull: true,
|
|
8380
|
-
type:
|
|
8280
|
+
type: import_sequelize_typescript69.DataType.DATE
|
|
8381
8281
|
})
|
|
8382
8282
|
], msExecutiveActing.prototype, "updatedDate", 2);
|
|
8383
8283
|
msExecutiveActing = __decorateClass([
|
|
8384
|
-
(0,
|
|
8284
|
+
(0, import_sequelize_typescript69.Table)({
|
|
8385
8285
|
tableName: "ms_executive_acting",
|
|
8386
8286
|
timestamps: false
|
|
8387
8287
|
})
|
|
8388
8288
|
], msExecutiveActing);
|
|
8389
8289
|
|
|
8390
|
-
// src/databases/tables/
|
|
8391
|
-
var
|
|
8392
|
-
var
|
|
8290
|
+
// src/databases/tables/msExecutiveLevel.ts
|
|
8291
|
+
var import_sequelize_typescript70 = require("sequelize-typescript");
|
|
8292
|
+
var msExecutiveLevel = class extends import_sequelize_typescript70.Model {
|
|
8393
8293
|
};
|
|
8394
8294
|
__decorateClass([
|
|
8395
|
-
(0,
|
|
8295
|
+
(0, import_sequelize_typescript70.Column)({
|
|
8396
8296
|
primaryKey: true,
|
|
8397
8297
|
autoIncrement: true,
|
|
8398
|
-
type:
|
|
8298
|
+
type: import_sequelize_typescript70.DataType.INTEGER
|
|
8399
8299
|
})
|
|
8400
|
-
],
|
|
8300
|
+
], msExecutiveLevel.prototype, "id", 2);
|
|
8401
8301
|
__decorateClass([
|
|
8402
|
-
(0,
|
|
8302
|
+
(0, import_sequelize_typescript70.Column)({
|
|
8303
|
+
field: "group_id",
|
|
8403
8304
|
allowNull: true,
|
|
8404
|
-
type:
|
|
8305
|
+
type: import_sequelize_typescript70.DataType.INTEGER
|
|
8405
8306
|
})
|
|
8406
|
-
],
|
|
8307
|
+
], msExecutiveLevel.prototype, "groupId", 2);
|
|
8407
8308
|
__decorateClass([
|
|
8408
|
-
(0,
|
|
8409
|
-
field: "name_info",
|
|
8309
|
+
(0, import_sequelize_typescript70.Column)({
|
|
8410
8310
|
allowNull: true,
|
|
8411
|
-
type:
|
|
8311
|
+
type: import_sequelize_typescript70.DataType.INTEGER
|
|
8412
8312
|
})
|
|
8413
|
-
],
|
|
8313
|
+
], msExecutiveLevel.prototype, "level", 2);
|
|
8414
8314
|
__decorateClass([
|
|
8415
|
-
(0,
|
|
8315
|
+
(0, import_sequelize_typescript70.Column)({
|
|
8416
8316
|
allowNull: true,
|
|
8417
|
-
type:
|
|
8317
|
+
type: import_sequelize_typescript70.DataType.STRING(255)
|
|
8418
8318
|
})
|
|
8419
|
-
],
|
|
8319
|
+
], msExecutiveLevel.prototype, "name", 2);
|
|
8420
8320
|
__decorateClass([
|
|
8421
|
-
(0,
|
|
8321
|
+
(0, import_sequelize_typescript70.Column)({
|
|
8422
8322
|
allowNull: true,
|
|
8423
|
-
type:
|
|
8323
|
+
type: import_sequelize_typescript70.DataType.STRING(255)
|
|
8424
8324
|
})
|
|
8425
|
-
],
|
|
8325
|
+
], msExecutiveLevel.prototype, "description", 2);
|
|
8426
8326
|
__decorateClass([
|
|
8427
|
-
(0,
|
|
8428
|
-
field: "created_by",
|
|
8327
|
+
(0, import_sequelize_typescript70.Column)({
|
|
8429
8328
|
allowNull: true,
|
|
8430
|
-
type:
|
|
8329
|
+
type: import_sequelize_typescript70.DataType.INTEGER
|
|
8431
8330
|
})
|
|
8432
|
-
],
|
|
8331
|
+
], msExecutiveLevel.prototype, "sort", 2);
|
|
8433
8332
|
__decorateClass([
|
|
8434
|
-
(0,
|
|
8435
|
-
field: "created_date",
|
|
8333
|
+
(0, import_sequelize_typescript70.Column)({
|
|
8436
8334
|
allowNull: true,
|
|
8437
|
-
type:
|
|
8335
|
+
type: import_sequelize_typescript70.DataType.INTEGER
|
|
8438
8336
|
})
|
|
8439
|
-
],
|
|
8337
|
+
], msExecutiveLevel.prototype, "status", 2);
|
|
8440
8338
|
__decorateClass([
|
|
8441
|
-
(0,
|
|
8442
|
-
field: "
|
|
8339
|
+
(0, import_sequelize_typescript70.Column)({
|
|
8340
|
+
field: "updated_info",
|
|
8443
8341
|
allowNull: true,
|
|
8444
|
-
type:
|
|
8445
|
-
})
|
|
8446
|
-
], msExecutiveBoardBk.prototype, "updatedBy", 2);
|
|
8447
|
-
__decorateClass([
|
|
8448
|
-
(0, import_sequelize_typescript71.Column)({
|
|
8449
|
-
field: "updated_date",
|
|
8450
|
-
allowNull: true,
|
|
8451
|
-
type: import_sequelize_typescript71.DataType.DATE
|
|
8452
|
-
})
|
|
8453
|
-
], msExecutiveBoardBk.prototype, "updatedDate", 2);
|
|
8454
|
-
msExecutiveBoardBk = __decorateClass([
|
|
8455
|
-
(0, import_sequelize_typescript71.Table)({
|
|
8456
|
-
tableName: "ms_executive_board@bk",
|
|
8457
|
-
timestamps: false
|
|
8458
|
-
})
|
|
8459
|
-
], msExecutiveBoardBk);
|
|
8460
|
-
|
|
8461
|
-
// src/databases/tables/msExecutiveLevel.ts
|
|
8462
|
-
var import_sequelize_typescript72 = require("sequelize-typescript");
|
|
8463
|
-
var msExecutiveLevel = class extends import_sequelize_typescript72.Model {
|
|
8464
|
-
};
|
|
8465
|
-
__decorateClass([
|
|
8466
|
-
(0, import_sequelize_typescript72.Column)({
|
|
8467
|
-
primaryKey: true,
|
|
8468
|
-
autoIncrement: true,
|
|
8469
|
-
type: import_sequelize_typescript72.DataType.INTEGER
|
|
8470
|
-
})
|
|
8471
|
-
], msExecutiveLevel.prototype, "id", 2);
|
|
8472
|
-
__decorateClass([
|
|
8473
|
-
(0, import_sequelize_typescript72.Column)({
|
|
8474
|
-
field: "group_id",
|
|
8475
|
-
allowNull: true,
|
|
8476
|
-
type: import_sequelize_typescript72.DataType.INTEGER
|
|
8477
|
-
})
|
|
8478
|
-
], msExecutiveLevel.prototype, "groupId", 2);
|
|
8479
|
-
__decorateClass([
|
|
8480
|
-
(0, import_sequelize_typescript72.Column)({
|
|
8481
|
-
allowNull: true,
|
|
8482
|
-
type: import_sequelize_typescript72.DataType.INTEGER
|
|
8483
|
-
})
|
|
8484
|
-
], msExecutiveLevel.prototype, "level", 2);
|
|
8485
|
-
__decorateClass([
|
|
8486
|
-
(0, import_sequelize_typescript72.Column)({
|
|
8487
|
-
allowNull: true,
|
|
8488
|
-
type: import_sequelize_typescript72.DataType.STRING(255)
|
|
8489
|
-
})
|
|
8490
|
-
], msExecutiveLevel.prototype, "name", 2);
|
|
8491
|
-
__decorateClass([
|
|
8492
|
-
(0, import_sequelize_typescript72.Column)({
|
|
8493
|
-
allowNull: true,
|
|
8494
|
-
type: import_sequelize_typescript72.DataType.STRING(255)
|
|
8495
|
-
})
|
|
8496
|
-
], msExecutiveLevel.prototype, "description", 2);
|
|
8497
|
-
__decorateClass([
|
|
8498
|
-
(0, import_sequelize_typescript72.Column)({
|
|
8499
|
-
allowNull: true,
|
|
8500
|
-
type: import_sequelize_typescript72.DataType.INTEGER
|
|
8501
|
-
})
|
|
8502
|
-
], msExecutiveLevel.prototype, "sort", 2);
|
|
8503
|
-
__decorateClass([
|
|
8504
|
-
(0, import_sequelize_typescript72.Column)({
|
|
8505
|
-
allowNull: true,
|
|
8506
|
-
type: import_sequelize_typescript72.DataType.INTEGER
|
|
8507
|
-
})
|
|
8508
|
-
], msExecutiveLevel.prototype, "status", 2);
|
|
8509
|
-
__decorateClass([
|
|
8510
|
-
(0, import_sequelize_typescript72.Column)({
|
|
8511
|
-
field: "updated_info",
|
|
8512
|
-
allowNull: true,
|
|
8513
|
-
type: import_sequelize_typescript72.DataType.STRING(255)
|
|
8342
|
+
type: import_sequelize_typescript70.DataType.STRING(255)
|
|
8514
8343
|
})
|
|
8515
8344
|
], msExecutiveLevel.prototype, "updatedInfo", 2);
|
|
8516
8345
|
__decorateClass([
|
|
8517
|
-
(0,
|
|
8346
|
+
(0, import_sequelize_typescript70.Column)({
|
|
8518
8347
|
allowNull: true,
|
|
8519
|
-
type:
|
|
8348
|
+
type: import_sequelize_typescript70.DataType.STRING
|
|
8520
8349
|
})
|
|
8521
8350
|
], msExecutiveLevel.prototype, "remark", 2);
|
|
8522
8351
|
__decorateClass([
|
|
8523
|
-
(0,
|
|
8352
|
+
(0, import_sequelize_typescript70.Column)({
|
|
8524
8353
|
allowNull: true,
|
|
8525
|
-
type:
|
|
8354
|
+
type: import_sequelize_typescript70.DataType.JSON
|
|
8526
8355
|
})
|
|
8527
8356
|
], msExecutiveLevel.prototype, "info", 2);
|
|
8528
8357
|
__decorateClass([
|
|
8529
|
-
(0,
|
|
8358
|
+
(0, import_sequelize_typescript70.Column)({
|
|
8530
8359
|
field: "created_by",
|
|
8531
8360
|
allowNull: true,
|
|
8532
|
-
type:
|
|
8361
|
+
type: import_sequelize_typescript70.DataType.STRING(60)
|
|
8533
8362
|
})
|
|
8534
8363
|
], msExecutiveLevel.prototype, "createdBy", 2);
|
|
8535
8364
|
__decorateClass([
|
|
8536
|
-
(0,
|
|
8365
|
+
(0, import_sequelize_typescript70.Column)({
|
|
8537
8366
|
field: "created_date",
|
|
8538
8367
|
allowNull: true,
|
|
8539
|
-
type:
|
|
8368
|
+
type: import_sequelize_typescript70.DataType.DATE
|
|
8540
8369
|
})
|
|
8541
8370
|
], msExecutiveLevel.prototype, "createdDate", 2);
|
|
8542
8371
|
__decorateClass([
|
|
8543
|
-
(0,
|
|
8372
|
+
(0, import_sequelize_typescript70.Column)({
|
|
8544
8373
|
field: "updated_by",
|
|
8545
8374
|
allowNull: true,
|
|
8546
|
-
type:
|
|
8375
|
+
type: import_sequelize_typescript70.DataType.STRING(60)
|
|
8547
8376
|
})
|
|
8548
8377
|
], msExecutiveLevel.prototype, "updatedBy", 2);
|
|
8549
8378
|
__decorateClass([
|
|
8550
|
-
(0,
|
|
8379
|
+
(0, import_sequelize_typescript70.Column)({
|
|
8551
8380
|
field: "updated_date",
|
|
8552
8381
|
allowNull: true,
|
|
8553
|
-
type:
|
|
8382
|
+
type: import_sequelize_typescript70.DataType.DATE
|
|
8554
8383
|
})
|
|
8555
8384
|
], msExecutiveLevel.prototype, "updatedDate", 2);
|
|
8556
8385
|
msExecutiveLevel = __decorateClass([
|
|
8557
|
-
(0,
|
|
8386
|
+
(0, import_sequelize_typescript70.Table)({
|
|
8558
8387
|
tableName: "ms_executive_level",
|
|
8559
8388
|
timestamps: false
|
|
8560
8389
|
})
|
|
8561
8390
|
], msExecutiveLevel);
|
|
8562
8391
|
|
|
8563
|
-
// src/databases/tables/msExecutivePositionBk.ts
|
|
8564
|
-
var import_sequelize_typescript73 = require("sequelize-typescript");
|
|
8565
|
-
var msExecutivePositionBk = class extends import_sequelize_typescript73.Model {
|
|
8566
|
-
};
|
|
8567
|
-
__decorateClass([
|
|
8568
|
-
(0, import_sequelize_typescript73.Column)({
|
|
8569
|
-
primaryKey: true,
|
|
8570
|
-
autoIncrement: true,
|
|
8571
|
-
type: import_sequelize_typescript73.DataType.INTEGER
|
|
8572
|
-
})
|
|
8573
|
-
], msExecutivePositionBk.prototype, "id", 2);
|
|
8574
|
-
__decorateClass([
|
|
8575
|
-
(0, import_sequelize_typescript73.Column)({
|
|
8576
|
-
field: "group_id",
|
|
8577
|
-
allowNull: true,
|
|
8578
|
-
type: import_sequelize_typescript73.DataType.INTEGER
|
|
8579
|
-
})
|
|
8580
|
-
], msExecutivePositionBk.prototype, "groupId", 2);
|
|
8581
|
-
__decorateClass([
|
|
8582
|
-
(0, import_sequelize_typescript73.Column)({
|
|
8583
|
-
allowNull: true,
|
|
8584
|
-
type: import_sequelize_typescript73.DataType.STRING(255)
|
|
8585
|
-
})
|
|
8586
|
-
], msExecutivePositionBk.prototype, "name", 2);
|
|
8587
|
-
__decorateClass([
|
|
8588
|
-
(0, import_sequelize_typescript73.Column)({
|
|
8589
|
-
allowNull: true,
|
|
8590
|
-
type: import_sequelize_typescript73.DataType.STRING(255)
|
|
8591
|
-
})
|
|
8592
|
-
], msExecutivePositionBk.prototype, "description", 2);
|
|
8593
|
-
__decorateClass([
|
|
8594
|
-
(0, import_sequelize_typescript73.Column)({
|
|
8595
|
-
field: "updated_info",
|
|
8596
|
-
allowNull: true,
|
|
8597
|
-
type: import_sequelize_typescript73.DataType.STRING(255)
|
|
8598
|
-
})
|
|
8599
|
-
], msExecutivePositionBk.prototype, "updatedInfo", 2);
|
|
8600
|
-
__decorateClass([
|
|
8601
|
-
(0, import_sequelize_typescript73.Column)({
|
|
8602
|
-
allowNull: true,
|
|
8603
|
-
type: import_sequelize_typescript73.DataType.STRING
|
|
8604
|
-
})
|
|
8605
|
-
], msExecutivePositionBk.prototype, "remark", 2);
|
|
8606
|
-
__decorateClass([
|
|
8607
|
-
(0, import_sequelize_typescript73.Column)({
|
|
8608
|
-
allowNull: true,
|
|
8609
|
-
type: import_sequelize_typescript73.DataType.INTEGER
|
|
8610
|
-
})
|
|
8611
|
-
], msExecutivePositionBk.prototype, "sort", 2);
|
|
8612
|
-
__decorateClass([
|
|
8613
|
-
(0, import_sequelize_typescript73.Column)({
|
|
8614
|
-
allowNull: true,
|
|
8615
|
-
type: import_sequelize_typescript73.DataType.INTEGER
|
|
8616
|
-
})
|
|
8617
|
-
], msExecutivePositionBk.prototype, "status", 2);
|
|
8618
|
-
__decorateClass([
|
|
8619
|
-
(0, import_sequelize_typescript73.Column)({
|
|
8620
|
-
allowNull: true,
|
|
8621
|
-
type: import_sequelize_typescript73.DataType.JSON
|
|
8622
|
-
})
|
|
8623
|
-
], msExecutivePositionBk.prototype, "info", 2);
|
|
8624
|
-
__decorateClass([
|
|
8625
|
-
(0, import_sequelize_typescript73.Column)({
|
|
8626
|
-
field: "created_by",
|
|
8627
|
-
allowNull: true,
|
|
8628
|
-
type: import_sequelize_typescript73.DataType.STRING(60)
|
|
8629
|
-
})
|
|
8630
|
-
], msExecutivePositionBk.prototype, "createdBy", 2);
|
|
8631
|
-
__decorateClass([
|
|
8632
|
-
(0, import_sequelize_typescript73.Column)({
|
|
8633
|
-
field: "created_date",
|
|
8634
|
-
allowNull: true,
|
|
8635
|
-
type: import_sequelize_typescript73.DataType.DATE
|
|
8636
|
-
})
|
|
8637
|
-
], msExecutivePositionBk.prototype, "createdDate", 2);
|
|
8638
|
-
__decorateClass([
|
|
8639
|
-
(0, import_sequelize_typescript73.Column)({
|
|
8640
|
-
field: "updated_by",
|
|
8641
|
-
allowNull: true,
|
|
8642
|
-
type: import_sequelize_typescript73.DataType.STRING(60)
|
|
8643
|
-
})
|
|
8644
|
-
], msExecutivePositionBk.prototype, "updatedBy", 2);
|
|
8645
|
-
__decorateClass([
|
|
8646
|
-
(0, import_sequelize_typescript73.Column)({
|
|
8647
|
-
field: "updated_date",
|
|
8648
|
-
allowNull: true,
|
|
8649
|
-
type: import_sequelize_typescript73.DataType.DATE
|
|
8650
|
-
})
|
|
8651
|
-
], msExecutivePositionBk.prototype, "updatedDate", 2);
|
|
8652
|
-
msExecutivePositionBk = __decorateClass([
|
|
8653
|
-
(0, import_sequelize_typescript73.Table)({
|
|
8654
|
-
tableName: "ms_executive_position@bk",
|
|
8655
|
-
timestamps: false
|
|
8656
|
-
})
|
|
8657
|
-
], msExecutivePositionBk);
|
|
8658
|
-
|
|
8659
8392
|
// src/databases/tables/msHoliday.ts
|
|
8660
|
-
var
|
|
8661
|
-
var msHoliday = class extends
|
|
8393
|
+
var import_sequelize_typescript71 = require("sequelize-typescript");
|
|
8394
|
+
var msHoliday = class extends import_sequelize_typescript71.Model {
|
|
8662
8395
|
};
|
|
8663
8396
|
__decorateClass([
|
|
8664
|
-
(0,
|
|
8397
|
+
(0, import_sequelize_typescript71.Column)({
|
|
8665
8398
|
primaryKey: true,
|
|
8666
8399
|
autoIncrement: true,
|
|
8667
|
-
type:
|
|
8400
|
+
type: import_sequelize_typescript71.DataType.INTEGER
|
|
8668
8401
|
})
|
|
8669
8402
|
], msHoliday.prototype, "id", 2);
|
|
8670
8403
|
__decorateClass([
|
|
8671
|
-
(0,
|
|
8404
|
+
(0, import_sequelize_typescript71.Column)({
|
|
8672
8405
|
field: "site_id",
|
|
8673
8406
|
allowNull: true,
|
|
8674
|
-
type:
|
|
8407
|
+
type: import_sequelize_typescript71.DataType.INTEGER
|
|
8675
8408
|
})
|
|
8676
8409
|
], msHoliday.prototype, "siteId", 2);
|
|
8677
8410
|
__decorateClass([
|
|
8678
|
-
(0,
|
|
8411
|
+
(0, import_sequelize_typescript71.Column)({
|
|
8679
8412
|
field: "type_id",
|
|
8680
8413
|
allowNull: true,
|
|
8681
|
-
type:
|
|
8414
|
+
type: import_sequelize_typescript71.DataType.INTEGER
|
|
8682
8415
|
})
|
|
8683
8416
|
], msHoliday.prototype, "typeId", 2);
|
|
8684
8417
|
__decorateClass([
|
|
8685
|
-
(0,
|
|
8418
|
+
(0, import_sequelize_typescript71.Column)({
|
|
8686
8419
|
allowNull: true,
|
|
8687
|
-
type:
|
|
8420
|
+
type: import_sequelize_typescript71.DataType.INTEGER
|
|
8688
8421
|
})
|
|
8689
8422
|
], msHoliday.prototype, "year", 2);
|
|
8690
8423
|
__decorateClass([
|
|
8691
|
-
(0,
|
|
8424
|
+
(0, import_sequelize_typescript71.Column)({
|
|
8692
8425
|
allowNull: true,
|
|
8693
|
-
type:
|
|
8426
|
+
type: import_sequelize_typescript71.DataType.STRING(255)
|
|
8694
8427
|
})
|
|
8695
8428
|
], msHoliday.prototype, "name", 2);
|
|
8696
8429
|
__decorateClass([
|
|
8697
|
-
(0,
|
|
8430
|
+
(0, import_sequelize_typescript71.Column)({
|
|
8698
8431
|
field: "at_date",
|
|
8699
8432
|
allowNull: true,
|
|
8700
|
-
type:
|
|
8433
|
+
type: import_sequelize_typescript71.DataType.DATEONLY
|
|
8701
8434
|
})
|
|
8702
8435
|
], msHoliday.prototype, "atDate", 2);
|
|
8703
8436
|
__decorateClass([
|
|
8704
|
-
(0,
|
|
8437
|
+
(0, import_sequelize_typescript71.Column)({
|
|
8705
8438
|
allowNull: true,
|
|
8706
|
-
type:
|
|
8439
|
+
type: import_sequelize_typescript71.DataType.INTEGER
|
|
8707
8440
|
})
|
|
8708
8441
|
], msHoliday.prototype, "status", 2);
|
|
8709
8442
|
__decorateClass([
|
|
8710
|
-
(0,
|
|
8443
|
+
(0, import_sequelize_typescript71.Column)({
|
|
8711
8444
|
field: "created_by",
|
|
8712
8445
|
allowNull: true,
|
|
8713
|
-
type:
|
|
8446
|
+
type: import_sequelize_typescript71.DataType.STRING(60)
|
|
8714
8447
|
})
|
|
8715
8448
|
], msHoliday.prototype, "createdBy", 2);
|
|
8716
8449
|
__decorateClass([
|
|
8717
|
-
(0,
|
|
8450
|
+
(0, import_sequelize_typescript71.Column)({
|
|
8718
8451
|
field: "created_date",
|
|
8719
8452
|
allowNull: true,
|
|
8720
|
-
type:
|
|
8453
|
+
type: import_sequelize_typescript71.DataType.DATE
|
|
8721
8454
|
})
|
|
8722
8455
|
], msHoliday.prototype, "createdDate", 2);
|
|
8723
8456
|
__decorateClass([
|
|
8724
|
-
(0,
|
|
8457
|
+
(0, import_sequelize_typescript71.Column)({
|
|
8725
8458
|
field: "updated_by",
|
|
8726
8459
|
allowNull: true,
|
|
8727
|
-
type:
|
|
8460
|
+
type: import_sequelize_typescript71.DataType.STRING(60)
|
|
8728
8461
|
})
|
|
8729
8462
|
], msHoliday.prototype, "updatedBy", 2);
|
|
8730
8463
|
__decorateClass([
|
|
8731
|
-
(0,
|
|
8464
|
+
(0, import_sequelize_typescript71.Column)({
|
|
8732
8465
|
field: "updated_date",
|
|
8733
8466
|
allowNull: true,
|
|
8734
|
-
type:
|
|
8467
|
+
type: import_sequelize_typescript71.DataType.DATE
|
|
8735
8468
|
})
|
|
8736
8469
|
], msHoliday.prototype, "updatedDate", 2);
|
|
8737
8470
|
msHoliday = __decorateClass([
|
|
8738
|
-
(0,
|
|
8471
|
+
(0, import_sequelize_typescript71.Table)({
|
|
8739
8472
|
tableName: "ms_holiday",
|
|
8740
8473
|
timestamps: false
|
|
8741
8474
|
})
|
|
8742
8475
|
], msHoliday);
|
|
8743
8476
|
|
|
8744
8477
|
// src/databases/tables/msOrganization.ts
|
|
8745
|
-
var
|
|
8746
|
-
var msOrganization = class extends
|
|
8478
|
+
var import_sequelize_typescript72 = require("sequelize-typescript");
|
|
8479
|
+
var msOrganization = class extends import_sequelize_typescript72.Model {
|
|
8747
8480
|
};
|
|
8748
8481
|
__decorateClass([
|
|
8749
|
-
(0,
|
|
8482
|
+
(0, import_sequelize_typescript72.Column)({
|
|
8750
8483
|
primaryKey: true,
|
|
8751
8484
|
autoIncrement: true,
|
|
8752
|
-
type:
|
|
8485
|
+
type: import_sequelize_typescript72.DataType.INTEGER
|
|
8753
8486
|
})
|
|
8754
8487
|
], msOrganization.prototype, "id", 2);
|
|
8755
8488
|
__decorateClass([
|
|
8756
|
-
(0,
|
|
8489
|
+
(0, import_sequelize_typescript72.Column)({
|
|
8757
8490
|
field: "parent_id",
|
|
8758
8491
|
allowNull: true,
|
|
8759
|
-
type:
|
|
8492
|
+
type: import_sequelize_typescript72.DataType.INTEGER
|
|
8760
8493
|
})
|
|
8761
8494
|
], msOrganization.prototype, "parentId", 2);
|
|
8762
8495
|
__decorateClass([
|
|
8763
|
-
(0,
|
|
8496
|
+
(0, import_sequelize_typescript72.Column)({
|
|
8764
8497
|
field: "organization_id",
|
|
8765
8498
|
allowNull: true,
|
|
8766
|
-
type:
|
|
8499
|
+
type: import_sequelize_typescript72.DataType.INTEGER
|
|
8767
8500
|
})
|
|
8768
8501
|
], msOrganization.prototype, "organizationId", 2);
|
|
8769
8502
|
__decorateClass([
|
|
8770
|
-
(0,
|
|
8503
|
+
(0, import_sequelize_typescript72.Column)({
|
|
8771
8504
|
field: "organization_code",
|
|
8772
8505
|
allowNull: true,
|
|
8773
|
-
type:
|
|
8506
|
+
type: import_sequelize_typescript72.DataType.STRING(10)
|
|
8774
8507
|
})
|
|
8775
8508
|
], msOrganization.prototype, "organizationCode", 2);
|
|
8776
8509
|
__decorateClass([
|
|
8777
|
-
(0,
|
|
8510
|
+
(0, import_sequelize_typescript72.Column)({
|
|
8778
8511
|
allowNull: true,
|
|
8779
|
-
type:
|
|
8512
|
+
type: import_sequelize_typescript72.DataType.STRING(255)
|
|
8780
8513
|
})
|
|
8781
8514
|
], msOrganization.prototype, "name", 2);
|
|
8782
8515
|
__decorateClass([
|
|
8783
|
-
(0,
|
|
8516
|
+
(0, import_sequelize_typescript72.Column)({
|
|
8784
8517
|
field: "name_short",
|
|
8785
8518
|
allowNull: true,
|
|
8786
|
-
type:
|
|
8519
|
+
type: import_sequelize_typescript72.DataType.STRING(30)
|
|
8787
8520
|
})
|
|
8788
8521
|
], msOrganization.prototype, "nameShort", 2);
|
|
8789
8522
|
__decorateClass([
|
|
8790
|
-
(0,
|
|
8523
|
+
(0, import_sequelize_typescript72.Column)({
|
|
8791
8524
|
allowNull: true,
|
|
8792
|
-
type:
|
|
8525
|
+
type: import_sequelize_typescript72.DataType.STRING(255)
|
|
8793
8526
|
})
|
|
8794
8527
|
], msOrganization.prototype, "description", 2);
|
|
8795
8528
|
__decorateClass([
|
|
8796
|
-
(0,
|
|
8529
|
+
(0, import_sequelize_typescript72.Column)({
|
|
8797
8530
|
field: "ol_code",
|
|
8798
8531
|
allowNull: true,
|
|
8799
|
-
type:
|
|
8532
|
+
type: import_sequelize_typescript72.DataType.STRING(10)
|
|
8800
8533
|
})
|
|
8801
8534
|
], msOrganization.prototype, "olCode", 2);
|
|
8802
8535
|
__decorateClass([
|
|
8803
|
-
(0,
|
|
8536
|
+
(0, import_sequelize_typescript72.Column)({
|
|
8804
8537
|
field: "ot_code",
|
|
8805
8538
|
allowNull: true,
|
|
8806
|
-
type:
|
|
8539
|
+
type: import_sequelize_typescript72.DataType.STRING(10)
|
|
8807
8540
|
})
|
|
8808
8541
|
], msOrganization.prototype, "otCode", 2);
|
|
8809
8542
|
__decorateClass([
|
|
8810
|
-
(0,
|
|
8543
|
+
(0, import_sequelize_typescript72.Column)({
|
|
8811
8544
|
field: "ot_name",
|
|
8812
8545
|
allowNull: true,
|
|
8813
|
-
type:
|
|
8546
|
+
type: import_sequelize_typescript72.DataType.STRING(255)
|
|
8814
8547
|
})
|
|
8815
8548
|
], msOrganization.prototype, "otName", 2);
|
|
8816
8549
|
__decorateClass([
|
|
8817
|
-
(0,
|
|
8550
|
+
(0, import_sequelize_typescript72.Column)({
|
|
8818
8551
|
allowNull: true,
|
|
8819
|
-
type:
|
|
8552
|
+
type: import_sequelize_typescript72.DataType.INTEGER,
|
|
8820
8553
|
defaultValue: "1"
|
|
8821
8554
|
})
|
|
8822
8555
|
], msOrganization.prototype, "status", 2);
|
|
8823
8556
|
__decorateClass([
|
|
8824
|
-
(0,
|
|
8557
|
+
(0, import_sequelize_typescript72.Column)({
|
|
8825
8558
|
allowNull: true,
|
|
8826
|
-
type:
|
|
8559
|
+
type: import_sequelize_typescript72.DataType.INTEGER
|
|
8827
8560
|
})
|
|
8828
8561
|
], msOrganization.prototype, "sort", 2);
|
|
8829
8562
|
__decorateClass([
|
|
8830
|
-
(0,
|
|
8563
|
+
(0, import_sequelize_typescript72.Column)({
|
|
8831
8564
|
field: "created_by",
|
|
8832
8565
|
allowNull: true,
|
|
8833
|
-
type:
|
|
8566
|
+
type: import_sequelize_typescript72.DataType.STRING(60)
|
|
8834
8567
|
})
|
|
8835
8568
|
], msOrganization.prototype, "createdBy", 2);
|
|
8836
8569
|
__decorateClass([
|
|
8837
|
-
(0,
|
|
8570
|
+
(0, import_sequelize_typescript72.Column)({
|
|
8838
8571
|
field: "created_date",
|
|
8839
8572
|
allowNull: true,
|
|
8840
|
-
type:
|
|
8573
|
+
type: import_sequelize_typescript72.DataType.DATE
|
|
8841
8574
|
})
|
|
8842
8575
|
], msOrganization.prototype, "createdDate", 2);
|
|
8843
8576
|
__decorateClass([
|
|
8844
|
-
(0,
|
|
8577
|
+
(0, import_sequelize_typescript72.Column)({
|
|
8845
8578
|
field: "updated_by",
|
|
8846
8579
|
allowNull: true,
|
|
8847
|
-
type:
|
|
8580
|
+
type: import_sequelize_typescript72.DataType.STRING(60)
|
|
8848
8581
|
})
|
|
8849
8582
|
], msOrganization.prototype, "updatedBy", 2);
|
|
8850
8583
|
__decorateClass([
|
|
8851
|
-
(0,
|
|
8584
|
+
(0, import_sequelize_typescript72.Column)({
|
|
8852
8585
|
field: "updated_date",
|
|
8853
8586
|
allowNull: true,
|
|
8854
|
-
type:
|
|
8587
|
+
type: import_sequelize_typescript72.DataType.DATE
|
|
8855
8588
|
})
|
|
8856
8589
|
], msOrganization.prototype, "updatedDate", 2);
|
|
8857
8590
|
msOrganization = __decorateClass([
|
|
8858
|
-
(0,
|
|
8591
|
+
(0, import_sequelize_typescript72.Table)({
|
|
8859
8592
|
tableName: "ms_organization",
|
|
8860
8593
|
timestamps: false
|
|
8861
8594
|
})
|
|
8862
8595
|
], msOrganization);
|
|
8863
8596
|
|
|
8864
8597
|
// src/databases/tables/msPosition.ts
|
|
8865
|
-
var
|
|
8866
|
-
var msPosition = class extends
|
|
8598
|
+
var import_sequelize_typescript73 = require("sequelize-typescript");
|
|
8599
|
+
var msPosition = class extends import_sequelize_typescript73.Model {
|
|
8867
8600
|
};
|
|
8868
8601
|
__decorateClass([
|
|
8869
|
-
(0,
|
|
8602
|
+
(0, import_sequelize_typescript73.Column)({
|
|
8870
8603
|
primaryKey: true,
|
|
8871
8604
|
autoIncrement: true,
|
|
8872
|
-
type:
|
|
8605
|
+
type: import_sequelize_typescript73.DataType.INTEGER
|
|
8873
8606
|
})
|
|
8874
8607
|
], msPosition.prototype, "id", 2);
|
|
8875
8608
|
__decorateClass([
|
|
8876
|
-
(0,
|
|
8609
|
+
(0, import_sequelize_typescript73.Column)({
|
|
8877
8610
|
allowNull: true,
|
|
8878
|
-
type:
|
|
8611
|
+
type: import_sequelize_typescript73.DataType.STRING(100)
|
|
8879
8612
|
})
|
|
8880
8613
|
], msPosition.prototype, "name", 2);
|
|
8881
8614
|
__decorateClass([
|
|
8882
|
-
(0,
|
|
8615
|
+
(0, import_sequelize_typescript73.Column)({
|
|
8883
8616
|
allowNull: true,
|
|
8884
|
-
type:
|
|
8617
|
+
type: import_sequelize_typescript73.DataType.STRING(255)
|
|
8885
8618
|
})
|
|
8886
8619
|
], msPosition.prototype, "description", 2);
|
|
8887
8620
|
__decorateClass([
|
|
8888
|
-
(0,
|
|
8621
|
+
(0, import_sequelize_typescript73.Column)({
|
|
8889
8622
|
allowNull: true,
|
|
8890
|
-
type:
|
|
8623
|
+
type: import_sequelize_typescript73.DataType.INTEGER,
|
|
8891
8624
|
defaultValue: "1"
|
|
8892
8625
|
})
|
|
8893
8626
|
], msPosition.prototype, "status", 2);
|
|
8894
8627
|
__decorateClass([
|
|
8895
|
-
(0,
|
|
8628
|
+
(0, import_sequelize_typescript73.Column)({
|
|
8896
8629
|
field: "created_by",
|
|
8897
8630
|
allowNull: true,
|
|
8898
|
-
type:
|
|
8631
|
+
type: import_sequelize_typescript73.DataType.STRING(60)
|
|
8899
8632
|
})
|
|
8900
8633
|
], msPosition.prototype, "createdBy", 2);
|
|
8901
8634
|
__decorateClass([
|
|
8902
|
-
(0,
|
|
8635
|
+
(0, import_sequelize_typescript73.Column)({
|
|
8903
8636
|
field: "created_date",
|
|
8904
8637
|
allowNull: true,
|
|
8905
|
-
type:
|
|
8638
|
+
type: import_sequelize_typescript73.DataType.DATE
|
|
8906
8639
|
})
|
|
8907
8640
|
], msPosition.prototype, "createdDate", 2);
|
|
8908
8641
|
__decorateClass([
|
|
8909
|
-
(0,
|
|
8642
|
+
(0, import_sequelize_typescript73.Column)({
|
|
8910
8643
|
field: "updated_by",
|
|
8911
8644
|
allowNull: true,
|
|
8912
|
-
type:
|
|
8645
|
+
type: import_sequelize_typescript73.DataType.STRING(60)
|
|
8913
8646
|
})
|
|
8914
8647
|
], msPosition.prototype, "updatedBy", 2);
|
|
8915
8648
|
__decorateClass([
|
|
8916
|
-
(0,
|
|
8649
|
+
(0, import_sequelize_typescript73.Column)({
|
|
8917
8650
|
field: "updated_date",
|
|
8918
8651
|
allowNull: true,
|
|
8919
|
-
type:
|
|
8652
|
+
type: import_sequelize_typescript73.DataType.DATE
|
|
8920
8653
|
})
|
|
8921
8654
|
], msPosition.prototype, "updatedDate", 2);
|
|
8922
8655
|
msPosition = __decorateClass([
|
|
8923
|
-
(0,
|
|
8656
|
+
(0, import_sequelize_typescript73.Table)({
|
|
8924
8657
|
tableName: "ms_position",
|
|
8925
8658
|
timestamps: false
|
|
8926
8659
|
})
|
|
8927
8660
|
], msPosition);
|
|
8928
8661
|
|
|
8929
8662
|
// src/databases/tables/msProvince.ts
|
|
8930
|
-
var
|
|
8931
|
-
var msProvince = class extends
|
|
8663
|
+
var import_sequelize_typescript74 = require("sequelize-typescript");
|
|
8664
|
+
var msProvince = class extends import_sequelize_typescript74.Model {
|
|
8932
8665
|
};
|
|
8933
8666
|
__decorateClass([
|
|
8934
|
-
(0,
|
|
8667
|
+
(0, import_sequelize_typescript74.Column)({
|
|
8935
8668
|
primaryKey: true,
|
|
8936
|
-
type:
|
|
8669
|
+
type: import_sequelize_typescript74.DataType.INTEGER
|
|
8937
8670
|
})
|
|
8938
8671
|
], msProvince.prototype, "id", 2);
|
|
8939
8672
|
__decorateClass([
|
|
8940
|
-
(0,
|
|
8673
|
+
(0, import_sequelize_typescript74.Column)({
|
|
8941
8674
|
allowNull: true,
|
|
8942
|
-
type:
|
|
8675
|
+
type: import_sequelize_typescript74.DataType.STRING(255)
|
|
8943
8676
|
})
|
|
8944
8677
|
], msProvince.prototype, "code", 2);
|
|
8945
8678
|
__decorateClass([
|
|
8946
|
-
(0,
|
|
8679
|
+
(0, import_sequelize_typescript74.Column)({
|
|
8947
8680
|
allowNull: true,
|
|
8948
|
-
type:
|
|
8681
|
+
type: import_sequelize_typescript74.DataType.STRING(255)
|
|
8949
8682
|
})
|
|
8950
8683
|
], msProvince.prototype, "name", 2);
|
|
8951
8684
|
__decorateClass([
|
|
8952
|
-
(0,
|
|
8685
|
+
(0, import_sequelize_typescript74.Column)({
|
|
8953
8686
|
field: "geo_id",
|
|
8954
8687
|
allowNull: true,
|
|
8955
|
-
type:
|
|
8688
|
+
type: import_sequelize_typescript74.DataType.INTEGER
|
|
8956
8689
|
})
|
|
8957
8690
|
], msProvince.prototype, "geoId", 2);
|
|
8958
8691
|
__decorateClass([
|
|
8959
|
-
(0,
|
|
8692
|
+
(0, import_sequelize_typescript74.Column)({
|
|
8960
8693
|
field: "court_id",
|
|
8961
8694
|
allowNull: true,
|
|
8962
|
-
type:
|
|
8695
|
+
type: import_sequelize_typescript74.DataType.INTEGER
|
|
8963
8696
|
})
|
|
8964
8697
|
], msProvince.prototype, "courtId", 2);
|
|
8965
8698
|
__decorateClass([
|
|
8966
|
-
(0,
|
|
8699
|
+
(0, import_sequelize_typescript74.Column)({
|
|
8967
8700
|
field: "created_by",
|
|
8968
8701
|
allowNull: true,
|
|
8969
|
-
type:
|
|
8702
|
+
type: import_sequelize_typescript74.DataType.STRING(60)
|
|
8970
8703
|
})
|
|
8971
8704
|
], msProvince.prototype, "createdBy", 2);
|
|
8972
8705
|
__decorateClass([
|
|
8973
|
-
(0,
|
|
8706
|
+
(0, import_sequelize_typescript74.Column)({
|
|
8974
8707
|
field: "created_date",
|
|
8975
8708
|
allowNull: true,
|
|
8976
|
-
type:
|
|
8709
|
+
type: import_sequelize_typescript74.DataType.DATE
|
|
8977
8710
|
})
|
|
8978
8711
|
], msProvince.prototype, "createdDate", 2);
|
|
8979
8712
|
__decorateClass([
|
|
8980
|
-
(0,
|
|
8713
|
+
(0, import_sequelize_typescript74.Column)({
|
|
8981
8714
|
field: "updated_by",
|
|
8982
8715
|
allowNull: true,
|
|
8983
|
-
type:
|
|
8716
|
+
type: import_sequelize_typescript74.DataType.STRING(60)
|
|
8984
8717
|
})
|
|
8985
8718
|
], msProvince.prototype, "updatedBy", 2);
|
|
8986
8719
|
__decorateClass([
|
|
8987
|
-
(0,
|
|
8720
|
+
(0, import_sequelize_typescript74.Column)({
|
|
8988
8721
|
field: "updated_date",
|
|
8989
8722
|
allowNull: true,
|
|
8990
|
-
type:
|
|
8723
|
+
type: import_sequelize_typescript74.DataType.DATE
|
|
8991
8724
|
})
|
|
8992
8725
|
], msProvince.prototype, "updatedDate", 2);
|
|
8993
8726
|
msProvince = __decorateClass([
|
|
8994
|
-
(0,
|
|
8727
|
+
(0, import_sequelize_typescript74.Table)({
|
|
8995
8728
|
tableName: "ms_province",
|
|
8996
8729
|
timestamps: false
|
|
8997
8730
|
})
|
|
8998
8731
|
], msProvince);
|
|
8999
8732
|
|
|
9000
8733
|
// src/databases/tables/msQueueTourFaq.ts
|
|
9001
|
-
var
|
|
9002
|
-
var msQueueTourFaq = class extends
|
|
8734
|
+
var import_sequelize_typescript75 = require("sequelize-typescript");
|
|
8735
|
+
var msQueueTourFaq = class extends import_sequelize_typescript75.Model {
|
|
9003
8736
|
};
|
|
9004
8737
|
__decorateClass([
|
|
9005
|
-
(0,
|
|
8738
|
+
(0, import_sequelize_typescript75.Column)({
|
|
9006
8739
|
primaryKey: true,
|
|
9007
8740
|
autoIncrement: true,
|
|
9008
|
-
type:
|
|
8741
|
+
type: import_sequelize_typescript75.DataType.INTEGER
|
|
9009
8742
|
})
|
|
9010
8743
|
], msQueueTourFaq.prototype, "id", 2);
|
|
9011
8744
|
__decorateClass([
|
|
9012
|
-
(0,
|
|
8745
|
+
(0, import_sequelize_typescript75.Column)({
|
|
9013
8746
|
field: "site_id",
|
|
9014
8747
|
allowNull: true,
|
|
9015
|
-
type:
|
|
8748
|
+
type: import_sequelize_typescript75.DataType.INTEGER
|
|
9016
8749
|
})
|
|
9017
8750
|
], msQueueTourFaq.prototype, "siteId", 2);
|
|
9018
8751
|
__decorateClass([
|
|
9019
|
-
(0,
|
|
8752
|
+
(0, import_sequelize_typescript75.Column)({
|
|
9020
8753
|
allowNull: true,
|
|
9021
|
-
type:
|
|
8754
|
+
type: import_sequelize_typescript75.DataType.STRING(255)
|
|
9022
8755
|
})
|
|
9023
8756
|
], msQueueTourFaq.prototype, "title", 2);
|
|
9024
8757
|
__decorateClass([
|
|
9025
|
-
(0,
|
|
8758
|
+
(0, import_sequelize_typescript75.Column)({
|
|
9026
8759
|
allowNull: true,
|
|
9027
|
-
type:
|
|
8760
|
+
type: import_sequelize_typescript75.DataType.STRING
|
|
9028
8761
|
})
|
|
9029
8762
|
], msQueueTourFaq.prototype, "detail", 2);
|
|
9030
8763
|
__decorateClass([
|
|
9031
|
-
(0,
|
|
8764
|
+
(0, import_sequelize_typescript75.Column)({
|
|
9032
8765
|
allowNull: true,
|
|
9033
|
-
type:
|
|
8766
|
+
type: import_sequelize_typescript75.DataType.INTEGER
|
|
9034
8767
|
})
|
|
9035
8768
|
], msQueueTourFaq.prototype, "sort", 2);
|
|
9036
8769
|
__decorateClass([
|
|
9037
|
-
(0,
|
|
8770
|
+
(0, import_sequelize_typescript75.Column)({
|
|
9038
8771
|
allowNull: true,
|
|
9039
|
-
type:
|
|
8772
|
+
type: import_sequelize_typescript75.DataType.INTEGER
|
|
9040
8773
|
})
|
|
9041
8774
|
], msQueueTourFaq.prototype, "status", 2);
|
|
9042
8775
|
__decorateClass([
|
|
9043
|
-
(0,
|
|
8776
|
+
(0, import_sequelize_typescript75.Column)({
|
|
9044
8777
|
field: "created_by",
|
|
9045
8778
|
allowNull: true,
|
|
9046
|
-
type:
|
|
8779
|
+
type: import_sequelize_typescript75.DataType.STRING(60)
|
|
9047
8780
|
})
|
|
9048
8781
|
], msQueueTourFaq.prototype, "createdBy", 2);
|
|
9049
8782
|
__decorateClass([
|
|
9050
|
-
(0,
|
|
8783
|
+
(0, import_sequelize_typescript75.Column)({
|
|
9051
8784
|
field: "created_date",
|
|
9052
8785
|
allowNull: true,
|
|
9053
|
-
type:
|
|
8786
|
+
type: import_sequelize_typescript75.DataType.DATE
|
|
9054
8787
|
})
|
|
9055
8788
|
], msQueueTourFaq.prototype, "createdDate", 2);
|
|
9056
8789
|
__decorateClass([
|
|
9057
|
-
(0,
|
|
8790
|
+
(0, import_sequelize_typescript75.Column)({
|
|
9058
8791
|
field: "updated_by",
|
|
9059
8792
|
allowNull: true,
|
|
9060
|
-
type:
|
|
8793
|
+
type: import_sequelize_typescript75.DataType.STRING(60)
|
|
9061
8794
|
})
|
|
9062
8795
|
], msQueueTourFaq.prototype, "updatedBy", 2);
|
|
9063
8796
|
__decorateClass([
|
|
9064
|
-
(0,
|
|
8797
|
+
(0, import_sequelize_typescript75.Column)({
|
|
9065
8798
|
field: "updated_date",
|
|
9066
8799
|
allowNull: true,
|
|
9067
|
-
type:
|
|
8800
|
+
type: import_sequelize_typescript75.DataType.DATE
|
|
9068
8801
|
})
|
|
9069
8802
|
], msQueueTourFaq.prototype, "updatedDate", 2);
|
|
9070
8803
|
msQueueTourFaq = __decorateClass([
|
|
9071
|
-
(0,
|
|
8804
|
+
(0, import_sequelize_typescript75.Table)({
|
|
9072
8805
|
tableName: "ms_queue_tour_faq",
|
|
9073
8806
|
timestamps: false
|
|
9074
8807
|
})
|
|
9075
8808
|
], msQueueTourFaq);
|
|
9076
8809
|
|
|
9077
8810
|
// src/databases/tables/msQueueTourGuidelines.ts
|
|
9078
|
-
var
|
|
9079
|
-
var msQueueTourGuidelines = class extends
|
|
8811
|
+
var import_sequelize_typescript76 = require("sequelize-typescript");
|
|
8812
|
+
var msQueueTourGuidelines = class extends import_sequelize_typescript76.Model {
|
|
9080
8813
|
};
|
|
9081
8814
|
__decorateClass([
|
|
9082
|
-
(0,
|
|
8815
|
+
(0, import_sequelize_typescript76.Column)({
|
|
9083
8816
|
primaryKey: true,
|
|
9084
8817
|
autoIncrement: true,
|
|
9085
|
-
type:
|
|
8818
|
+
type: import_sequelize_typescript76.DataType.INTEGER
|
|
9086
8819
|
})
|
|
9087
8820
|
], msQueueTourGuidelines.prototype, "id", 2);
|
|
9088
8821
|
__decorateClass([
|
|
9089
|
-
(0,
|
|
8822
|
+
(0, import_sequelize_typescript76.Column)({
|
|
9090
8823
|
field: "site_id",
|
|
9091
8824
|
allowNull: true,
|
|
9092
|
-
type:
|
|
8825
|
+
type: import_sequelize_typescript76.DataType.INTEGER
|
|
9093
8826
|
})
|
|
9094
8827
|
], msQueueTourGuidelines.prototype, "siteId", 2);
|
|
9095
8828
|
__decorateClass([
|
|
9096
|
-
(0,
|
|
8829
|
+
(0, import_sequelize_typescript76.Column)({
|
|
9097
8830
|
allowNull: true,
|
|
9098
|
-
type:
|
|
8831
|
+
type: import_sequelize_typescript76.DataType.STRING(255)
|
|
9099
8832
|
})
|
|
9100
8833
|
], msQueueTourGuidelines.prototype, "title", 2);
|
|
9101
8834
|
__decorateClass([
|
|
9102
|
-
(0,
|
|
8835
|
+
(0, import_sequelize_typescript76.Column)({
|
|
9103
8836
|
allowNull: true,
|
|
9104
|
-
type:
|
|
8837
|
+
type: import_sequelize_typescript76.DataType.STRING
|
|
9105
8838
|
})
|
|
9106
8839
|
], msQueueTourGuidelines.prototype, "detail", 2);
|
|
9107
8840
|
__decorateClass([
|
|
9108
|
-
(0,
|
|
8841
|
+
(0, import_sequelize_typescript76.Column)({
|
|
9109
8842
|
allowNull: true,
|
|
9110
|
-
type:
|
|
8843
|
+
type: import_sequelize_typescript76.DataType.INTEGER
|
|
9111
8844
|
})
|
|
9112
8845
|
], msQueueTourGuidelines.prototype, "sort", 2);
|
|
9113
8846
|
__decorateClass([
|
|
9114
|
-
(0,
|
|
8847
|
+
(0, import_sequelize_typescript76.Column)({
|
|
9115
8848
|
allowNull: true,
|
|
9116
|
-
type:
|
|
8849
|
+
type: import_sequelize_typescript76.DataType.INTEGER
|
|
9117
8850
|
})
|
|
9118
8851
|
], msQueueTourGuidelines.prototype, "status", 2);
|
|
9119
8852
|
__decorateClass([
|
|
9120
|
-
(0,
|
|
8853
|
+
(0, import_sequelize_typescript76.Column)({
|
|
9121
8854
|
field: "created_by",
|
|
9122
8855
|
allowNull: true,
|
|
9123
|
-
type:
|
|
8856
|
+
type: import_sequelize_typescript76.DataType.STRING(60)
|
|
9124
8857
|
})
|
|
9125
8858
|
], msQueueTourGuidelines.prototype, "createdBy", 2);
|
|
9126
8859
|
__decorateClass([
|
|
9127
|
-
(0,
|
|
8860
|
+
(0, import_sequelize_typescript76.Column)({
|
|
9128
8861
|
field: "created_date",
|
|
9129
8862
|
allowNull: true,
|
|
9130
|
-
type:
|
|
8863
|
+
type: import_sequelize_typescript76.DataType.DATE
|
|
9131
8864
|
})
|
|
9132
8865
|
], msQueueTourGuidelines.prototype, "createdDate", 2);
|
|
9133
8866
|
__decorateClass([
|
|
9134
|
-
(0,
|
|
8867
|
+
(0, import_sequelize_typescript76.Column)({
|
|
9135
8868
|
field: "updated_by",
|
|
9136
8869
|
allowNull: true,
|
|
9137
|
-
type:
|
|
8870
|
+
type: import_sequelize_typescript76.DataType.STRING(60)
|
|
9138
8871
|
})
|
|
9139
8872
|
], msQueueTourGuidelines.prototype, "updatedBy", 2);
|
|
9140
8873
|
__decorateClass([
|
|
9141
|
-
(0,
|
|
8874
|
+
(0, import_sequelize_typescript76.Column)({
|
|
9142
8875
|
field: "updated_date",
|
|
9143
8876
|
allowNull: true,
|
|
9144
|
-
type:
|
|
8877
|
+
type: import_sequelize_typescript76.DataType.DATE
|
|
9145
8878
|
})
|
|
9146
8879
|
], msQueueTourGuidelines.prototype, "updatedDate", 2);
|
|
9147
8880
|
msQueueTourGuidelines = __decorateClass([
|
|
9148
|
-
(0,
|
|
8881
|
+
(0, import_sequelize_typescript76.Table)({
|
|
9149
8882
|
tableName: "ms_queue_tour_guidelines",
|
|
9150
8883
|
timestamps: false
|
|
9151
8884
|
})
|
|
9152
8885
|
], msQueueTourGuidelines);
|
|
9153
8886
|
|
|
9154
8887
|
// src/databases/tables/msTitle.ts
|
|
9155
|
-
var
|
|
9156
|
-
var msTitle = class extends
|
|
8888
|
+
var import_sequelize_typescript77 = require("sequelize-typescript");
|
|
8889
|
+
var msTitle = class extends import_sequelize_typescript77.Model {
|
|
9157
8890
|
};
|
|
9158
8891
|
__decorateClass([
|
|
9159
|
-
(0,
|
|
8892
|
+
(0, import_sequelize_typescript77.Column)({
|
|
9160
8893
|
primaryKey: true,
|
|
9161
8894
|
autoIncrement: true,
|
|
9162
|
-
type:
|
|
8895
|
+
type: import_sequelize_typescript77.DataType.INTEGER
|
|
9163
8896
|
})
|
|
9164
8897
|
], msTitle.prototype, "id", 2);
|
|
9165
8898
|
__decorateClass([
|
|
9166
|
-
(0,
|
|
8899
|
+
(0, import_sequelize_typescript77.Column)({
|
|
9167
8900
|
allowNull: true,
|
|
9168
|
-
type:
|
|
8901
|
+
type: import_sequelize_typescript77.DataType.STRING(255)
|
|
9169
8902
|
})
|
|
9170
8903
|
], msTitle.prototype, "name", 2);
|
|
9171
8904
|
__decorateClass([
|
|
9172
|
-
(0,
|
|
8905
|
+
(0, import_sequelize_typescript77.Column)({
|
|
9173
8906
|
allowNull: true,
|
|
9174
|
-
type:
|
|
8907
|
+
type: import_sequelize_typescript77.DataType.JSON
|
|
9175
8908
|
})
|
|
9176
8909
|
], msTitle.prototype, "info", 2);
|
|
9177
8910
|
__decorateClass([
|
|
9178
|
-
(0,
|
|
8911
|
+
(0, import_sequelize_typescript77.Column)({
|
|
9179
8912
|
allowNull: true,
|
|
9180
|
-
type:
|
|
8913
|
+
type: import_sequelize_typescript77.DataType.INTEGER
|
|
9181
8914
|
})
|
|
9182
8915
|
], msTitle.prototype, "status", 2);
|
|
9183
8916
|
__decorateClass([
|
|
9184
|
-
(0,
|
|
8917
|
+
(0, import_sequelize_typescript77.Column)({
|
|
9185
8918
|
field: "created_by",
|
|
9186
8919
|
allowNull: true,
|
|
9187
|
-
type:
|
|
8920
|
+
type: import_sequelize_typescript77.DataType.STRING(60)
|
|
9188
8921
|
})
|
|
9189
8922
|
], msTitle.prototype, "createdBy", 2);
|
|
9190
8923
|
__decorateClass([
|
|
9191
|
-
(0,
|
|
8924
|
+
(0, import_sequelize_typescript77.Column)({
|
|
9192
8925
|
field: "created_date",
|
|
9193
8926
|
allowNull: true,
|
|
9194
|
-
type:
|
|
8927
|
+
type: import_sequelize_typescript77.DataType.DATE
|
|
9195
8928
|
})
|
|
9196
8929
|
], msTitle.prototype, "createdDate", 2);
|
|
9197
8930
|
__decorateClass([
|
|
9198
|
-
(0,
|
|
8931
|
+
(0, import_sequelize_typescript77.Column)({
|
|
9199
8932
|
field: "updated_by",
|
|
9200
8933
|
allowNull: true,
|
|
9201
|
-
type:
|
|
8934
|
+
type: import_sequelize_typescript77.DataType.STRING(60)
|
|
9202
8935
|
})
|
|
9203
8936
|
], msTitle.prototype, "updatedBy", 2);
|
|
9204
8937
|
__decorateClass([
|
|
9205
|
-
(0,
|
|
8938
|
+
(0, import_sequelize_typescript77.Column)({
|
|
9206
8939
|
field: "updated_date",
|
|
9207
8940
|
allowNull: true,
|
|
9208
|
-
type:
|
|
8941
|
+
type: import_sequelize_typescript77.DataType.DATE
|
|
9209
8942
|
})
|
|
9210
8943
|
], msTitle.prototype, "updatedDate", 2);
|
|
9211
8944
|
msTitle = __decorateClass([
|
|
9212
|
-
(0,
|
|
8945
|
+
(0, import_sequelize_typescript77.Table)({
|
|
9213
8946
|
tableName: "ms_title",
|
|
9214
8947
|
timestamps: false
|
|
9215
8948
|
})
|
|
9216
8949
|
], msTitle);
|
|
9217
8950
|
|
|
9218
8951
|
// src/databases/tables/msVariable.ts
|
|
9219
|
-
var
|
|
9220
|
-
var msVariable = class extends
|
|
8952
|
+
var import_sequelize_typescript78 = require("sequelize-typescript");
|
|
8953
|
+
var msVariable = class extends import_sequelize_typescript78.Model {
|
|
9221
8954
|
};
|
|
9222
8955
|
__decorateClass([
|
|
9223
|
-
(0,
|
|
8956
|
+
(0, import_sequelize_typescript78.Column)({
|
|
9224
8957
|
primaryKey: true,
|
|
9225
8958
|
autoIncrement: true,
|
|
9226
|
-
type:
|
|
8959
|
+
type: import_sequelize_typescript78.DataType.INTEGER
|
|
9227
8960
|
})
|
|
9228
8961
|
], msVariable.prototype, "id", 2);
|
|
9229
8962
|
__decorateClass([
|
|
9230
|
-
(0,
|
|
8963
|
+
(0, import_sequelize_typescript78.Column)({
|
|
9231
8964
|
allowNull: true,
|
|
9232
|
-
type:
|
|
8965
|
+
type: import_sequelize_typescript78.DataType.STRING(255)
|
|
9233
8966
|
})
|
|
9234
8967
|
], msVariable.prototype, "name", 2);
|
|
9235
8968
|
__decorateClass([
|
|
9236
|
-
(0,
|
|
8969
|
+
(0, import_sequelize_typescript78.Column)({
|
|
9237
8970
|
allowNull: true,
|
|
9238
|
-
type:
|
|
8971
|
+
type: import_sequelize_typescript78.DataType.JSON
|
|
9239
8972
|
})
|
|
9240
8973
|
], msVariable.prototype, "data", 2);
|
|
9241
8974
|
__decorateClass([
|
|
9242
|
-
(0,
|
|
8975
|
+
(0, import_sequelize_typescript78.Column)({
|
|
9243
8976
|
field: "created_by",
|
|
9244
8977
|
allowNull: true,
|
|
9245
|
-
type:
|
|
8978
|
+
type: import_sequelize_typescript78.DataType.STRING(60)
|
|
9246
8979
|
})
|
|
9247
8980
|
], msVariable.prototype, "createdBy", 2);
|
|
9248
8981
|
__decorateClass([
|
|
9249
|
-
(0,
|
|
8982
|
+
(0, import_sequelize_typescript78.Column)({
|
|
9250
8983
|
field: "created_date",
|
|
9251
8984
|
allowNull: true,
|
|
9252
|
-
type:
|
|
8985
|
+
type: import_sequelize_typescript78.DataType.DATE
|
|
9253
8986
|
})
|
|
9254
8987
|
], msVariable.prototype, "createdDate", 2);
|
|
9255
8988
|
__decorateClass([
|
|
9256
|
-
(0,
|
|
8989
|
+
(0, import_sequelize_typescript78.Column)({
|
|
9257
8990
|
field: "updated_by",
|
|
9258
8991
|
allowNull: true,
|
|
9259
|
-
type:
|
|
8992
|
+
type: import_sequelize_typescript78.DataType.STRING(60)
|
|
9260
8993
|
})
|
|
9261
8994
|
], msVariable.prototype, "updatedBy", 2);
|
|
9262
8995
|
__decorateClass([
|
|
9263
|
-
(0,
|
|
8996
|
+
(0, import_sequelize_typescript78.Column)({
|
|
9264
8997
|
field: "updated_date",
|
|
9265
8998
|
allowNull: true,
|
|
9266
|
-
type:
|
|
8999
|
+
type: import_sequelize_typescript78.DataType.DATE
|
|
9267
9000
|
})
|
|
9268
9001
|
], msVariable.prototype, "updatedDate", 2);
|
|
9269
9002
|
msVariable = __decorateClass([
|
|
9270
|
-
(0,
|
|
9003
|
+
(0, import_sequelize_typescript78.Table)({
|
|
9271
9004
|
tableName: "ms_variable",
|
|
9272
9005
|
timestamps: false
|
|
9273
9006
|
})
|
|
9274
9007
|
], msVariable);
|
|
9275
9008
|
|
|
9276
9009
|
// src/databases/tables/oauthAccessToken.ts
|
|
9277
|
-
var
|
|
9278
|
-
var oauthAccessToken = class extends
|
|
9010
|
+
var import_sequelize_typescript79 = require("sequelize-typescript");
|
|
9011
|
+
var oauthAccessToken = class extends import_sequelize_typescript79.Model {
|
|
9279
9012
|
};
|
|
9280
9013
|
__decorateClass([
|
|
9281
|
-
(0,
|
|
9014
|
+
(0, import_sequelize_typescript79.Column)({
|
|
9282
9015
|
primaryKey: true,
|
|
9283
9016
|
autoIncrement: true,
|
|
9284
|
-
type:
|
|
9017
|
+
type: import_sequelize_typescript79.DataType.INTEGER
|
|
9285
9018
|
})
|
|
9286
9019
|
], oauthAccessToken.prototype, "id", 2);
|
|
9287
9020
|
__decorateClass([
|
|
9288
|
-
(0,
|
|
9021
|
+
(0, import_sequelize_typescript79.Column)({
|
|
9289
9022
|
field: "access_token",
|
|
9290
|
-
type:
|
|
9023
|
+
type: import_sequelize_typescript79.DataType.STRING
|
|
9291
9024
|
})
|
|
9292
9025
|
], oauthAccessToken.prototype, "accessToken", 2);
|
|
9293
9026
|
__decorateClass([
|
|
9294
|
-
(0,
|
|
9027
|
+
(0, import_sequelize_typescript79.Column)({
|
|
9295
9028
|
field: "client_id",
|
|
9296
|
-
type:
|
|
9029
|
+
type: import_sequelize_typescript79.DataType.STRING(32)
|
|
9297
9030
|
})
|
|
9298
9031
|
], oauthAccessToken.prototype, "clientId", 2);
|
|
9299
9032
|
__decorateClass([
|
|
9300
|
-
(0,
|
|
9033
|
+
(0, import_sequelize_typescript79.Column)({
|
|
9301
9034
|
field: "user_id",
|
|
9302
9035
|
allowNull: true,
|
|
9303
|
-
type:
|
|
9036
|
+
type: import_sequelize_typescript79.DataType.INTEGER
|
|
9304
9037
|
})
|
|
9305
9038
|
], oauthAccessToken.prototype, "userId", 2);
|
|
9306
9039
|
__decorateClass([
|
|
9307
|
-
(0,
|
|
9308
|
-
type:
|
|
9309
|
-
defaultValue:
|
|
9040
|
+
(0, import_sequelize_typescript79.Column)({
|
|
9041
|
+
type: import_sequelize_typescript79.DataType.DATE,
|
|
9042
|
+
defaultValue: import_sequelize_typescript79.DataType.NOW
|
|
9310
9043
|
})
|
|
9311
9044
|
], oauthAccessToken.prototype, "expires", 2);
|
|
9312
9045
|
__decorateClass([
|
|
9313
|
-
(0,
|
|
9046
|
+
(0, import_sequelize_typescript79.Column)({
|
|
9314
9047
|
allowNull: true,
|
|
9315
|
-
type:
|
|
9048
|
+
type: import_sequelize_typescript79.DataType.STRING(2e3)
|
|
9316
9049
|
})
|
|
9317
9050
|
], oauthAccessToken.prototype, "scope", 2);
|
|
9318
9051
|
__decorateClass([
|
|
9319
|
-
(0,
|
|
9052
|
+
(0, import_sequelize_typescript79.Column)({
|
|
9320
9053
|
field: "created_date",
|
|
9321
|
-
type:
|
|
9322
|
-
defaultValue:
|
|
9054
|
+
type: import_sequelize_typescript79.DataType.DATE,
|
|
9055
|
+
defaultValue: import_sequelize_typescript79.DataType.NOW
|
|
9323
9056
|
})
|
|
9324
9057
|
], oauthAccessToken.prototype, "createdDate", 2);
|
|
9325
9058
|
oauthAccessToken = __decorateClass([
|
|
9326
|
-
(0,
|
|
9059
|
+
(0, import_sequelize_typescript79.Table)({
|
|
9327
9060
|
tableName: "oauth_access_token",
|
|
9328
9061
|
timestamps: false
|
|
9329
9062
|
})
|
|
9330
9063
|
], oauthAccessToken);
|
|
9331
9064
|
|
|
9332
9065
|
// src/databases/tables/oauthRefreshToken.ts
|
|
9333
|
-
var
|
|
9334
|
-
var oauthRefreshToken = class extends
|
|
9066
|
+
var import_sequelize_typescript80 = require("sequelize-typescript");
|
|
9067
|
+
var oauthRefreshToken = class extends import_sequelize_typescript80.Model {
|
|
9335
9068
|
};
|
|
9336
9069
|
__decorateClass([
|
|
9337
|
-
(0,
|
|
9070
|
+
(0, import_sequelize_typescript80.Column)({
|
|
9338
9071
|
primaryKey: true,
|
|
9339
9072
|
autoIncrement: true,
|
|
9340
|
-
type:
|
|
9073
|
+
type: import_sequelize_typescript80.DataType.INTEGER
|
|
9341
9074
|
})
|
|
9342
9075
|
], oauthRefreshToken.prototype, "id", 2);
|
|
9343
9076
|
__decorateClass([
|
|
9344
|
-
(0,
|
|
9077
|
+
(0, import_sequelize_typescript80.Column)({
|
|
9345
9078
|
field: "refresh_token",
|
|
9346
|
-
type:
|
|
9079
|
+
type: import_sequelize_typescript80.DataType.STRING(1e3)
|
|
9347
9080
|
})
|
|
9348
9081
|
], oauthRefreshToken.prototype, "refreshToken", 2);
|
|
9349
9082
|
__decorateClass([
|
|
9350
|
-
(0,
|
|
9083
|
+
(0, import_sequelize_typescript80.Column)({
|
|
9351
9084
|
field: "client_id",
|
|
9352
|
-
type:
|
|
9085
|
+
type: import_sequelize_typescript80.DataType.STRING(32)
|
|
9353
9086
|
})
|
|
9354
9087
|
], oauthRefreshToken.prototype, "clientId", 2);
|
|
9355
9088
|
__decorateClass([
|
|
9356
|
-
(0,
|
|
9089
|
+
(0, import_sequelize_typescript80.Column)({
|
|
9357
9090
|
field: "user_id",
|
|
9358
9091
|
allowNull: true,
|
|
9359
|
-
type:
|
|
9092
|
+
type: import_sequelize_typescript80.DataType.INTEGER
|
|
9360
9093
|
})
|
|
9361
9094
|
], oauthRefreshToken.prototype, "userId", 2);
|
|
9362
9095
|
__decorateClass([
|
|
9363
|
-
(0,
|
|
9364
|
-
type:
|
|
9365
|
-
defaultValue:
|
|
9096
|
+
(0, import_sequelize_typescript80.Column)({
|
|
9097
|
+
type: import_sequelize_typescript80.DataType.DATE,
|
|
9098
|
+
defaultValue: import_sequelize_typescript80.DataType.NOW
|
|
9366
9099
|
})
|
|
9367
9100
|
], oauthRefreshToken.prototype, "expires", 2);
|
|
9368
9101
|
__decorateClass([
|
|
9369
|
-
(0,
|
|
9102
|
+
(0, import_sequelize_typescript80.Column)({
|
|
9370
9103
|
allowNull: true,
|
|
9371
|
-
type:
|
|
9104
|
+
type: import_sequelize_typescript80.DataType.STRING(1e3)
|
|
9372
9105
|
})
|
|
9373
9106
|
], oauthRefreshToken.prototype, "scope", 2);
|
|
9374
9107
|
__decorateClass([
|
|
9375
|
-
(0,
|
|
9108
|
+
(0, import_sequelize_typescript80.Column)({
|
|
9376
9109
|
field: "created_date",
|
|
9377
|
-
type:
|
|
9378
|
-
defaultValue:
|
|
9110
|
+
type: import_sequelize_typescript80.DataType.DATE,
|
|
9111
|
+
defaultValue: import_sequelize_typescript80.DataType.NOW
|
|
9379
9112
|
})
|
|
9380
9113
|
], oauthRefreshToken.prototype, "createdDate", 2);
|
|
9381
9114
|
oauthRefreshToken = __decorateClass([
|
|
9382
|
-
(0,
|
|
9115
|
+
(0, import_sequelize_typescript80.Table)({
|
|
9383
9116
|
tableName: "oauth_refresh_token",
|
|
9384
9117
|
timestamps: false
|
|
9385
9118
|
})
|
|
9386
9119
|
], oauthRefreshToken);
|
|
9387
9120
|
|
|
9388
9121
|
// src/databases/tables/recruitment.ts
|
|
9389
|
-
var
|
|
9122
|
+
var import_sequelize_typescript82 = require("sequelize-typescript");
|
|
9390
9123
|
|
|
9391
9124
|
// src/databases/tables/recruitmentGroup.ts
|
|
9392
|
-
var
|
|
9393
|
-
var recruitmentGroup = class extends
|
|
9125
|
+
var import_sequelize_typescript81 = require("sequelize-typescript");
|
|
9126
|
+
var recruitmentGroup = class extends import_sequelize_typescript81.Model {
|
|
9394
9127
|
};
|
|
9395
9128
|
__decorateClass([
|
|
9396
|
-
(0,
|
|
9129
|
+
(0, import_sequelize_typescript81.Column)({
|
|
9397
9130
|
primaryKey: true,
|
|
9398
9131
|
autoIncrement: true,
|
|
9399
|
-
type:
|
|
9132
|
+
type: import_sequelize_typescript81.DataType.INTEGER
|
|
9400
9133
|
})
|
|
9401
9134
|
], recruitmentGroup.prototype, "id", 2);
|
|
9402
9135
|
__decorateClass([
|
|
9403
|
-
(0,
|
|
9136
|
+
(0, import_sequelize_typescript81.Column)({
|
|
9404
9137
|
allowNull: true,
|
|
9405
|
-
type:
|
|
9138
|
+
type: import_sequelize_typescript81.DataType.STRING(60)
|
|
9406
9139
|
})
|
|
9407
9140
|
], recruitmentGroup.prototype, "uuid", 2);
|
|
9408
9141
|
__decorateClass([
|
|
9409
|
-
(0,
|
|
9142
|
+
(0, import_sequelize_typescript81.Column)({
|
|
9410
9143
|
field: "user_id",
|
|
9411
9144
|
allowNull: true,
|
|
9412
|
-
type:
|
|
9145
|
+
type: import_sequelize_typescript81.DataType.INTEGER
|
|
9413
9146
|
})
|
|
9414
9147
|
], recruitmentGroup.prototype, "userId", 2);
|
|
9415
9148
|
__decorateClass([
|
|
9416
|
-
(0,
|
|
9417
|
-
type:
|
|
9149
|
+
(0, import_sequelize_typescript81.Column)({
|
|
9150
|
+
type: import_sequelize_typescript81.DataType.STRING(255)
|
|
9418
9151
|
})
|
|
9419
9152
|
], recruitmentGroup.prototype, "name", 2);
|
|
9420
9153
|
__decorateClass([
|
|
9421
|
-
(0,
|
|
9154
|
+
(0, import_sequelize_typescript81.Column)({
|
|
9422
9155
|
allowNull: true,
|
|
9423
|
-
type:
|
|
9156
|
+
type: import_sequelize_typescript81.DataType.STRING(255)
|
|
9424
9157
|
})
|
|
9425
9158
|
], recruitmentGroup.prototype, "description", 2);
|
|
9426
9159
|
__decorateClass([
|
|
9427
|
-
(0,
|
|
9160
|
+
(0, import_sequelize_typescript81.Column)({
|
|
9428
9161
|
allowNull: true,
|
|
9429
|
-
type:
|
|
9162
|
+
type: import_sequelize_typescript81.DataType.INTEGER
|
|
9430
9163
|
})
|
|
9431
9164
|
], recruitmentGroup.prototype, "sort", 2);
|
|
9432
9165
|
__decorateClass([
|
|
9433
|
-
(0,
|
|
9166
|
+
(0, import_sequelize_typescript81.Column)({
|
|
9434
9167
|
allowNull: true,
|
|
9435
|
-
type:
|
|
9168
|
+
type: import_sequelize_typescript81.DataType.INTEGER
|
|
9436
9169
|
})
|
|
9437
9170
|
], recruitmentGroup.prototype, "status", 2);
|
|
9438
9171
|
__decorateClass([
|
|
9439
|
-
(0,
|
|
9172
|
+
(0, import_sequelize_typescript81.Column)({
|
|
9440
9173
|
field: "created_by",
|
|
9441
9174
|
allowNull: true,
|
|
9442
|
-
type:
|
|
9175
|
+
type: import_sequelize_typescript81.DataType.STRING(60)
|
|
9443
9176
|
})
|
|
9444
9177
|
], recruitmentGroup.prototype, "createdBy", 2);
|
|
9445
9178
|
__decorateClass([
|
|
9446
|
-
(0,
|
|
9179
|
+
(0, import_sequelize_typescript81.Column)({
|
|
9447
9180
|
field: "created_date",
|
|
9448
9181
|
allowNull: true,
|
|
9449
|
-
type:
|
|
9182
|
+
type: import_sequelize_typescript81.DataType.DATE
|
|
9450
9183
|
})
|
|
9451
9184
|
], recruitmentGroup.prototype, "createdDate", 2);
|
|
9452
9185
|
__decorateClass([
|
|
9453
|
-
(0,
|
|
9186
|
+
(0, import_sequelize_typescript81.Column)({
|
|
9454
9187
|
field: "updated_by",
|
|
9455
9188
|
allowNull: true,
|
|
9456
|
-
type:
|
|
9189
|
+
type: import_sequelize_typescript81.DataType.STRING(60)
|
|
9457
9190
|
})
|
|
9458
9191
|
], recruitmentGroup.prototype, "updatedBy", 2);
|
|
9459
9192
|
__decorateClass([
|
|
9460
|
-
(0,
|
|
9193
|
+
(0, import_sequelize_typescript81.Column)({
|
|
9461
9194
|
field: "updated_date",
|
|
9462
9195
|
allowNull: true,
|
|
9463
|
-
type:
|
|
9196
|
+
type: import_sequelize_typescript81.DataType.DATE
|
|
9464
9197
|
})
|
|
9465
9198
|
], recruitmentGroup.prototype, "updatedDate", 2);
|
|
9466
9199
|
__decorateClass([
|
|
9467
|
-
(0,
|
|
9200
|
+
(0, import_sequelize_typescript81.HasMany)(() => recruitment, {
|
|
9468
9201
|
sourceKey: "id"
|
|
9469
9202
|
})
|
|
9470
9203
|
], recruitmentGroup.prototype, "recruitments", 2);
|
|
9471
9204
|
recruitmentGroup = __decorateClass([
|
|
9472
|
-
(0,
|
|
9205
|
+
(0, import_sequelize_typescript81.Table)({
|
|
9473
9206
|
tableName: "recruitment_group",
|
|
9474
9207
|
timestamps: false
|
|
9475
9208
|
})
|
|
9476
9209
|
], recruitmentGroup);
|
|
9477
9210
|
|
|
9478
9211
|
// src/databases/tables/recruitment.ts
|
|
9479
|
-
var recruitment = class extends
|
|
9212
|
+
var recruitment = class extends import_sequelize_typescript82.Model {
|
|
9480
9213
|
};
|
|
9481
9214
|
__decorateClass([
|
|
9482
|
-
(0,
|
|
9215
|
+
(0, import_sequelize_typescript82.Column)({
|
|
9483
9216
|
primaryKey: true,
|
|
9484
9217
|
autoIncrement: true,
|
|
9485
|
-
type:
|
|
9218
|
+
type: import_sequelize_typescript82.DataType.INTEGER
|
|
9486
9219
|
})
|
|
9487
9220
|
], recruitment.prototype, "id", 2);
|
|
9488
9221
|
__decorateClass([
|
|
9489
|
-
(0,
|
|
9222
|
+
(0, import_sequelize_typescript82.Column)({
|
|
9490
9223
|
allowNull: true,
|
|
9491
|
-
type:
|
|
9224
|
+
type: import_sequelize_typescript82.DataType.STRING(60)
|
|
9492
9225
|
})
|
|
9493
9226
|
], recruitment.prototype, "uuid", 2);
|
|
9494
9227
|
__decorateClass([
|
|
9495
|
-
(0,
|
|
9496
|
-
(0,
|
|
9228
|
+
(0, import_sequelize_typescript82.ForeignKey)(() => recruitmentGroup),
|
|
9229
|
+
(0, import_sequelize_typescript82.Column)({
|
|
9497
9230
|
field: "group_id",
|
|
9498
9231
|
allowNull: true,
|
|
9499
|
-
type:
|
|
9232
|
+
type: import_sequelize_typescript82.DataType.INTEGER
|
|
9500
9233
|
})
|
|
9501
9234
|
], recruitment.prototype, "groupId", 2);
|
|
9502
9235
|
__decorateClass([
|
|
9503
|
-
(0,
|
|
9236
|
+
(0, import_sequelize_typescript82.Column)({
|
|
9504
9237
|
field: "position_name",
|
|
9505
9238
|
allowNull: true,
|
|
9506
|
-
type:
|
|
9239
|
+
type: import_sequelize_typescript82.DataType.STRING(255)
|
|
9507
9240
|
})
|
|
9508
9241
|
], recruitment.prototype, "positionName", 2);
|
|
9509
9242
|
__decorateClass([
|
|
9510
|
-
(0,
|
|
9243
|
+
(0, import_sequelize_typescript82.Column)({
|
|
9511
9244
|
field: "account_listed",
|
|
9512
9245
|
allowNull: true,
|
|
9513
|
-
type:
|
|
9246
|
+
type: import_sequelize_typescript82.DataType.INTEGER
|
|
9514
9247
|
})
|
|
9515
9248
|
], recruitment.prototype, "accountListed", 2);
|
|
9516
9249
|
__decorateClass([
|
|
9517
|
-
(0,
|
|
9250
|
+
(0, import_sequelize_typescript82.Column)({
|
|
9518
9251
|
field: "account_age",
|
|
9519
9252
|
allowNull: true,
|
|
9520
|
-
type:
|
|
9253
|
+
type: import_sequelize_typescript82.DataType.INTEGER
|
|
9521
9254
|
})
|
|
9522
9255
|
], recruitment.prototype, "accountAge", 2);
|
|
9523
9256
|
__decorateClass([
|
|
9524
|
-
(0,
|
|
9257
|
+
(0, import_sequelize_typescript82.Column)({
|
|
9525
9258
|
field: "account_expires",
|
|
9526
9259
|
allowNull: true,
|
|
9527
|
-
type:
|
|
9260
|
+
type: import_sequelize_typescript82.DataType.DATEONLY
|
|
9528
9261
|
})
|
|
9529
9262
|
], recruitment.prototype, "accountExpires", 2);
|
|
9530
9263
|
__decorateClass([
|
|
9531
|
-
(0,
|
|
9264
|
+
(0, import_sequelize_typescript82.Column)({
|
|
9532
9265
|
field: "called_position",
|
|
9533
9266
|
allowNull: true,
|
|
9534
|
-
type:
|
|
9267
|
+
type: import_sequelize_typescript82.DataType.INTEGER
|
|
9535
9268
|
})
|
|
9536
9269
|
], recruitment.prototype, "calledPosition", 2);
|
|
9537
9270
|
__decorateClass([
|
|
9538
|
-
(0,
|
|
9271
|
+
(0, import_sequelize_typescript82.Column)({
|
|
9539
9272
|
allowNull: true,
|
|
9540
|
-
type:
|
|
9273
|
+
type: import_sequelize_typescript82.DataType.INTEGER
|
|
9541
9274
|
})
|
|
9542
9275
|
], recruitment.prototype, "sort", 2);
|
|
9543
9276
|
__decorateClass([
|
|
9544
|
-
(0,
|
|
9277
|
+
(0, import_sequelize_typescript82.Column)({
|
|
9545
9278
|
allowNull: true,
|
|
9546
|
-
type:
|
|
9279
|
+
type: import_sequelize_typescript82.DataType.INTEGER
|
|
9547
9280
|
})
|
|
9548
9281
|
], recruitment.prototype, "status", 2);
|
|
9549
9282
|
__decorateClass([
|
|
9550
|
-
(0,
|
|
9283
|
+
(0, import_sequelize_typescript82.Column)({
|
|
9551
9284
|
field: "created_by",
|
|
9552
9285
|
allowNull: true,
|
|
9553
|
-
type:
|
|
9286
|
+
type: import_sequelize_typescript82.DataType.STRING(60)
|
|
9554
9287
|
})
|
|
9555
9288
|
], recruitment.prototype, "createdBy", 2);
|
|
9556
9289
|
__decorateClass([
|
|
9557
|
-
(0,
|
|
9290
|
+
(0, import_sequelize_typescript82.Column)({
|
|
9558
9291
|
field: "created_date",
|
|
9559
9292
|
allowNull: true,
|
|
9560
|
-
type:
|
|
9293
|
+
type: import_sequelize_typescript82.DataType.DATE
|
|
9561
9294
|
})
|
|
9562
9295
|
], recruitment.prototype, "createdDate", 2);
|
|
9563
9296
|
__decorateClass([
|
|
9564
|
-
(0,
|
|
9297
|
+
(0, import_sequelize_typescript82.Column)({
|
|
9565
9298
|
field: "updated_by",
|
|
9566
9299
|
allowNull: true,
|
|
9567
|
-
type:
|
|
9300
|
+
type: import_sequelize_typescript82.DataType.STRING(60)
|
|
9568
9301
|
})
|
|
9569
9302
|
], recruitment.prototype, "updatedBy", 2);
|
|
9570
9303
|
__decorateClass([
|
|
9571
|
-
(0,
|
|
9304
|
+
(0, import_sequelize_typescript82.Column)({
|
|
9572
9305
|
field: "updated_date",
|
|
9573
9306
|
allowNull: true,
|
|
9574
|
-
type:
|
|
9307
|
+
type: import_sequelize_typescript82.DataType.DATE
|
|
9575
9308
|
})
|
|
9576
9309
|
], recruitment.prototype, "updatedDate", 2);
|
|
9577
9310
|
__decorateClass([
|
|
9578
|
-
(0,
|
|
9311
|
+
(0, import_sequelize_typescript82.Column)({
|
|
9579
9312
|
field: "ref_id",
|
|
9580
9313
|
allowNull: true,
|
|
9581
|
-
type:
|
|
9314
|
+
type: import_sequelize_typescript82.DataType.INTEGER
|
|
9582
9315
|
})
|
|
9583
9316
|
], recruitment.prototype, "refId", 2);
|
|
9584
9317
|
__decorateClass([
|
|
9585
|
-
(0,
|
|
9318
|
+
(0, import_sequelize_typescript82.BelongsTo)(() => recruitmentGroup)
|
|
9586
9319
|
], recruitment.prototype, "recruitmentGroup", 2);
|
|
9587
9320
|
recruitment = __decorateClass([
|
|
9588
|
-
(0,
|
|
9321
|
+
(0, import_sequelize_typescript82.Table)({
|
|
9589
9322
|
tableName: "recruitment",
|
|
9590
9323
|
timestamps: false
|
|
9591
9324
|
})
|
|
9592
9325
|
], recruitment);
|
|
9593
9326
|
|
|
9594
9327
|
// src/databases/tables/settings.ts
|
|
9595
|
-
var
|
|
9596
|
-
var settings = class extends
|
|
9328
|
+
var import_sequelize_typescript83 = require("sequelize-typescript");
|
|
9329
|
+
var settings = class extends import_sequelize_typescript83.Model {
|
|
9597
9330
|
};
|
|
9598
9331
|
__decorateClass([
|
|
9599
|
-
(0,
|
|
9332
|
+
(0, import_sequelize_typescript83.Column)({
|
|
9600
9333
|
primaryKey: true,
|
|
9601
9334
|
autoIncrement: true,
|
|
9602
|
-
type:
|
|
9335
|
+
type: import_sequelize_typescript83.DataType.INTEGER
|
|
9603
9336
|
})
|
|
9604
9337
|
], settings.prototype, "id", 2);
|
|
9605
9338
|
__decorateClass([
|
|
9606
|
-
(0,
|
|
9339
|
+
(0, import_sequelize_typescript83.Column)({
|
|
9607
9340
|
allowNull: true,
|
|
9608
|
-
type:
|
|
9341
|
+
type: import_sequelize_typescript83.DataType.STRING(255)
|
|
9609
9342
|
})
|
|
9610
9343
|
], settings.prototype, "key", 2);
|
|
9611
9344
|
__decorateClass([
|
|
9612
|
-
(0,
|
|
9345
|
+
(0, import_sequelize_typescript83.Column)({
|
|
9613
9346
|
allowNull: true,
|
|
9614
|
-
type:
|
|
9347
|
+
type: import_sequelize_typescript83.DataType.STRING
|
|
9615
9348
|
})
|
|
9616
9349
|
], settings.prototype, "value", 2);
|
|
9617
9350
|
__decorateClass([
|
|
9618
|
-
(0,
|
|
9351
|
+
(0, import_sequelize_typescript83.Column)({
|
|
9619
9352
|
allowNull: true,
|
|
9620
|
-
type:
|
|
9353
|
+
type: import_sequelize_typescript83.DataType.JSON
|
|
9621
9354
|
})
|
|
9622
9355
|
], settings.prototype, "data", 2);
|
|
9623
9356
|
__decorateClass([
|
|
9624
|
-
(0,
|
|
9357
|
+
(0, import_sequelize_typescript83.Column)({
|
|
9625
9358
|
field: "updated_by",
|
|
9626
9359
|
allowNull: true,
|
|
9627
|
-
type:
|
|
9360
|
+
type: import_sequelize_typescript83.DataType.STRING(60)
|
|
9628
9361
|
})
|
|
9629
9362
|
], settings.prototype, "updatedBy", 2);
|
|
9630
9363
|
__decorateClass([
|
|
9631
|
-
(0,
|
|
9364
|
+
(0, import_sequelize_typescript83.Column)({
|
|
9632
9365
|
field: "updated_date",
|
|
9633
9366
|
allowNull: true,
|
|
9634
|
-
type:
|
|
9367
|
+
type: import_sequelize_typescript83.DataType.DATE
|
|
9635
9368
|
})
|
|
9636
9369
|
], settings.prototype, "updatedDate", 2);
|
|
9637
9370
|
settings = __decorateClass([
|
|
9638
|
-
(0,
|
|
9371
|
+
(0, import_sequelize_typescript83.Table)({
|
|
9639
9372
|
tableName: "settings",
|
|
9640
9373
|
timestamps: false
|
|
9641
9374
|
})
|
|
9642
9375
|
], settings);
|
|
9643
9376
|
|
|
9644
9377
|
// src/databases/tables/userPermissionV.ts
|
|
9645
|
-
var
|
|
9646
|
-
var userPermissionV = class extends
|
|
9378
|
+
var import_sequelize_typescript84 = require("sequelize-typescript");
|
|
9379
|
+
var userPermissionV = class extends import_sequelize_typescript84.Model {
|
|
9647
9380
|
};
|
|
9648
9381
|
__decorateClass([
|
|
9649
|
-
(0,
|
|
9382
|
+
(0, import_sequelize_typescript84.Column)({
|
|
9650
9383
|
field: "user_id",
|
|
9651
|
-
type:
|
|
9384
|
+
type: import_sequelize_typescript84.DataType.INTEGER,
|
|
9652
9385
|
defaultValue: "0"
|
|
9653
9386
|
})
|
|
9654
9387
|
], userPermissionV.prototype, "userId", 2);
|
|
9655
9388
|
__decorateClass([
|
|
9656
|
-
(0,
|
|
9657
|
-
type:
|
|
9389
|
+
(0, import_sequelize_typescript84.Column)({
|
|
9390
|
+
type: import_sequelize_typescript84.DataType.STRING(60)
|
|
9658
9391
|
})
|
|
9659
9392
|
], userPermissionV.prototype, "uuid", 2);
|
|
9660
9393
|
__decorateClass([
|
|
9661
|
-
(0,
|
|
9662
|
-
type:
|
|
9394
|
+
(0, import_sequelize_typescript84.Column)({
|
|
9395
|
+
type: import_sequelize_typescript84.DataType.STRING(100)
|
|
9663
9396
|
})
|
|
9664
9397
|
], userPermissionV.prototype, "username", 2);
|
|
9665
9398
|
__decorateClass([
|
|
9666
|
-
(0,
|
|
9399
|
+
(0, import_sequelize_typescript84.Column)({
|
|
9667
9400
|
field: "role_id",
|
|
9668
9401
|
allowNull: true,
|
|
9669
|
-
type:
|
|
9402
|
+
type: import_sequelize_typescript84.DataType.INTEGER
|
|
9670
9403
|
})
|
|
9671
9404
|
], userPermissionV.prototype, "roleId", 2);
|
|
9672
9405
|
__decorateClass([
|
|
9673
|
-
(0,
|
|
9406
|
+
(0, import_sequelize_typescript84.Column)({
|
|
9674
9407
|
allowNull: true,
|
|
9675
|
-
type:
|
|
9408
|
+
type: import_sequelize_typescript84.DataType.STRING(2)
|
|
9676
9409
|
})
|
|
9677
9410
|
], userPermissionV.prototype, "th", 2);
|
|
9678
9411
|
__decorateClass([
|
|
9679
|
-
(0,
|
|
9412
|
+
(0, import_sequelize_typescript84.Column)({
|
|
9680
9413
|
allowNull: true,
|
|
9681
|
-
type:
|
|
9414
|
+
type: import_sequelize_typescript84.DataType.STRING(2)
|
|
9682
9415
|
})
|
|
9683
9416
|
], userPermissionV.prototype, "en", 2);
|
|
9684
9417
|
__decorateClass([
|
|
9685
|
-
(0,
|
|
9418
|
+
(0, import_sequelize_typescript84.Column)({
|
|
9686
9419
|
allowNull: true,
|
|
9687
|
-
type:
|
|
9420
|
+
type: import_sequelize_typescript84.DataType.STRING(2)
|
|
9688
9421
|
})
|
|
9689
9422
|
], userPermissionV.prototype, "fr", 2);
|
|
9690
9423
|
__decorateClass([
|
|
9691
|
-
(0,
|
|
9424
|
+
(0, import_sequelize_typescript84.Column)({
|
|
9692
9425
|
allowNull: true,
|
|
9693
|
-
type:
|
|
9426
|
+
type: import_sequelize_typescript84.DataType.STRING
|
|
9694
9427
|
})
|
|
9695
9428
|
], userPermissionV.prototype, "sites", 2);
|
|
9696
9429
|
__decorateClass([
|
|
9697
|
-
(0,
|
|
9430
|
+
(0, import_sequelize_typescript84.Column)({
|
|
9698
9431
|
allowNull: true,
|
|
9699
|
-
type:
|
|
9432
|
+
type: import_sequelize_typescript84.DataType.STRING(10)
|
|
9700
9433
|
})
|
|
9701
9434
|
], userPermissionV.prototype, "management", 2);
|
|
9702
9435
|
userPermissionV = __decorateClass([
|
|
9703
|
-
(0,
|
|
9436
|
+
(0, import_sequelize_typescript84.Table)({
|
|
9704
9437
|
tableName: "user_permission_v",
|
|
9705
9438
|
timestamps: false,
|
|
9706
9439
|
comment: "VIEW"
|
|
@@ -9772,10 +9505,8 @@ userPermissionV = __decorateClass([
|
|
|
9772
9505
|
msConsultSiteStaff,
|
|
9773
9506
|
msExecutive,
|
|
9774
9507
|
msExecutiveActing,
|
|
9775
|
-
msExecutiveBoardBk,
|
|
9776
9508
|
msExecutiveGroup,
|
|
9777
9509
|
msExecutiveLevel,
|
|
9778
|
-
msExecutivePositionBk,
|
|
9779
9510
|
msHoliday,
|
|
9780
9511
|
msModule,
|
|
9781
9512
|
msOrganization,
|