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