@admc-go-th/admc-library 1.0.124 → 1.0.125
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/{appReportCorruption-4BY0wm49.d.ts → appReportCorruption-BsdsQQ1q.d.ts} +2 -0
- package/databases/schema/appQueue.ts +15 -0
- package/databases/schema/appQueueTour.ts +7 -0
- package/databases/schema/appReportCorruption.ts +9 -1
- package/databases/schema/index.ts +4 -0
- package/databases/schema/msConsultSiteChannel.ts +77 -0
- package/databases/schema/msConsultSiteHoliday.ts +99 -0
- package/databases/schema/msConsultSiteStaff.ts +76 -0
- package/databases/schema/msVariable.ts +68 -0
- package/databases/tables/appQueue.d.ts +4 -0
- package/databases/tables/appQueue.js +13 -0
- package/databases/tables/appQueueTour.d.ts +2 -0
- package/databases/tables/appQueueTour.js +6 -0
- package/databases/tables/appReportCorruption.d.ts +1 -1
- package/databases/tables/appReportCorruption.js +8 -1
- package/databases/tables/appReportCorruptionTransaction.d.ts +1 -1
- package/databases/tables/appReportCorruptionTransaction.js +8 -1
- package/databases/tables/index.d.ts +5 -1
- package/databases/tables/index.js +883 -575
- package/databases/tables/msConsultSiteChannel.d.ts +24 -0
- package/databases/tables/msConsultSiteChannel.js +101 -0
- package/databases/tables/msConsultSiteHoliday.d.ts +30 -0
- package/databases/tables/msConsultSiteHoliday.js +120 -0
- package/databases/tables/msConsultSiteStaff.d.ts +24 -0
- package/databases/tables/msConsultSiteStaff.js +100 -0
- package/databases/tables/msVariable.d.ts +22 -0
- package/databases/tables/msVariable.js +93 -0
- package/package.json +1 -1
|
@@ -84,6 +84,9 @@ __export(tables_exports, {
|
|
|
84
84
|
msConsultChannels: () => msConsultChannels,
|
|
85
85
|
msConsultInstructions: () => msConsultInstructions,
|
|
86
86
|
msConsultService: () => msConsultService,
|
|
87
|
+
msConsultSiteChannel: () => msConsultSiteChannel,
|
|
88
|
+
msConsultSiteHoliday: () => msConsultSiteHoliday,
|
|
89
|
+
msConsultSiteStaff: () => msConsultSiteStaff,
|
|
87
90
|
msExecutive: () => msExecutive,
|
|
88
91
|
msExecutiveBoard: () => msExecutiveBoard,
|
|
89
92
|
msExecutiveGroup: () => msExecutiveGroup,
|
|
@@ -94,6 +97,7 @@ __export(tables_exports, {
|
|
|
94
97
|
msModule: () => msModule,
|
|
95
98
|
msProvince: () => msProvince,
|
|
96
99
|
msTitle: () => msTitle,
|
|
100
|
+
msVariable: () => msVariable,
|
|
97
101
|
msWebsite: () => msWebsite,
|
|
98
102
|
oauthAccessToken: () => oauthAccessToken,
|
|
99
103
|
oauthRefreshToken: () => oauthRefreshToken,
|
|
@@ -463,6 +467,12 @@ __decorateClass([
|
|
|
463
467
|
type: import_sequelize_typescript4.DataType.STRING(60)
|
|
464
468
|
})
|
|
465
469
|
], appQueue.prototype, "uuid", 2);
|
|
470
|
+
__decorateClass([
|
|
471
|
+
(0, import_sequelize_typescript4.Column)({
|
|
472
|
+
allowNull: true,
|
|
473
|
+
type: import_sequelize_typescript4.DataType.STRING(15)
|
|
474
|
+
})
|
|
475
|
+
], appQueue.prototype, "code", 2);
|
|
466
476
|
__decorateClass([
|
|
467
477
|
(0, import_sequelize_typescript4.Column)({
|
|
468
478
|
field: "site_id",
|
|
@@ -584,6 +594,13 @@ __decorateClass([
|
|
|
584
594
|
type: import_sequelize_typescript4.DataType.STRING(30)
|
|
585
595
|
})
|
|
586
596
|
], appQueue.prototype, "ipAddress", 2);
|
|
597
|
+
__decorateClass([
|
|
598
|
+
(0, import_sequelize_typescript4.Column)({
|
|
599
|
+
field: "staff_id",
|
|
600
|
+
allowNull: true,
|
|
601
|
+
type: import_sequelize_typescript4.DataType.INTEGER
|
|
602
|
+
})
|
|
603
|
+
], appQueue.prototype, "staffId", 2);
|
|
587
604
|
__decorateClass([
|
|
588
605
|
(0, import_sequelize_typescript4.Column)({
|
|
589
606
|
allowNull: true,
|
|
@@ -642,6 +659,12 @@ __decorateClass([
|
|
|
642
659
|
type: import_sequelize_typescript5.DataType.STRING(60)
|
|
643
660
|
})
|
|
644
661
|
], appQueueTour.prototype, "uuid", 2);
|
|
662
|
+
__decorateClass([
|
|
663
|
+
(0, import_sequelize_typescript5.Column)({
|
|
664
|
+
allowNull: true,
|
|
665
|
+
type: import_sequelize_typescript5.DataType.STRING(15)
|
|
666
|
+
})
|
|
667
|
+
], appQueueTour.prototype, "code", 2);
|
|
645
668
|
__decorateClass([
|
|
646
669
|
(0, import_sequelize_typescript5.Column)({
|
|
647
670
|
field: "request_date",
|
|
@@ -903,7 +926,7 @@ __decorateClass([
|
|
|
903
926
|
__decorateClass([
|
|
904
927
|
(0, import_sequelize_typescript7.Column)({
|
|
905
928
|
allowNull: true,
|
|
906
|
-
type: import_sequelize_typescript7.DataType.STRING(
|
|
929
|
+
type: import_sequelize_typescript7.DataType.STRING(15)
|
|
907
930
|
})
|
|
908
931
|
], appReportCorruption.prototype, "code", 2);
|
|
909
932
|
__decorateClass([
|
|
@@ -1004,6 +1027,13 @@ __decorateClass([
|
|
|
1004
1027
|
type: import_sequelize_typescript7.DataType.DATE
|
|
1005
1028
|
})
|
|
1006
1029
|
], appReportCorruption.prototype, "considerationDate", 2);
|
|
1030
|
+
__decorateClass([
|
|
1031
|
+
(0, import_sequelize_typescript7.Column)({
|
|
1032
|
+
field: "extend_date",
|
|
1033
|
+
allowNull: true,
|
|
1034
|
+
type: import_sequelize_typescript7.DataType.DATE
|
|
1035
|
+
})
|
|
1036
|
+
], appReportCorruption.prototype, "extendDate", 2);
|
|
1007
1037
|
__decorateClass([
|
|
1008
1038
|
(0, import_sequelize_typescript7.Column)({
|
|
1009
1039
|
allowNull: true,
|
|
@@ -7053,12 +7083,9 @@ msConsultService = __decorateClass([
|
|
|
7053
7083
|
})
|
|
7054
7084
|
], msConsultService);
|
|
7055
7085
|
|
|
7056
|
-
// src/databases/tables/
|
|
7057
|
-
var import_sequelize_typescript62 = require("sequelize-typescript");
|
|
7058
|
-
|
|
7059
|
-
// src/databases/tables/msExecutiveGroup.ts
|
|
7086
|
+
// src/databases/tables/msConsultSiteChannel.ts
|
|
7060
7087
|
var import_sequelize_typescript60 = require("sequelize-typescript");
|
|
7061
|
-
var
|
|
7088
|
+
var msConsultSiteChannel = class extends import_sequelize_typescript60.Model {
|
|
7062
7089
|
};
|
|
7063
7090
|
__decorateClass([
|
|
7064
7091
|
(0, import_sequelize_typescript60.Column)({
|
|
@@ -7066,106 +7093,65 @@ __decorateClass([
|
|
|
7066
7093
|
autoIncrement: true,
|
|
7067
7094
|
type: import_sequelize_typescript60.DataType.INTEGER
|
|
7068
7095
|
})
|
|
7069
|
-
],
|
|
7070
|
-
__decorateClass([
|
|
7071
|
-
(0, import_sequelize_typescript60.Column)({
|
|
7072
|
-
allowNull: true,
|
|
7073
|
-
type: import_sequelize_typescript60.DataType.STRING(60)
|
|
7074
|
-
})
|
|
7075
|
-
], msExecutiveGroup.prototype, "uuid", 2);
|
|
7096
|
+
], msConsultSiteChannel.prototype, "id", 2);
|
|
7076
7097
|
__decorateClass([
|
|
7077
7098
|
(0, import_sequelize_typescript60.Column)({
|
|
7099
|
+
field: "site_id",
|
|
7078
7100
|
allowNull: true,
|
|
7079
7101
|
type: import_sequelize_typescript60.DataType.INTEGER
|
|
7080
7102
|
})
|
|
7081
|
-
],
|
|
7082
|
-
__decorateClass([
|
|
7083
|
-
(0, import_sequelize_typescript60.Column)({
|
|
7084
|
-
allowNull: true,
|
|
7085
|
-
type: import_sequelize_typescript60.DataType.STRING(255)
|
|
7086
|
-
})
|
|
7087
|
-
], msExecutiveGroup.prototype, "name", 2);
|
|
7088
|
-
__decorateClass([
|
|
7089
|
-
(0, import_sequelize_typescript60.Column)({
|
|
7090
|
-
allowNull: true,
|
|
7091
|
-
type: import_sequelize_typescript60.DataType.STRING(255)
|
|
7092
|
-
})
|
|
7093
|
-
], msExecutiveGroup.prototype, "description", 2);
|
|
7094
|
-
__decorateClass([
|
|
7095
|
-
(0, import_sequelize_typescript60.Column)({
|
|
7096
|
-
field: "start_date",
|
|
7097
|
-
allowNull: true,
|
|
7098
|
-
type: import_sequelize_typescript60.DataType.DATEONLY
|
|
7099
|
-
})
|
|
7100
|
-
], msExecutiveGroup.prototype, "startDate", 2);
|
|
7101
|
-
__decorateClass([
|
|
7102
|
-
(0, import_sequelize_typescript60.Column)({
|
|
7103
|
-
field: "end_date",
|
|
7104
|
-
allowNull: true,
|
|
7105
|
-
type: import_sequelize_typescript60.DataType.DATEONLY
|
|
7106
|
-
})
|
|
7107
|
-
], msExecutiveGroup.prototype, "endDate", 2);
|
|
7103
|
+
], msConsultSiteChannel.prototype, "siteId", 2);
|
|
7108
7104
|
__decorateClass([
|
|
7109
7105
|
(0, import_sequelize_typescript60.Column)({
|
|
7106
|
+
field: "channel_id",
|
|
7110
7107
|
allowNull: true,
|
|
7111
7108
|
type: import_sequelize_typescript60.DataType.INTEGER
|
|
7112
7109
|
})
|
|
7113
|
-
],
|
|
7110
|
+
], msConsultSiteChannel.prototype, "channelId", 2);
|
|
7114
7111
|
__decorateClass([
|
|
7115
7112
|
(0, import_sequelize_typescript60.Column)({
|
|
7116
7113
|
allowNull: true,
|
|
7117
7114
|
type: import_sequelize_typescript60.DataType.INTEGER
|
|
7118
7115
|
})
|
|
7119
|
-
],
|
|
7120
|
-
__decorateClass([
|
|
7121
|
-
(0, import_sequelize_typescript60.Column)({
|
|
7122
|
-
allowNull: true,
|
|
7123
|
-
type: import_sequelize_typescript60.DataType.JSON
|
|
7124
|
-
})
|
|
7125
|
-
], msExecutiveGroup.prototype, "info", 2);
|
|
7116
|
+
], msConsultSiteChannel.prototype, "status", 2);
|
|
7126
7117
|
__decorateClass([
|
|
7127
7118
|
(0, import_sequelize_typescript60.Column)({
|
|
7128
7119
|
field: "created_by",
|
|
7129
7120
|
allowNull: true,
|
|
7130
7121
|
type: import_sequelize_typescript60.DataType.STRING(60)
|
|
7131
7122
|
})
|
|
7132
|
-
],
|
|
7123
|
+
], msConsultSiteChannel.prototype, "createdBy", 2);
|
|
7133
7124
|
__decorateClass([
|
|
7134
7125
|
(0, import_sequelize_typescript60.Column)({
|
|
7135
7126
|
field: "created_date",
|
|
7136
7127
|
allowNull: true,
|
|
7137
7128
|
type: import_sequelize_typescript60.DataType.DATE
|
|
7138
7129
|
})
|
|
7139
|
-
],
|
|
7130
|
+
], msConsultSiteChannel.prototype, "createdDate", 2);
|
|
7140
7131
|
__decorateClass([
|
|
7141
7132
|
(0, import_sequelize_typescript60.Column)({
|
|
7142
7133
|
field: "updated_by",
|
|
7143
7134
|
allowNull: true,
|
|
7144
7135
|
type: import_sequelize_typescript60.DataType.STRING(60)
|
|
7145
7136
|
})
|
|
7146
|
-
],
|
|
7137
|
+
], msConsultSiteChannel.prototype, "updatedBy", 2);
|
|
7147
7138
|
__decorateClass([
|
|
7148
7139
|
(0, import_sequelize_typescript60.Column)({
|
|
7149
7140
|
field: "updated_date",
|
|
7150
7141
|
allowNull: true,
|
|
7151
7142
|
type: import_sequelize_typescript60.DataType.DATE
|
|
7152
7143
|
})
|
|
7153
|
-
],
|
|
7154
|
-
__decorateClass([
|
|
7155
|
-
(0, import_sequelize_typescript60.HasMany)(() => msExecutive, {
|
|
7156
|
-
sourceKey: "id"
|
|
7157
|
-
})
|
|
7158
|
-
], msExecutiveGroup.prototype, "msExecutives", 2);
|
|
7159
|
-
msExecutiveGroup = __decorateClass([
|
|
7144
|
+
], msConsultSiteChannel.prototype, "updatedDate", 2);
|
|
7145
|
+
msConsultSiteChannel = __decorateClass([
|
|
7160
7146
|
(0, import_sequelize_typescript60.Table)({
|
|
7161
|
-
tableName: "
|
|
7147
|
+
tableName: "ms_consult_site_channel",
|
|
7162
7148
|
timestamps: false
|
|
7163
7149
|
})
|
|
7164
|
-
],
|
|
7150
|
+
], msConsultSiteChannel);
|
|
7165
7151
|
|
|
7166
|
-
// src/databases/tables/
|
|
7152
|
+
// src/databases/tables/msConsultSiteHoliday.ts
|
|
7167
7153
|
var import_sequelize_typescript61 = require("sequelize-typescript");
|
|
7168
|
-
var
|
|
7154
|
+
var msConsultSiteHoliday = class extends import_sequelize_typescript61.Model {
|
|
7169
7155
|
};
|
|
7170
7156
|
__decorateClass([
|
|
7171
7157
|
(0, import_sequelize_typescript61.Column)({
|
|
@@ -7173,99 +7159,84 @@ __decorateClass([
|
|
|
7173
7159
|
autoIncrement: true,
|
|
7174
7160
|
type: import_sequelize_typescript61.DataType.INTEGER
|
|
7175
7161
|
})
|
|
7176
|
-
],
|
|
7162
|
+
], msConsultSiteHoliday.prototype, "id", 2);
|
|
7177
7163
|
__decorateClass([
|
|
7178
7164
|
(0, import_sequelize_typescript61.Column)({
|
|
7179
|
-
field: "
|
|
7165
|
+
field: "site_id",
|
|
7180
7166
|
allowNull: true,
|
|
7181
7167
|
type: import_sequelize_typescript61.DataType.INTEGER
|
|
7182
7168
|
})
|
|
7183
|
-
],
|
|
7169
|
+
], msConsultSiteHoliday.prototype, "siteId", 2);
|
|
7184
7170
|
__decorateClass([
|
|
7185
7171
|
(0, import_sequelize_typescript61.Column)({
|
|
7172
|
+
field: "type_id",
|
|
7186
7173
|
allowNull: true,
|
|
7187
|
-
type: import_sequelize_typescript61.DataType.
|
|
7174
|
+
type: import_sequelize_typescript61.DataType.INTEGER
|
|
7188
7175
|
})
|
|
7189
|
-
],
|
|
7176
|
+
], msConsultSiteHoliday.prototype, "typeId", 2);
|
|
7190
7177
|
__decorateClass([
|
|
7191
7178
|
(0, import_sequelize_typescript61.Column)({
|
|
7192
7179
|
allowNull: true,
|
|
7193
|
-
type: import_sequelize_typescript61.DataType.
|
|
7180
|
+
type: import_sequelize_typescript61.DataType.INTEGER
|
|
7194
7181
|
})
|
|
7195
|
-
],
|
|
7182
|
+
], msConsultSiteHoliday.prototype, "year", 2);
|
|
7196
7183
|
__decorateClass([
|
|
7197
7184
|
(0, import_sequelize_typescript61.Column)({
|
|
7198
|
-
field: "updated_info",
|
|
7199
7185
|
allowNull: true,
|
|
7200
7186
|
type: import_sequelize_typescript61.DataType.STRING(255)
|
|
7201
7187
|
})
|
|
7202
|
-
],
|
|
7203
|
-
__decorateClass([
|
|
7204
|
-
(0, import_sequelize_typescript61.Column)({
|
|
7205
|
-
allowNull: true,
|
|
7206
|
-
type: import_sequelize_typescript61.DataType.STRING
|
|
7207
|
-
})
|
|
7208
|
-
], msExecutivePosition.prototype, "remark", 2);
|
|
7188
|
+
], msConsultSiteHoliday.prototype, "name", 2);
|
|
7209
7189
|
__decorateClass([
|
|
7210
7190
|
(0, import_sequelize_typescript61.Column)({
|
|
7191
|
+
field: "at_date",
|
|
7211
7192
|
allowNull: true,
|
|
7212
|
-
type: import_sequelize_typescript61.DataType.
|
|
7193
|
+
type: import_sequelize_typescript61.DataType.DATEONLY
|
|
7213
7194
|
})
|
|
7214
|
-
],
|
|
7195
|
+
], msConsultSiteHoliday.prototype, "atDate", 2);
|
|
7215
7196
|
__decorateClass([
|
|
7216
7197
|
(0, import_sequelize_typescript61.Column)({
|
|
7217
7198
|
allowNull: true,
|
|
7218
7199
|
type: import_sequelize_typescript61.DataType.INTEGER
|
|
7219
7200
|
})
|
|
7220
|
-
],
|
|
7221
|
-
__decorateClass([
|
|
7222
|
-
(0, import_sequelize_typescript61.Column)({
|
|
7223
|
-
allowNull: true,
|
|
7224
|
-
type: import_sequelize_typescript61.DataType.JSON
|
|
7225
|
-
})
|
|
7226
|
-
], msExecutivePosition.prototype, "info", 2);
|
|
7201
|
+
], msConsultSiteHoliday.prototype, "status", 2);
|
|
7227
7202
|
__decorateClass([
|
|
7228
7203
|
(0, import_sequelize_typescript61.Column)({
|
|
7229
7204
|
field: "created_by",
|
|
7230
7205
|
allowNull: true,
|
|
7231
7206
|
type: import_sequelize_typescript61.DataType.STRING(60)
|
|
7232
7207
|
})
|
|
7233
|
-
],
|
|
7208
|
+
], msConsultSiteHoliday.prototype, "createdBy", 2);
|
|
7234
7209
|
__decorateClass([
|
|
7235
7210
|
(0, import_sequelize_typescript61.Column)({
|
|
7236
7211
|
field: "created_date",
|
|
7237
7212
|
allowNull: true,
|
|
7238
7213
|
type: import_sequelize_typescript61.DataType.DATE
|
|
7239
7214
|
})
|
|
7240
|
-
],
|
|
7215
|
+
], msConsultSiteHoliday.prototype, "createdDate", 2);
|
|
7241
7216
|
__decorateClass([
|
|
7242
7217
|
(0, import_sequelize_typescript61.Column)({
|
|
7243
7218
|
field: "updated_by",
|
|
7244
7219
|
allowNull: true,
|
|
7245
7220
|
type: import_sequelize_typescript61.DataType.STRING(60)
|
|
7246
7221
|
})
|
|
7247
|
-
],
|
|
7222
|
+
], msConsultSiteHoliday.prototype, "updatedBy", 2);
|
|
7248
7223
|
__decorateClass([
|
|
7249
7224
|
(0, import_sequelize_typescript61.Column)({
|
|
7250
7225
|
field: "updated_date",
|
|
7251
7226
|
allowNull: true,
|
|
7252
7227
|
type: import_sequelize_typescript61.DataType.DATE
|
|
7253
7228
|
})
|
|
7254
|
-
],
|
|
7255
|
-
__decorateClass([
|
|
7256
|
-
(0, import_sequelize_typescript61.HasMany)(() => msExecutive, {
|
|
7257
|
-
sourceKey: "id"
|
|
7258
|
-
})
|
|
7259
|
-
], msExecutivePosition.prototype, "msExecutives", 2);
|
|
7260
|
-
msExecutivePosition = __decorateClass([
|
|
7229
|
+
], msConsultSiteHoliday.prototype, "updatedDate", 2);
|
|
7230
|
+
msConsultSiteHoliday = __decorateClass([
|
|
7261
7231
|
(0, import_sequelize_typescript61.Table)({
|
|
7262
|
-
tableName: "
|
|
7232
|
+
tableName: "ms_consult_site_holiday",
|
|
7263
7233
|
timestamps: false
|
|
7264
7234
|
})
|
|
7265
|
-
],
|
|
7235
|
+
], msConsultSiteHoliday);
|
|
7266
7236
|
|
|
7267
|
-
// src/databases/tables/
|
|
7268
|
-
var
|
|
7237
|
+
// src/databases/tables/msConsultSiteStaff.ts
|
|
7238
|
+
var import_sequelize_typescript62 = require("sequelize-typescript");
|
|
7239
|
+
var msConsultSiteStaff = class extends import_sequelize_typescript62.Model {
|
|
7269
7240
|
};
|
|
7270
7241
|
__decorateClass([
|
|
7271
7242
|
(0, import_sequelize_typescript62.Column)({
|
|
@@ -7273,163 +7244,67 @@ __decorateClass([
|
|
|
7273
7244
|
autoIncrement: true,
|
|
7274
7245
|
type: import_sequelize_typescript62.DataType.INTEGER
|
|
7275
7246
|
})
|
|
7276
|
-
],
|
|
7277
|
-
__decorateClass([
|
|
7278
|
-
(0, import_sequelize_typescript62.ForeignKey)(() => msExecutiveGroup),
|
|
7279
|
-
(0, import_sequelize_typescript62.Column)({
|
|
7280
|
-
field: "group_id",
|
|
7281
|
-
allowNull: true,
|
|
7282
|
-
type: import_sequelize_typescript62.DataType.INTEGER
|
|
7283
|
-
})
|
|
7284
|
-
], msExecutive.prototype, "groupId", 2);
|
|
7285
|
-
__decorateClass([
|
|
7286
|
-
(0, import_sequelize_typescript62.Column)({
|
|
7287
|
-
field: "level_id",
|
|
7288
|
-
allowNull: true,
|
|
7289
|
-
type: import_sequelize_typescript62.DataType.INTEGER
|
|
7290
|
-
})
|
|
7291
|
-
], msExecutive.prototype, "levelId", 2);
|
|
7292
|
-
__decorateClass([
|
|
7293
|
-
(0, import_sequelize_typescript62.Column)({
|
|
7294
|
-
field: "position_name",
|
|
7295
|
-
allowNull: true,
|
|
7296
|
-
type: import_sequelize_typescript62.DataType.STRING(255)
|
|
7297
|
-
})
|
|
7298
|
-
], msExecutive.prototype, "positionName", 2);
|
|
7299
|
-
__decorateClass([
|
|
7300
|
-
(0, import_sequelize_typescript62.Column)({
|
|
7301
|
-
field: "position_other",
|
|
7302
|
-
allowNull: true,
|
|
7303
|
-
type: import_sequelize_typescript62.DataType.STRING(255)
|
|
7304
|
-
})
|
|
7305
|
-
], msExecutive.prototype, "positionOther", 2);
|
|
7247
|
+
], msConsultSiteStaff.prototype, "id", 2);
|
|
7306
7248
|
__decorateClass([
|
|
7307
7249
|
(0, import_sequelize_typescript62.Column)({
|
|
7308
|
-
field: "
|
|
7250
|
+
field: "site_id",
|
|
7309
7251
|
allowNull: true,
|
|
7310
7252
|
type: import_sequelize_typescript62.DataType.INTEGER
|
|
7311
7253
|
})
|
|
7312
|
-
],
|
|
7313
|
-
__decorateClass([
|
|
7314
|
-
(0, import_sequelize_typescript62.Column)({
|
|
7315
|
-
field: "first_name",
|
|
7316
|
-
allowNull: true,
|
|
7317
|
-
type: import_sequelize_typescript62.DataType.STRING(255)
|
|
7318
|
-
})
|
|
7319
|
-
], msExecutive.prototype, "firstName", 2);
|
|
7320
|
-
__decorateClass([
|
|
7321
|
-
(0, import_sequelize_typescript62.Column)({
|
|
7322
|
-
field: "last_name",
|
|
7323
|
-
allowNull: true,
|
|
7324
|
-
type: import_sequelize_typescript62.DataType.STRING(255)
|
|
7325
|
-
})
|
|
7326
|
-
], msExecutive.prototype, "lastName", 2);
|
|
7327
|
-
__decorateClass([
|
|
7328
|
-
(0, import_sequelize_typescript62.Column)({
|
|
7329
|
-
allowNull: true,
|
|
7330
|
-
type: import_sequelize_typescript62.DataType.STRING(255)
|
|
7331
|
-
})
|
|
7332
|
-
], msExecutive.prototype, "email", 2);
|
|
7333
|
-
__decorateClass([
|
|
7334
|
-
(0, import_sequelize_typescript62.Column)({
|
|
7335
|
-
allowNull: true,
|
|
7336
|
-
type: import_sequelize_typescript62.DataType.STRING(255)
|
|
7337
|
-
})
|
|
7338
|
-
], msExecutive.prototype, "phone", 2);
|
|
7339
|
-
__decorateClass([
|
|
7340
|
-
(0, import_sequelize_typescript62.Column)({
|
|
7341
|
-
allowNull: true,
|
|
7342
|
-
type: import_sequelize_typescript62.DataType.STRING(255)
|
|
7343
|
-
})
|
|
7344
|
-
], msExecutive.prototype, "fax", 2);
|
|
7345
|
-
__decorateClass([
|
|
7346
|
-
(0, import_sequelize_typescript62.Column)({
|
|
7347
|
-
allowNull: true,
|
|
7348
|
-
type: import_sequelize_typescript62.DataType.STRING(255)
|
|
7349
|
-
})
|
|
7350
|
-
], msExecutive.prototype, "education", 2);
|
|
7351
|
-
__decorateClass([
|
|
7352
|
-
(0, import_sequelize_typescript62.Column)({
|
|
7353
|
-
allowNull: true,
|
|
7354
|
-
type: import_sequelize_typescript62.DataType.STRING(255)
|
|
7355
|
-
})
|
|
7356
|
-
], msExecutive.prototype, "experience", 2);
|
|
7254
|
+
], msConsultSiteStaff.prototype, "siteId", 2);
|
|
7357
7255
|
__decorateClass([
|
|
7358
7256
|
(0, import_sequelize_typescript62.Column)({
|
|
7359
7257
|
allowNull: true,
|
|
7360
7258
|
type: import_sequelize_typescript62.DataType.STRING(255)
|
|
7361
7259
|
})
|
|
7362
|
-
],
|
|
7363
|
-
__decorateClass([
|
|
7364
|
-
(0, import_sequelize_typescript62.Column)({
|
|
7365
|
-
allowNull: true,
|
|
7366
|
-
type: import_sequelize_typescript62.DataType.INTEGER
|
|
7367
|
-
})
|
|
7368
|
-
], msExecutive.prototype, "sort", 2);
|
|
7260
|
+
], msConsultSiteStaff.prototype, "name", 2);
|
|
7369
7261
|
__decorateClass([
|
|
7370
7262
|
(0, import_sequelize_typescript62.Column)({
|
|
7371
7263
|
allowNull: true,
|
|
7372
7264
|
type: import_sequelize_typescript62.DataType.INTEGER
|
|
7373
7265
|
})
|
|
7374
|
-
],
|
|
7375
|
-
__decorateClass([
|
|
7376
|
-
(0, import_sequelize_typescript62.Column)({
|
|
7377
|
-
allowNull: true,
|
|
7378
|
-
type: import_sequelize_typescript62.DataType.JSON
|
|
7379
|
-
})
|
|
7380
|
-
], msExecutive.prototype, "info", 2);
|
|
7266
|
+
], msConsultSiteStaff.prototype, "status", 2);
|
|
7381
7267
|
__decorateClass([
|
|
7382
7268
|
(0, import_sequelize_typescript62.Column)({
|
|
7383
7269
|
field: "created_by",
|
|
7384
7270
|
allowNull: true,
|
|
7385
7271
|
type: import_sequelize_typescript62.DataType.STRING(60)
|
|
7386
7272
|
})
|
|
7387
|
-
],
|
|
7273
|
+
], msConsultSiteStaff.prototype, "createdBy", 2);
|
|
7388
7274
|
__decorateClass([
|
|
7389
7275
|
(0, import_sequelize_typescript62.Column)({
|
|
7390
7276
|
field: "created_date",
|
|
7391
7277
|
allowNull: true,
|
|
7392
7278
|
type: import_sequelize_typescript62.DataType.DATE
|
|
7393
7279
|
})
|
|
7394
|
-
],
|
|
7280
|
+
], msConsultSiteStaff.prototype, "createdDate", 2);
|
|
7395
7281
|
__decorateClass([
|
|
7396
7282
|
(0, import_sequelize_typescript62.Column)({
|
|
7397
7283
|
field: "updated_by",
|
|
7398
7284
|
allowNull: true,
|
|
7399
7285
|
type: import_sequelize_typescript62.DataType.STRING(60)
|
|
7400
7286
|
})
|
|
7401
|
-
],
|
|
7287
|
+
], msConsultSiteStaff.prototype, "updatedBy", 2);
|
|
7402
7288
|
__decorateClass([
|
|
7403
7289
|
(0, import_sequelize_typescript62.Column)({
|
|
7404
7290
|
field: "updated_date",
|
|
7405
7291
|
allowNull: true,
|
|
7406
7292
|
type: import_sequelize_typescript62.DataType.DATE
|
|
7407
7293
|
})
|
|
7408
|
-
],
|
|
7409
|
-
__decorateClass([
|
|
7410
|
-
(0, import_sequelize_typescript62.ForeignKey)(() => msExecutivePosition),
|
|
7411
|
-
(0, import_sequelize_typescript62.Column)({
|
|
7412
|
-
field: "position_id",
|
|
7413
|
-
allowNull: true,
|
|
7414
|
-
type: import_sequelize_typescript62.DataType.INTEGER
|
|
7415
|
-
})
|
|
7416
|
-
], msExecutive.prototype, "positionId", 2);
|
|
7417
|
-
__decorateClass([
|
|
7418
|
-
(0, import_sequelize_typescript62.BelongsTo)(() => msExecutiveGroup)
|
|
7419
|
-
], msExecutive.prototype, "msExecutiveGroup", 2);
|
|
7420
|
-
__decorateClass([
|
|
7421
|
-
(0, import_sequelize_typescript62.BelongsTo)(() => msExecutivePosition)
|
|
7422
|
-
], msExecutive.prototype, "msExecutivePosition", 2);
|
|
7423
|
-
msExecutive = __decorateClass([
|
|
7294
|
+
], msConsultSiteStaff.prototype, "updatedDate", 2);
|
|
7295
|
+
msConsultSiteStaff = __decorateClass([
|
|
7424
7296
|
(0, import_sequelize_typescript62.Table)({
|
|
7425
|
-
tableName: "
|
|
7297
|
+
tableName: "ms_consult_site_staff",
|
|
7426
7298
|
timestamps: false
|
|
7427
7299
|
})
|
|
7428
|
-
],
|
|
7300
|
+
], msConsultSiteStaff);
|
|
7429
7301
|
|
|
7430
|
-
// src/databases/tables/
|
|
7302
|
+
// src/databases/tables/msExecutive.ts
|
|
7303
|
+
var import_sequelize_typescript65 = require("sequelize-typescript");
|
|
7304
|
+
|
|
7305
|
+
// src/databases/tables/msExecutiveGroup.ts
|
|
7431
7306
|
var import_sequelize_typescript63 = require("sequelize-typescript");
|
|
7432
|
-
var
|
|
7307
|
+
var msExecutiveGroup = class extends import_sequelize_typescript63.Model {
|
|
7433
7308
|
};
|
|
7434
7309
|
__decorateClass([
|
|
7435
7310
|
(0, import_sequelize_typescript63.Column)({
|
|
@@ -7437,1131 +7312,1560 @@ __decorateClass([
|
|
|
7437
7312
|
autoIncrement: true,
|
|
7438
7313
|
type: import_sequelize_typescript63.DataType.INTEGER
|
|
7439
7314
|
})
|
|
7440
|
-
],
|
|
7315
|
+
], msExecutiveGroup.prototype, "id", 2);
|
|
7441
7316
|
__decorateClass([
|
|
7442
7317
|
(0, import_sequelize_typescript63.Column)({
|
|
7443
7318
|
allowNull: true,
|
|
7444
|
-
type: import_sequelize_typescript63.DataType.STRING(
|
|
7319
|
+
type: import_sequelize_typescript63.DataType.STRING(60)
|
|
7445
7320
|
})
|
|
7446
|
-
],
|
|
7321
|
+
], msExecutiveGroup.prototype, "uuid", 2);
|
|
7447
7322
|
__decorateClass([
|
|
7448
7323
|
(0, import_sequelize_typescript63.Column)({
|
|
7449
|
-
field: "name_info",
|
|
7450
7324
|
allowNull: true,
|
|
7451
|
-
type: import_sequelize_typescript63.DataType.
|
|
7325
|
+
type: import_sequelize_typescript63.DataType.INTEGER
|
|
7452
7326
|
})
|
|
7453
|
-
],
|
|
7327
|
+
], msExecutiveGroup.prototype, "type", 2);
|
|
7454
7328
|
__decorateClass([
|
|
7455
7329
|
(0, import_sequelize_typescript63.Column)({
|
|
7456
7330
|
allowNull: true,
|
|
7457
7331
|
type: import_sequelize_typescript63.DataType.STRING(255)
|
|
7458
7332
|
})
|
|
7459
|
-
],
|
|
7333
|
+
], msExecutiveGroup.prototype, "name", 2);
|
|
7460
7334
|
__decorateClass([
|
|
7461
7335
|
(0, import_sequelize_typescript63.Column)({
|
|
7462
7336
|
allowNull: true,
|
|
7463
7337
|
type: import_sequelize_typescript63.DataType.STRING(255)
|
|
7464
7338
|
})
|
|
7465
|
-
],
|
|
7339
|
+
], msExecutiveGroup.prototype, "description", 2);
|
|
7466
7340
|
__decorateClass([
|
|
7467
7341
|
(0, import_sequelize_typescript63.Column)({
|
|
7468
|
-
field: "
|
|
7342
|
+
field: "start_date",
|
|
7469
7343
|
allowNull: true,
|
|
7470
|
-
type: import_sequelize_typescript63.DataType.
|
|
7344
|
+
type: import_sequelize_typescript63.DataType.DATEONLY
|
|
7471
7345
|
})
|
|
7472
|
-
],
|
|
7346
|
+
], msExecutiveGroup.prototype, "startDate", 2);
|
|
7473
7347
|
__decorateClass([
|
|
7474
7348
|
(0, import_sequelize_typescript63.Column)({
|
|
7475
|
-
field: "
|
|
7349
|
+
field: "end_date",
|
|
7476
7350
|
allowNull: true,
|
|
7477
|
-
type: import_sequelize_typescript63.DataType.
|
|
7351
|
+
type: import_sequelize_typescript63.DataType.DATEONLY
|
|
7478
7352
|
})
|
|
7479
|
-
],
|
|
7353
|
+
], msExecutiveGroup.prototype, "endDate", 2);
|
|
7480
7354
|
__decorateClass([
|
|
7481
7355
|
(0, import_sequelize_typescript63.Column)({
|
|
7482
|
-
field: "updated_by",
|
|
7483
7356
|
allowNull: true,
|
|
7484
|
-
type: import_sequelize_typescript63.DataType.
|
|
7357
|
+
type: import_sequelize_typescript63.DataType.INTEGER
|
|
7485
7358
|
})
|
|
7486
|
-
],
|
|
7359
|
+
], msExecutiveGroup.prototype, "sort", 2);
|
|
7487
7360
|
__decorateClass([
|
|
7488
7361
|
(0, import_sequelize_typescript63.Column)({
|
|
7489
|
-
|
|
7362
|
+
allowNull: true,
|
|
7363
|
+
type: import_sequelize_typescript63.DataType.INTEGER
|
|
7364
|
+
})
|
|
7365
|
+
], msExecutiveGroup.prototype, "status", 2);
|
|
7366
|
+
__decorateClass([
|
|
7367
|
+
(0, import_sequelize_typescript63.Column)({
|
|
7368
|
+
allowNull: true,
|
|
7369
|
+
type: import_sequelize_typescript63.DataType.JSON
|
|
7370
|
+
})
|
|
7371
|
+
], msExecutiveGroup.prototype, "info", 2);
|
|
7372
|
+
__decorateClass([
|
|
7373
|
+
(0, import_sequelize_typescript63.Column)({
|
|
7374
|
+
field: "created_by",
|
|
7375
|
+
allowNull: true,
|
|
7376
|
+
type: import_sequelize_typescript63.DataType.STRING(60)
|
|
7377
|
+
})
|
|
7378
|
+
], msExecutiveGroup.prototype, "createdBy", 2);
|
|
7379
|
+
__decorateClass([
|
|
7380
|
+
(0, import_sequelize_typescript63.Column)({
|
|
7381
|
+
field: "created_date",
|
|
7382
|
+
allowNull: true,
|
|
7383
|
+
type: import_sequelize_typescript63.DataType.DATE
|
|
7384
|
+
})
|
|
7385
|
+
], msExecutiveGroup.prototype, "createdDate", 2);
|
|
7386
|
+
__decorateClass([
|
|
7387
|
+
(0, import_sequelize_typescript63.Column)({
|
|
7388
|
+
field: "updated_by",
|
|
7389
|
+
allowNull: true,
|
|
7390
|
+
type: import_sequelize_typescript63.DataType.STRING(60)
|
|
7391
|
+
})
|
|
7392
|
+
], msExecutiveGroup.prototype, "updatedBy", 2);
|
|
7393
|
+
__decorateClass([
|
|
7394
|
+
(0, import_sequelize_typescript63.Column)({
|
|
7395
|
+
field: "updated_date",
|
|
7490
7396
|
allowNull: true,
|
|
7491
7397
|
type: import_sequelize_typescript63.DataType.DATE
|
|
7492
7398
|
})
|
|
7399
|
+
], msExecutiveGroup.prototype, "updatedDate", 2);
|
|
7400
|
+
__decorateClass([
|
|
7401
|
+
(0, import_sequelize_typescript63.HasMany)(() => msExecutive, {
|
|
7402
|
+
sourceKey: "id"
|
|
7403
|
+
})
|
|
7404
|
+
], msExecutiveGroup.prototype, "msExecutives", 2);
|
|
7405
|
+
msExecutiveGroup = __decorateClass([
|
|
7406
|
+
(0, import_sequelize_typescript63.Table)({
|
|
7407
|
+
tableName: "ms_executive_group",
|
|
7408
|
+
timestamps: false
|
|
7409
|
+
})
|
|
7410
|
+
], msExecutiveGroup);
|
|
7411
|
+
|
|
7412
|
+
// src/databases/tables/msExecutivePosition.ts
|
|
7413
|
+
var import_sequelize_typescript64 = require("sequelize-typescript");
|
|
7414
|
+
var msExecutivePosition = class extends import_sequelize_typescript64.Model {
|
|
7415
|
+
};
|
|
7416
|
+
__decorateClass([
|
|
7417
|
+
(0, import_sequelize_typescript64.Column)({
|
|
7418
|
+
primaryKey: true,
|
|
7419
|
+
autoIncrement: true,
|
|
7420
|
+
type: import_sequelize_typescript64.DataType.INTEGER
|
|
7421
|
+
})
|
|
7422
|
+
], msExecutivePosition.prototype, "id", 2);
|
|
7423
|
+
__decorateClass([
|
|
7424
|
+
(0, import_sequelize_typescript64.Column)({
|
|
7425
|
+
field: "group_id",
|
|
7426
|
+
allowNull: true,
|
|
7427
|
+
type: import_sequelize_typescript64.DataType.INTEGER
|
|
7428
|
+
})
|
|
7429
|
+
], msExecutivePosition.prototype, "groupId", 2);
|
|
7430
|
+
__decorateClass([
|
|
7431
|
+
(0, import_sequelize_typescript64.Column)({
|
|
7432
|
+
allowNull: true,
|
|
7433
|
+
type: import_sequelize_typescript64.DataType.STRING(255)
|
|
7434
|
+
})
|
|
7435
|
+
], msExecutivePosition.prototype, "name", 2);
|
|
7436
|
+
__decorateClass([
|
|
7437
|
+
(0, import_sequelize_typescript64.Column)({
|
|
7438
|
+
allowNull: true,
|
|
7439
|
+
type: import_sequelize_typescript64.DataType.STRING(255)
|
|
7440
|
+
})
|
|
7441
|
+
], msExecutivePosition.prototype, "description", 2);
|
|
7442
|
+
__decorateClass([
|
|
7443
|
+
(0, import_sequelize_typescript64.Column)({
|
|
7444
|
+
field: "updated_info",
|
|
7445
|
+
allowNull: true,
|
|
7446
|
+
type: import_sequelize_typescript64.DataType.STRING(255)
|
|
7447
|
+
})
|
|
7448
|
+
], msExecutivePosition.prototype, "updatedInfo", 2);
|
|
7449
|
+
__decorateClass([
|
|
7450
|
+
(0, import_sequelize_typescript64.Column)({
|
|
7451
|
+
allowNull: true,
|
|
7452
|
+
type: import_sequelize_typescript64.DataType.STRING
|
|
7453
|
+
})
|
|
7454
|
+
], msExecutivePosition.prototype, "remark", 2);
|
|
7455
|
+
__decorateClass([
|
|
7456
|
+
(0, import_sequelize_typescript64.Column)({
|
|
7457
|
+
allowNull: true,
|
|
7458
|
+
type: import_sequelize_typescript64.DataType.INTEGER
|
|
7459
|
+
})
|
|
7460
|
+
], msExecutivePosition.prototype, "sort", 2);
|
|
7461
|
+
__decorateClass([
|
|
7462
|
+
(0, import_sequelize_typescript64.Column)({
|
|
7463
|
+
allowNull: true,
|
|
7464
|
+
type: import_sequelize_typescript64.DataType.INTEGER
|
|
7465
|
+
})
|
|
7466
|
+
], msExecutivePosition.prototype, "status", 2);
|
|
7467
|
+
__decorateClass([
|
|
7468
|
+
(0, import_sequelize_typescript64.Column)({
|
|
7469
|
+
allowNull: true,
|
|
7470
|
+
type: import_sequelize_typescript64.DataType.JSON
|
|
7471
|
+
})
|
|
7472
|
+
], msExecutivePosition.prototype, "info", 2);
|
|
7473
|
+
__decorateClass([
|
|
7474
|
+
(0, import_sequelize_typescript64.Column)({
|
|
7475
|
+
field: "created_by",
|
|
7476
|
+
allowNull: true,
|
|
7477
|
+
type: import_sequelize_typescript64.DataType.STRING(60)
|
|
7478
|
+
})
|
|
7479
|
+
], msExecutivePosition.prototype, "createdBy", 2);
|
|
7480
|
+
__decorateClass([
|
|
7481
|
+
(0, import_sequelize_typescript64.Column)({
|
|
7482
|
+
field: "created_date",
|
|
7483
|
+
allowNull: true,
|
|
7484
|
+
type: import_sequelize_typescript64.DataType.DATE
|
|
7485
|
+
})
|
|
7486
|
+
], msExecutivePosition.prototype, "createdDate", 2);
|
|
7487
|
+
__decorateClass([
|
|
7488
|
+
(0, import_sequelize_typescript64.Column)({
|
|
7489
|
+
field: "updated_by",
|
|
7490
|
+
allowNull: true,
|
|
7491
|
+
type: import_sequelize_typescript64.DataType.STRING(60)
|
|
7492
|
+
})
|
|
7493
|
+
], msExecutivePosition.prototype, "updatedBy", 2);
|
|
7494
|
+
__decorateClass([
|
|
7495
|
+
(0, import_sequelize_typescript64.Column)({
|
|
7496
|
+
field: "updated_date",
|
|
7497
|
+
allowNull: true,
|
|
7498
|
+
type: import_sequelize_typescript64.DataType.DATE
|
|
7499
|
+
})
|
|
7500
|
+
], msExecutivePosition.prototype, "updatedDate", 2);
|
|
7501
|
+
__decorateClass([
|
|
7502
|
+
(0, import_sequelize_typescript64.HasMany)(() => msExecutive, {
|
|
7503
|
+
sourceKey: "id"
|
|
7504
|
+
})
|
|
7505
|
+
], msExecutivePosition.prototype, "msExecutives", 2);
|
|
7506
|
+
msExecutivePosition = __decorateClass([
|
|
7507
|
+
(0, import_sequelize_typescript64.Table)({
|
|
7508
|
+
tableName: "ms_executive_position",
|
|
7509
|
+
timestamps: false
|
|
7510
|
+
})
|
|
7511
|
+
], msExecutivePosition);
|
|
7512
|
+
|
|
7513
|
+
// src/databases/tables/msExecutive.ts
|
|
7514
|
+
var msExecutive = class extends import_sequelize_typescript65.Model {
|
|
7515
|
+
};
|
|
7516
|
+
__decorateClass([
|
|
7517
|
+
(0, import_sequelize_typescript65.Column)({
|
|
7518
|
+
primaryKey: true,
|
|
7519
|
+
autoIncrement: true,
|
|
7520
|
+
type: import_sequelize_typescript65.DataType.INTEGER
|
|
7521
|
+
})
|
|
7522
|
+
], msExecutive.prototype, "id", 2);
|
|
7523
|
+
__decorateClass([
|
|
7524
|
+
(0, import_sequelize_typescript65.ForeignKey)(() => msExecutiveGroup),
|
|
7525
|
+
(0, import_sequelize_typescript65.Column)({
|
|
7526
|
+
field: "group_id",
|
|
7527
|
+
allowNull: true,
|
|
7528
|
+
type: import_sequelize_typescript65.DataType.INTEGER
|
|
7529
|
+
})
|
|
7530
|
+
], msExecutive.prototype, "groupId", 2);
|
|
7531
|
+
__decorateClass([
|
|
7532
|
+
(0, import_sequelize_typescript65.Column)({
|
|
7533
|
+
field: "level_id",
|
|
7534
|
+
allowNull: true,
|
|
7535
|
+
type: import_sequelize_typescript65.DataType.INTEGER
|
|
7536
|
+
})
|
|
7537
|
+
], msExecutive.prototype, "levelId", 2);
|
|
7538
|
+
__decorateClass([
|
|
7539
|
+
(0, import_sequelize_typescript65.Column)({
|
|
7540
|
+
field: "position_name",
|
|
7541
|
+
allowNull: true,
|
|
7542
|
+
type: import_sequelize_typescript65.DataType.STRING(255)
|
|
7543
|
+
})
|
|
7544
|
+
], msExecutive.prototype, "positionName", 2);
|
|
7545
|
+
__decorateClass([
|
|
7546
|
+
(0, import_sequelize_typescript65.Column)({
|
|
7547
|
+
field: "position_other",
|
|
7548
|
+
allowNull: true,
|
|
7549
|
+
type: import_sequelize_typescript65.DataType.STRING(255)
|
|
7550
|
+
})
|
|
7551
|
+
], msExecutive.prototype, "positionOther", 2);
|
|
7552
|
+
__decorateClass([
|
|
7553
|
+
(0, import_sequelize_typescript65.Column)({
|
|
7554
|
+
field: "title_id",
|
|
7555
|
+
allowNull: true,
|
|
7556
|
+
type: import_sequelize_typescript65.DataType.INTEGER
|
|
7557
|
+
})
|
|
7558
|
+
], msExecutive.prototype, "titleId", 2);
|
|
7559
|
+
__decorateClass([
|
|
7560
|
+
(0, import_sequelize_typescript65.Column)({
|
|
7561
|
+
field: "first_name",
|
|
7562
|
+
allowNull: true,
|
|
7563
|
+
type: import_sequelize_typescript65.DataType.STRING(255)
|
|
7564
|
+
})
|
|
7565
|
+
], msExecutive.prototype, "firstName", 2);
|
|
7566
|
+
__decorateClass([
|
|
7567
|
+
(0, import_sequelize_typescript65.Column)({
|
|
7568
|
+
field: "last_name",
|
|
7569
|
+
allowNull: true,
|
|
7570
|
+
type: import_sequelize_typescript65.DataType.STRING(255)
|
|
7571
|
+
})
|
|
7572
|
+
], msExecutive.prototype, "lastName", 2);
|
|
7573
|
+
__decorateClass([
|
|
7574
|
+
(0, import_sequelize_typescript65.Column)({
|
|
7575
|
+
allowNull: true,
|
|
7576
|
+
type: import_sequelize_typescript65.DataType.STRING(255)
|
|
7577
|
+
})
|
|
7578
|
+
], msExecutive.prototype, "email", 2);
|
|
7579
|
+
__decorateClass([
|
|
7580
|
+
(0, import_sequelize_typescript65.Column)({
|
|
7581
|
+
allowNull: true,
|
|
7582
|
+
type: import_sequelize_typescript65.DataType.STRING(255)
|
|
7583
|
+
})
|
|
7584
|
+
], msExecutive.prototype, "phone", 2);
|
|
7585
|
+
__decorateClass([
|
|
7586
|
+
(0, import_sequelize_typescript65.Column)({
|
|
7587
|
+
allowNull: true,
|
|
7588
|
+
type: import_sequelize_typescript65.DataType.STRING(255)
|
|
7589
|
+
})
|
|
7590
|
+
], msExecutive.prototype, "fax", 2);
|
|
7591
|
+
__decorateClass([
|
|
7592
|
+
(0, import_sequelize_typescript65.Column)({
|
|
7593
|
+
allowNull: true,
|
|
7594
|
+
type: import_sequelize_typescript65.DataType.STRING(255)
|
|
7595
|
+
})
|
|
7596
|
+
], msExecutive.prototype, "education", 2);
|
|
7597
|
+
__decorateClass([
|
|
7598
|
+
(0, import_sequelize_typescript65.Column)({
|
|
7599
|
+
allowNull: true,
|
|
7600
|
+
type: import_sequelize_typescript65.DataType.STRING(255)
|
|
7601
|
+
})
|
|
7602
|
+
], msExecutive.prototype, "experience", 2);
|
|
7603
|
+
__decorateClass([
|
|
7604
|
+
(0, import_sequelize_typescript65.Column)({
|
|
7605
|
+
allowNull: true,
|
|
7606
|
+
type: import_sequelize_typescript65.DataType.STRING(255)
|
|
7607
|
+
})
|
|
7608
|
+
], msExecutive.prototype, "image", 2);
|
|
7609
|
+
__decorateClass([
|
|
7610
|
+
(0, import_sequelize_typescript65.Column)({
|
|
7611
|
+
allowNull: true,
|
|
7612
|
+
type: import_sequelize_typescript65.DataType.INTEGER
|
|
7613
|
+
})
|
|
7614
|
+
], msExecutive.prototype, "sort", 2);
|
|
7615
|
+
__decorateClass([
|
|
7616
|
+
(0, import_sequelize_typescript65.Column)({
|
|
7617
|
+
allowNull: true,
|
|
7618
|
+
type: import_sequelize_typescript65.DataType.INTEGER
|
|
7619
|
+
})
|
|
7620
|
+
], msExecutive.prototype, "status", 2);
|
|
7621
|
+
__decorateClass([
|
|
7622
|
+
(0, import_sequelize_typescript65.Column)({
|
|
7623
|
+
allowNull: true,
|
|
7624
|
+
type: import_sequelize_typescript65.DataType.JSON
|
|
7625
|
+
})
|
|
7626
|
+
], msExecutive.prototype, "info", 2);
|
|
7627
|
+
__decorateClass([
|
|
7628
|
+
(0, import_sequelize_typescript65.Column)({
|
|
7629
|
+
field: "created_by",
|
|
7630
|
+
allowNull: true,
|
|
7631
|
+
type: import_sequelize_typescript65.DataType.STRING(60)
|
|
7632
|
+
})
|
|
7633
|
+
], msExecutive.prototype, "createdBy", 2);
|
|
7634
|
+
__decorateClass([
|
|
7635
|
+
(0, import_sequelize_typescript65.Column)({
|
|
7636
|
+
field: "created_date",
|
|
7637
|
+
allowNull: true,
|
|
7638
|
+
type: import_sequelize_typescript65.DataType.DATE
|
|
7639
|
+
})
|
|
7640
|
+
], msExecutive.prototype, "createdDate", 2);
|
|
7641
|
+
__decorateClass([
|
|
7642
|
+
(0, import_sequelize_typescript65.Column)({
|
|
7643
|
+
field: "updated_by",
|
|
7644
|
+
allowNull: true,
|
|
7645
|
+
type: import_sequelize_typescript65.DataType.STRING(60)
|
|
7646
|
+
})
|
|
7647
|
+
], msExecutive.prototype, "updatedBy", 2);
|
|
7648
|
+
__decorateClass([
|
|
7649
|
+
(0, import_sequelize_typescript65.Column)({
|
|
7650
|
+
field: "updated_date",
|
|
7651
|
+
allowNull: true,
|
|
7652
|
+
type: import_sequelize_typescript65.DataType.DATE
|
|
7653
|
+
})
|
|
7654
|
+
], msExecutive.prototype, "updatedDate", 2);
|
|
7655
|
+
__decorateClass([
|
|
7656
|
+
(0, import_sequelize_typescript65.ForeignKey)(() => msExecutivePosition),
|
|
7657
|
+
(0, import_sequelize_typescript65.Column)({
|
|
7658
|
+
field: "position_id",
|
|
7659
|
+
allowNull: true,
|
|
7660
|
+
type: import_sequelize_typescript65.DataType.INTEGER
|
|
7661
|
+
})
|
|
7662
|
+
], msExecutive.prototype, "positionId", 2);
|
|
7663
|
+
__decorateClass([
|
|
7664
|
+
(0, import_sequelize_typescript65.BelongsTo)(() => msExecutiveGroup)
|
|
7665
|
+
], msExecutive.prototype, "msExecutiveGroup", 2);
|
|
7666
|
+
__decorateClass([
|
|
7667
|
+
(0, import_sequelize_typescript65.BelongsTo)(() => msExecutivePosition)
|
|
7668
|
+
], msExecutive.prototype, "msExecutivePosition", 2);
|
|
7669
|
+
msExecutive = __decorateClass([
|
|
7670
|
+
(0, import_sequelize_typescript65.Table)({
|
|
7671
|
+
tableName: "ms_executive",
|
|
7672
|
+
timestamps: false
|
|
7673
|
+
})
|
|
7674
|
+
], msExecutive);
|
|
7675
|
+
|
|
7676
|
+
// src/databases/tables/msExecutiveBoard.ts
|
|
7677
|
+
var import_sequelize_typescript66 = require("sequelize-typescript");
|
|
7678
|
+
var msExecutiveBoard = class extends import_sequelize_typescript66.Model {
|
|
7679
|
+
};
|
|
7680
|
+
__decorateClass([
|
|
7681
|
+
(0, import_sequelize_typescript66.Column)({
|
|
7682
|
+
primaryKey: true,
|
|
7683
|
+
autoIncrement: true,
|
|
7684
|
+
type: import_sequelize_typescript66.DataType.INTEGER
|
|
7685
|
+
})
|
|
7686
|
+
], msExecutiveBoard.prototype, "id", 2);
|
|
7687
|
+
__decorateClass([
|
|
7688
|
+
(0, import_sequelize_typescript66.Column)({
|
|
7689
|
+
allowNull: true,
|
|
7690
|
+
type: import_sequelize_typescript66.DataType.STRING(255)
|
|
7691
|
+
})
|
|
7692
|
+
], msExecutiveBoard.prototype, "name", 2);
|
|
7693
|
+
__decorateClass([
|
|
7694
|
+
(0, import_sequelize_typescript66.Column)({
|
|
7695
|
+
field: "name_info",
|
|
7696
|
+
allowNull: true,
|
|
7697
|
+
type: import_sequelize_typescript66.DataType.JSON
|
|
7698
|
+
})
|
|
7699
|
+
], msExecutiveBoard.prototype, "nameInfo", 2);
|
|
7700
|
+
__decorateClass([
|
|
7701
|
+
(0, import_sequelize_typescript66.Column)({
|
|
7702
|
+
allowNull: true,
|
|
7703
|
+
type: import_sequelize_typescript66.DataType.STRING(255)
|
|
7704
|
+
})
|
|
7705
|
+
], msExecutiveBoard.prototype, "sort", 2);
|
|
7706
|
+
__decorateClass([
|
|
7707
|
+
(0, import_sequelize_typescript66.Column)({
|
|
7708
|
+
allowNull: true,
|
|
7709
|
+
type: import_sequelize_typescript66.DataType.STRING(255)
|
|
7710
|
+
})
|
|
7711
|
+
], msExecutiveBoard.prototype, "status", 2);
|
|
7712
|
+
__decorateClass([
|
|
7713
|
+
(0, import_sequelize_typescript66.Column)({
|
|
7714
|
+
field: "created_by",
|
|
7715
|
+
allowNull: true,
|
|
7716
|
+
type: import_sequelize_typescript66.DataType.STRING(60)
|
|
7717
|
+
})
|
|
7718
|
+
], msExecutiveBoard.prototype, "createdBy", 2);
|
|
7719
|
+
__decorateClass([
|
|
7720
|
+
(0, import_sequelize_typescript66.Column)({
|
|
7721
|
+
field: "created_date",
|
|
7722
|
+
allowNull: true,
|
|
7723
|
+
type: import_sequelize_typescript66.DataType.DATE
|
|
7724
|
+
})
|
|
7725
|
+
], msExecutiveBoard.prototype, "createdDate", 2);
|
|
7726
|
+
__decorateClass([
|
|
7727
|
+
(0, import_sequelize_typescript66.Column)({
|
|
7728
|
+
field: "updated_by",
|
|
7729
|
+
allowNull: true,
|
|
7730
|
+
type: import_sequelize_typescript66.DataType.STRING(60)
|
|
7731
|
+
})
|
|
7732
|
+
], msExecutiveBoard.prototype, "updatedBy", 2);
|
|
7733
|
+
__decorateClass([
|
|
7734
|
+
(0, import_sequelize_typescript66.Column)({
|
|
7735
|
+
field: "updated_date",
|
|
7736
|
+
allowNull: true,
|
|
7737
|
+
type: import_sequelize_typescript66.DataType.DATE
|
|
7738
|
+
})
|
|
7493
7739
|
], msExecutiveBoard.prototype, "updatedDate", 2);
|
|
7494
7740
|
msExecutiveBoard = __decorateClass([
|
|
7495
|
-
(0,
|
|
7741
|
+
(0, import_sequelize_typescript66.Table)({
|
|
7496
7742
|
tableName: "ms_executive_board",
|
|
7497
7743
|
timestamps: false
|
|
7498
7744
|
})
|
|
7499
7745
|
], msExecutiveBoard);
|
|
7500
7746
|
|
|
7501
7747
|
// src/databases/tables/msExecutiveLevel.ts
|
|
7502
|
-
var
|
|
7503
|
-
var msExecutiveLevel = class extends
|
|
7748
|
+
var import_sequelize_typescript67 = require("sequelize-typescript");
|
|
7749
|
+
var msExecutiveLevel = class extends import_sequelize_typescript67.Model {
|
|
7504
7750
|
};
|
|
7505
7751
|
__decorateClass([
|
|
7506
|
-
(0,
|
|
7752
|
+
(0, import_sequelize_typescript67.Column)({
|
|
7507
7753
|
primaryKey: true,
|
|
7508
7754
|
autoIncrement: true,
|
|
7509
|
-
type:
|
|
7755
|
+
type: import_sequelize_typescript67.DataType.INTEGER
|
|
7510
7756
|
})
|
|
7511
7757
|
], msExecutiveLevel.prototype, "id", 2);
|
|
7512
7758
|
__decorateClass([
|
|
7513
|
-
(0,
|
|
7759
|
+
(0, import_sequelize_typescript67.Column)({
|
|
7514
7760
|
field: "group_id",
|
|
7515
7761
|
allowNull: true,
|
|
7516
|
-
type:
|
|
7762
|
+
type: import_sequelize_typescript67.DataType.INTEGER
|
|
7517
7763
|
})
|
|
7518
7764
|
], msExecutiveLevel.prototype, "groupId", 2);
|
|
7519
7765
|
__decorateClass([
|
|
7520
|
-
(0,
|
|
7766
|
+
(0, import_sequelize_typescript67.Column)({
|
|
7521
7767
|
allowNull: true,
|
|
7522
|
-
type:
|
|
7768
|
+
type: import_sequelize_typescript67.DataType.INTEGER
|
|
7523
7769
|
})
|
|
7524
7770
|
], msExecutiveLevel.prototype, "level", 2);
|
|
7525
7771
|
__decorateClass([
|
|
7526
|
-
(0,
|
|
7772
|
+
(0, import_sequelize_typescript67.Column)({
|
|
7527
7773
|
allowNull: true,
|
|
7528
|
-
type:
|
|
7774
|
+
type: import_sequelize_typescript67.DataType.STRING(255)
|
|
7529
7775
|
})
|
|
7530
7776
|
], msExecutiveLevel.prototype, "name", 2);
|
|
7531
7777
|
__decorateClass([
|
|
7532
|
-
(0,
|
|
7778
|
+
(0, import_sequelize_typescript67.Column)({
|
|
7533
7779
|
allowNull: true,
|
|
7534
|
-
type:
|
|
7780
|
+
type: import_sequelize_typescript67.DataType.STRING(255)
|
|
7535
7781
|
})
|
|
7536
7782
|
], msExecutiveLevel.prototype, "description", 2);
|
|
7537
7783
|
__decorateClass([
|
|
7538
|
-
(0,
|
|
7784
|
+
(0, import_sequelize_typescript67.Column)({
|
|
7539
7785
|
allowNull: true,
|
|
7540
|
-
type:
|
|
7786
|
+
type: import_sequelize_typescript67.DataType.INTEGER
|
|
7541
7787
|
})
|
|
7542
7788
|
], msExecutiveLevel.prototype, "sort", 2);
|
|
7543
7789
|
__decorateClass([
|
|
7544
|
-
(0,
|
|
7790
|
+
(0, import_sequelize_typescript67.Column)({
|
|
7545
7791
|
allowNull: true,
|
|
7546
|
-
type:
|
|
7792
|
+
type: import_sequelize_typescript67.DataType.INTEGER
|
|
7547
7793
|
})
|
|
7548
7794
|
], msExecutiveLevel.prototype, "status", 2);
|
|
7549
7795
|
__decorateClass([
|
|
7550
|
-
(0,
|
|
7796
|
+
(0, import_sequelize_typescript67.Column)({
|
|
7551
7797
|
field: "updated_info",
|
|
7552
7798
|
allowNull: true,
|
|
7553
|
-
type:
|
|
7799
|
+
type: import_sequelize_typescript67.DataType.STRING(255)
|
|
7554
7800
|
})
|
|
7555
7801
|
], msExecutiveLevel.prototype, "updatedInfo", 2);
|
|
7556
7802
|
__decorateClass([
|
|
7557
|
-
(0,
|
|
7803
|
+
(0, import_sequelize_typescript67.Column)({
|
|
7558
7804
|
allowNull: true,
|
|
7559
|
-
type:
|
|
7805
|
+
type: import_sequelize_typescript67.DataType.STRING
|
|
7560
7806
|
})
|
|
7561
7807
|
], msExecutiveLevel.prototype, "remark", 2);
|
|
7562
7808
|
__decorateClass([
|
|
7563
|
-
(0,
|
|
7809
|
+
(0, import_sequelize_typescript67.Column)({
|
|
7564
7810
|
allowNull: true,
|
|
7565
|
-
type:
|
|
7811
|
+
type: import_sequelize_typescript67.DataType.JSON
|
|
7566
7812
|
})
|
|
7567
7813
|
], msExecutiveLevel.prototype, "info", 2);
|
|
7568
7814
|
__decorateClass([
|
|
7569
|
-
(0,
|
|
7815
|
+
(0, import_sequelize_typescript67.Column)({
|
|
7570
7816
|
field: "created_by",
|
|
7571
7817
|
allowNull: true,
|
|
7572
|
-
type:
|
|
7818
|
+
type: import_sequelize_typescript67.DataType.STRING(60)
|
|
7573
7819
|
})
|
|
7574
7820
|
], msExecutiveLevel.prototype, "createdBy", 2);
|
|
7575
7821
|
__decorateClass([
|
|
7576
|
-
(0,
|
|
7822
|
+
(0, import_sequelize_typescript67.Column)({
|
|
7577
7823
|
field: "created_date",
|
|
7578
7824
|
allowNull: true,
|
|
7579
|
-
type:
|
|
7825
|
+
type: import_sequelize_typescript67.DataType.DATE
|
|
7580
7826
|
})
|
|
7581
7827
|
], msExecutiveLevel.prototype, "createdDate", 2);
|
|
7582
7828
|
__decorateClass([
|
|
7583
|
-
(0,
|
|
7829
|
+
(0, import_sequelize_typescript67.Column)({
|
|
7584
7830
|
field: "updated_by",
|
|
7585
7831
|
allowNull: true,
|
|
7586
|
-
type:
|
|
7832
|
+
type: import_sequelize_typescript67.DataType.STRING(60)
|
|
7587
7833
|
})
|
|
7588
7834
|
], msExecutiveLevel.prototype, "updatedBy", 2);
|
|
7589
7835
|
__decorateClass([
|
|
7590
|
-
(0,
|
|
7836
|
+
(0, import_sequelize_typescript67.Column)({
|
|
7591
7837
|
field: "updated_date",
|
|
7592
7838
|
allowNull: true,
|
|
7593
|
-
type:
|
|
7839
|
+
type: import_sequelize_typescript67.DataType.DATE
|
|
7594
7840
|
})
|
|
7595
7841
|
], msExecutiveLevel.prototype, "updatedDate", 2);
|
|
7596
7842
|
msExecutiveLevel = __decorateClass([
|
|
7597
|
-
(0,
|
|
7843
|
+
(0, import_sequelize_typescript67.Table)({
|
|
7598
7844
|
tableName: "ms_executive_level",
|
|
7599
7845
|
timestamps: false
|
|
7600
7846
|
})
|
|
7601
7847
|
], msExecutiveLevel);
|
|
7602
7848
|
|
|
7603
7849
|
// src/databases/tables/msGuidelines.ts
|
|
7604
|
-
var
|
|
7605
|
-
var msGuidelines = class extends
|
|
7850
|
+
var import_sequelize_typescript68 = require("sequelize-typescript");
|
|
7851
|
+
var msGuidelines = class extends import_sequelize_typescript68.Model {
|
|
7606
7852
|
};
|
|
7607
7853
|
__decorateClass([
|
|
7608
|
-
(0,
|
|
7854
|
+
(0, import_sequelize_typescript68.Column)({
|
|
7609
7855
|
primaryKey: true,
|
|
7610
7856
|
autoIncrement: true,
|
|
7611
|
-
type:
|
|
7857
|
+
type: import_sequelize_typescript68.DataType.INTEGER
|
|
7612
7858
|
})
|
|
7613
7859
|
], msGuidelines.prototype, "id", 2);
|
|
7614
7860
|
__decorateClass([
|
|
7615
|
-
(0,
|
|
7861
|
+
(0, import_sequelize_typescript68.Column)({
|
|
7616
7862
|
allowNull: true,
|
|
7617
|
-
type:
|
|
7863
|
+
type: import_sequelize_typescript68.DataType.STRING(10)
|
|
7618
7864
|
})
|
|
7619
7865
|
], msGuidelines.prototype, "site", 2);
|
|
7620
7866
|
__decorateClass([
|
|
7621
|
-
(0,
|
|
7867
|
+
(0, import_sequelize_typescript68.Column)({
|
|
7622
7868
|
allowNull: true,
|
|
7623
|
-
type:
|
|
7869
|
+
type: import_sequelize_typescript68.DataType.STRING(255)
|
|
7624
7870
|
})
|
|
7625
7871
|
], msGuidelines.prototype, "title", 2);
|
|
7626
7872
|
__decorateClass([
|
|
7627
|
-
(0,
|
|
7873
|
+
(0, import_sequelize_typescript68.Column)({
|
|
7628
7874
|
allowNull: true,
|
|
7629
|
-
type:
|
|
7875
|
+
type: import_sequelize_typescript68.DataType.STRING
|
|
7630
7876
|
})
|
|
7631
7877
|
], msGuidelines.prototype, "detail", 2);
|
|
7632
7878
|
__decorateClass([
|
|
7633
|
-
(0,
|
|
7879
|
+
(0, import_sequelize_typescript68.Column)({
|
|
7634
7880
|
allowNull: true,
|
|
7635
|
-
type:
|
|
7881
|
+
type: import_sequelize_typescript68.DataType.INTEGER
|
|
7636
7882
|
})
|
|
7637
7883
|
], msGuidelines.prototype, "sort", 2);
|
|
7638
7884
|
__decorateClass([
|
|
7639
|
-
(0,
|
|
7885
|
+
(0, import_sequelize_typescript68.Column)({
|
|
7640
7886
|
allowNull: true,
|
|
7641
|
-
type:
|
|
7887
|
+
type: import_sequelize_typescript68.DataType.INTEGER
|
|
7642
7888
|
})
|
|
7643
7889
|
], msGuidelines.prototype, "status", 2);
|
|
7644
7890
|
__decorateClass([
|
|
7645
|
-
(0,
|
|
7891
|
+
(0, import_sequelize_typescript68.Column)({
|
|
7646
7892
|
field: "created_by",
|
|
7647
7893
|
allowNull: true,
|
|
7648
|
-
type:
|
|
7894
|
+
type: import_sequelize_typescript68.DataType.STRING(60)
|
|
7649
7895
|
})
|
|
7650
7896
|
], msGuidelines.prototype, "createdBy", 2);
|
|
7651
7897
|
__decorateClass([
|
|
7652
|
-
(0,
|
|
7898
|
+
(0, import_sequelize_typescript68.Column)({
|
|
7653
7899
|
field: "created_date",
|
|
7654
7900
|
allowNull: true,
|
|
7655
|
-
type:
|
|
7901
|
+
type: import_sequelize_typescript68.DataType.DATE
|
|
7656
7902
|
})
|
|
7657
7903
|
], msGuidelines.prototype, "createdDate", 2);
|
|
7658
7904
|
__decorateClass([
|
|
7659
|
-
(0,
|
|
7905
|
+
(0, import_sequelize_typescript68.Column)({
|
|
7660
7906
|
field: "updated_by",
|
|
7661
7907
|
allowNull: true,
|
|
7662
|
-
type:
|
|
7908
|
+
type: import_sequelize_typescript68.DataType.STRING(60)
|
|
7663
7909
|
})
|
|
7664
7910
|
], msGuidelines.prototype, "updatedBy", 2);
|
|
7665
7911
|
__decorateClass([
|
|
7666
|
-
(0,
|
|
7912
|
+
(0, import_sequelize_typescript68.Column)({
|
|
7667
7913
|
field: "updated_date",
|
|
7668
7914
|
allowNull: true,
|
|
7669
|
-
type:
|
|
7915
|
+
type: import_sequelize_typescript68.DataType.DATE
|
|
7670
7916
|
})
|
|
7671
7917
|
], msGuidelines.prototype, "updatedDate", 2);
|
|
7672
7918
|
msGuidelines = __decorateClass([
|
|
7673
|
-
(0,
|
|
7919
|
+
(0, import_sequelize_typescript68.Table)({
|
|
7674
7920
|
tableName: "ms_guidelines",
|
|
7675
7921
|
timestamps: false
|
|
7676
7922
|
})
|
|
7677
7923
|
], msGuidelines);
|
|
7678
7924
|
|
|
7679
7925
|
// src/databases/tables/msHoliday.ts
|
|
7680
|
-
var
|
|
7681
|
-
var msHoliday = class extends
|
|
7926
|
+
var import_sequelize_typescript69 = require("sequelize-typescript");
|
|
7927
|
+
var msHoliday = class extends import_sequelize_typescript69.Model {
|
|
7682
7928
|
};
|
|
7683
7929
|
__decorateClass([
|
|
7684
|
-
(0,
|
|
7930
|
+
(0, import_sequelize_typescript69.Column)({
|
|
7685
7931
|
primaryKey: true,
|
|
7686
7932
|
autoIncrement: true,
|
|
7687
|
-
type:
|
|
7933
|
+
type: import_sequelize_typescript69.DataType.INTEGER
|
|
7688
7934
|
})
|
|
7689
7935
|
], msHoliday.prototype, "id", 2);
|
|
7690
7936
|
__decorateClass([
|
|
7691
|
-
(0,
|
|
7937
|
+
(0, import_sequelize_typescript69.Column)({
|
|
7692
7938
|
field: "site_id",
|
|
7693
7939
|
allowNull: true,
|
|
7694
|
-
type:
|
|
7940
|
+
type: import_sequelize_typescript69.DataType.INTEGER
|
|
7695
7941
|
})
|
|
7696
7942
|
], msHoliday.prototype, "siteId", 2);
|
|
7697
7943
|
__decorateClass([
|
|
7698
|
-
(0,
|
|
7944
|
+
(0, import_sequelize_typescript69.Column)({
|
|
7699
7945
|
field: "type_id",
|
|
7700
7946
|
allowNull: true,
|
|
7701
|
-
type:
|
|
7947
|
+
type: import_sequelize_typescript69.DataType.INTEGER
|
|
7702
7948
|
})
|
|
7703
7949
|
], msHoliday.prototype, "typeId", 2);
|
|
7704
7950
|
__decorateClass([
|
|
7705
|
-
(0,
|
|
7951
|
+
(0, import_sequelize_typescript69.Column)({
|
|
7706
7952
|
allowNull: true,
|
|
7707
|
-
type:
|
|
7953
|
+
type: import_sequelize_typescript69.DataType.INTEGER
|
|
7708
7954
|
})
|
|
7709
7955
|
], msHoliday.prototype, "year", 2);
|
|
7710
7956
|
__decorateClass([
|
|
7711
|
-
(0,
|
|
7957
|
+
(0, import_sequelize_typescript69.Column)({
|
|
7712
7958
|
allowNull: true,
|
|
7713
|
-
type:
|
|
7959
|
+
type: import_sequelize_typescript69.DataType.STRING(255)
|
|
7714
7960
|
})
|
|
7715
7961
|
], msHoliday.prototype, "name", 2);
|
|
7716
7962
|
__decorateClass([
|
|
7717
|
-
(0,
|
|
7963
|
+
(0, import_sequelize_typescript69.Column)({
|
|
7718
7964
|
field: "at_date",
|
|
7719
7965
|
allowNull: true,
|
|
7720
|
-
type:
|
|
7966
|
+
type: import_sequelize_typescript69.DataType.DATEONLY
|
|
7721
7967
|
})
|
|
7722
7968
|
], msHoliday.prototype, "atDate", 2);
|
|
7723
7969
|
__decorateClass([
|
|
7724
|
-
(0,
|
|
7970
|
+
(0, import_sequelize_typescript69.Column)({
|
|
7725
7971
|
allowNull: true,
|
|
7726
|
-
type:
|
|
7972
|
+
type: import_sequelize_typescript69.DataType.INTEGER
|
|
7727
7973
|
})
|
|
7728
7974
|
], msHoliday.prototype, "status", 2);
|
|
7729
7975
|
__decorateClass([
|
|
7730
|
-
(0,
|
|
7976
|
+
(0, import_sequelize_typescript69.Column)({
|
|
7731
7977
|
field: "created_by",
|
|
7732
7978
|
allowNull: true,
|
|
7733
|
-
type:
|
|
7979
|
+
type: import_sequelize_typescript69.DataType.STRING(60)
|
|
7734
7980
|
})
|
|
7735
7981
|
], msHoliday.prototype, "createdBy", 2);
|
|
7736
7982
|
__decorateClass([
|
|
7737
|
-
(0,
|
|
7983
|
+
(0, import_sequelize_typescript69.Column)({
|
|
7738
7984
|
field: "created_date",
|
|
7739
7985
|
allowNull: true,
|
|
7740
|
-
type:
|
|
7986
|
+
type: import_sequelize_typescript69.DataType.DATE
|
|
7741
7987
|
})
|
|
7742
7988
|
], msHoliday.prototype, "createdDate", 2);
|
|
7743
7989
|
__decorateClass([
|
|
7744
|
-
(0,
|
|
7990
|
+
(0, import_sequelize_typescript69.Column)({
|
|
7745
7991
|
field: "updated_by",
|
|
7746
7992
|
allowNull: true,
|
|
7747
|
-
type:
|
|
7993
|
+
type: import_sequelize_typescript69.DataType.STRING(60)
|
|
7748
7994
|
})
|
|
7749
7995
|
], msHoliday.prototype, "updatedBy", 2);
|
|
7750
7996
|
__decorateClass([
|
|
7751
|
-
(0,
|
|
7997
|
+
(0, import_sequelize_typescript69.Column)({
|
|
7752
7998
|
field: "updated_date",
|
|
7753
7999
|
allowNull: true,
|
|
7754
|
-
type:
|
|
8000
|
+
type: import_sequelize_typescript69.DataType.DATE
|
|
7755
8001
|
})
|
|
7756
8002
|
], msHoliday.prototype, "updatedDate", 2);
|
|
7757
8003
|
msHoliday = __decorateClass([
|
|
7758
|
-
(0,
|
|
8004
|
+
(0, import_sequelize_typescript69.Table)({
|
|
7759
8005
|
tableName: "ms_holiday",
|
|
7760
8006
|
timestamps: false
|
|
7761
8007
|
})
|
|
7762
8008
|
], msHoliday);
|
|
7763
8009
|
|
|
7764
8010
|
// src/databases/tables/msProvince.ts
|
|
7765
|
-
var
|
|
7766
|
-
var msProvince = class extends
|
|
8011
|
+
var import_sequelize_typescript70 = require("sequelize-typescript");
|
|
8012
|
+
var msProvince = class extends import_sequelize_typescript70.Model {
|
|
7767
8013
|
};
|
|
7768
8014
|
__decorateClass([
|
|
7769
|
-
(0,
|
|
8015
|
+
(0, import_sequelize_typescript70.Column)({
|
|
7770
8016
|
primaryKey: true,
|
|
7771
|
-
type:
|
|
8017
|
+
type: import_sequelize_typescript70.DataType.INTEGER
|
|
7772
8018
|
})
|
|
7773
8019
|
], msProvince.prototype, "id", 2);
|
|
7774
8020
|
__decorateClass([
|
|
7775
|
-
(0,
|
|
8021
|
+
(0, import_sequelize_typescript70.Column)({
|
|
7776
8022
|
allowNull: true,
|
|
7777
|
-
type:
|
|
8023
|
+
type: import_sequelize_typescript70.DataType.STRING(255)
|
|
7778
8024
|
})
|
|
7779
8025
|
], msProvince.prototype, "code", 2);
|
|
7780
8026
|
__decorateClass([
|
|
7781
|
-
(0,
|
|
8027
|
+
(0, import_sequelize_typescript70.Column)({
|
|
7782
8028
|
allowNull: true,
|
|
7783
|
-
type:
|
|
8029
|
+
type: import_sequelize_typescript70.DataType.STRING(255)
|
|
7784
8030
|
})
|
|
7785
8031
|
], msProvince.prototype, "name", 2);
|
|
7786
8032
|
__decorateClass([
|
|
7787
|
-
(0,
|
|
8033
|
+
(0, import_sequelize_typescript70.Column)({
|
|
7788
8034
|
field: "geo_id",
|
|
7789
8035
|
allowNull: true,
|
|
7790
|
-
type:
|
|
8036
|
+
type: import_sequelize_typescript70.DataType.INTEGER
|
|
7791
8037
|
})
|
|
7792
8038
|
], msProvince.prototype, "geoId", 2);
|
|
7793
8039
|
__decorateClass([
|
|
7794
|
-
(0,
|
|
8040
|
+
(0, import_sequelize_typescript70.Column)({
|
|
7795
8041
|
field: "court_id",
|
|
7796
8042
|
allowNull: true,
|
|
7797
|
-
type:
|
|
8043
|
+
type: import_sequelize_typescript70.DataType.INTEGER
|
|
7798
8044
|
})
|
|
7799
8045
|
], msProvince.prototype, "courtId", 2);
|
|
7800
8046
|
__decorateClass([
|
|
7801
|
-
(0,
|
|
8047
|
+
(0, import_sequelize_typescript70.Column)({
|
|
7802
8048
|
field: "created_by",
|
|
7803
8049
|
allowNull: true,
|
|
7804
|
-
type:
|
|
8050
|
+
type: import_sequelize_typescript70.DataType.STRING(60)
|
|
7805
8051
|
})
|
|
7806
8052
|
], msProvince.prototype, "createdBy", 2);
|
|
7807
8053
|
__decorateClass([
|
|
7808
|
-
(0,
|
|
8054
|
+
(0, import_sequelize_typescript70.Column)({
|
|
7809
8055
|
field: "created_date",
|
|
7810
8056
|
allowNull: true,
|
|
7811
|
-
type:
|
|
8057
|
+
type: import_sequelize_typescript70.DataType.DATE
|
|
7812
8058
|
})
|
|
7813
8059
|
], msProvince.prototype, "createdDate", 2);
|
|
7814
8060
|
__decorateClass([
|
|
7815
|
-
(0,
|
|
8061
|
+
(0, import_sequelize_typescript70.Column)({
|
|
7816
8062
|
field: "updated_by",
|
|
7817
8063
|
allowNull: true,
|
|
7818
|
-
type:
|
|
8064
|
+
type: import_sequelize_typescript70.DataType.STRING(60)
|
|
7819
8065
|
})
|
|
7820
8066
|
], msProvince.prototype, "updatedBy", 2);
|
|
7821
8067
|
__decorateClass([
|
|
7822
|
-
(0,
|
|
8068
|
+
(0, import_sequelize_typescript70.Column)({
|
|
7823
8069
|
field: "updated_date",
|
|
7824
8070
|
allowNull: true,
|
|
7825
|
-
type:
|
|
8071
|
+
type: import_sequelize_typescript70.DataType.DATE
|
|
7826
8072
|
})
|
|
7827
8073
|
], msProvince.prototype, "updatedDate", 2);
|
|
7828
8074
|
msProvince = __decorateClass([
|
|
7829
|
-
(0,
|
|
8075
|
+
(0, import_sequelize_typescript70.Table)({
|
|
7830
8076
|
tableName: "ms_province",
|
|
7831
8077
|
timestamps: false
|
|
7832
8078
|
})
|
|
7833
8079
|
], msProvince);
|
|
7834
8080
|
|
|
7835
8081
|
// src/databases/tables/msTitle.ts
|
|
7836
|
-
var
|
|
7837
|
-
var msTitle = class extends
|
|
8082
|
+
var import_sequelize_typescript71 = require("sequelize-typescript");
|
|
8083
|
+
var msTitle = class extends import_sequelize_typescript71.Model {
|
|
7838
8084
|
};
|
|
7839
8085
|
__decorateClass([
|
|
7840
|
-
(0,
|
|
8086
|
+
(0, import_sequelize_typescript71.Column)({
|
|
7841
8087
|
primaryKey: true,
|
|
7842
8088
|
autoIncrement: true,
|
|
7843
|
-
type:
|
|
8089
|
+
type: import_sequelize_typescript71.DataType.INTEGER
|
|
7844
8090
|
})
|
|
7845
8091
|
], msTitle.prototype, "id", 2);
|
|
7846
8092
|
__decorateClass([
|
|
7847
|
-
(0,
|
|
8093
|
+
(0, import_sequelize_typescript71.Column)({
|
|
7848
8094
|
allowNull: true,
|
|
7849
|
-
type:
|
|
8095
|
+
type: import_sequelize_typescript71.DataType.STRING(255)
|
|
7850
8096
|
})
|
|
7851
8097
|
], msTitle.prototype, "name", 2);
|
|
7852
8098
|
__decorateClass([
|
|
7853
|
-
(0,
|
|
8099
|
+
(0, import_sequelize_typescript71.Column)({
|
|
7854
8100
|
allowNull: true,
|
|
7855
|
-
type:
|
|
8101
|
+
type: import_sequelize_typescript71.DataType.JSON
|
|
7856
8102
|
})
|
|
7857
8103
|
], msTitle.prototype, "info", 2);
|
|
7858
8104
|
__decorateClass([
|
|
7859
|
-
(0,
|
|
8105
|
+
(0, import_sequelize_typescript71.Column)({
|
|
7860
8106
|
allowNull: true,
|
|
7861
|
-
type:
|
|
8107
|
+
type: import_sequelize_typescript71.DataType.INTEGER
|
|
7862
8108
|
})
|
|
7863
8109
|
], msTitle.prototype, "status", 2);
|
|
7864
8110
|
__decorateClass([
|
|
7865
|
-
(0,
|
|
8111
|
+
(0, import_sequelize_typescript71.Column)({
|
|
8112
|
+
field: "created_by",
|
|
8113
|
+
allowNull: true,
|
|
8114
|
+
type: import_sequelize_typescript71.DataType.STRING(60)
|
|
8115
|
+
})
|
|
8116
|
+
], msTitle.prototype, "createdBy", 2);
|
|
8117
|
+
__decorateClass([
|
|
8118
|
+
(0, import_sequelize_typescript71.Column)({
|
|
8119
|
+
field: "created_date",
|
|
8120
|
+
allowNull: true,
|
|
8121
|
+
type: import_sequelize_typescript71.DataType.DATE
|
|
8122
|
+
})
|
|
8123
|
+
], msTitle.prototype, "createdDate", 2);
|
|
8124
|
+
__decorateClass([
|
|
8125
|
+
(0, import_sequelize_typescript71.Column)({
|
|
8126
|
+
field: "updated_by",
|
|
8127
|
+
allowNull: true,
|
|
8128
|
+
type: import_sequelize_typescript71.DataType.STRING(60)
|
|
8129
|
+
})
|
|
8130
|
+
], msTitle.prototype, "updatedBy", 2);
|
|
8131
|
+
__decorateClass([
|
|
8132
|
+
(0, import_sequelize_typescript71.Column)({
|
|
8133
|
+
field: "updated_date",
|
|
8134
|
+
allowNull: true,
|
|
8135
|
+
type: import_sequelize_typescript71.DataType.DATE
|
|
8136
|
+
})
|
|
8137
|
+
], msTitle.prototype, "updatedDate", 2);
|
|
8138
|
+
msTitle = __decorateClass([
|
|
8139
|
+
(0, import_sequelize_typescript71.Table)({
|
|
8140
|
+
tableName: "ms_title",
|
|
8141
|
+
timestamps: false
|
|
8142
|
+
})
|
|
8143
|
+
], msTitle);
|
|
8144
|
+
|
|
8145
|
+
// src/databases/tables/msVariable.ts
|
|
8146
|
+
var import_sequelize_typescript72 = require("sequelize-typescript");
|
|
8147
|
+
var msVariable = class extends import_sequelize_typescript72.Model {
|
|
8148
|
+
};
|
|
8149
|
+
__decorateClass([
|
|
8150
|
+
(0, import_sequelize_typescript72.Column)({
|
|
8151
|
+
primaryKey: true,
|
|
8152
|
+
autoIncrement: true,
|
|
8153
|
+
type: import_sequelize_typescript72.DataType.INTEGER
|
|
8154
|
+
})
|
|
8155
|
+
], msVariable.prototype, "id", 2);
|
|
8156
|
+
__decorateClass([
|
|
8157
|
+
(0, import_sequelize_typescript72.Column)({
|
|
8158
|
+
allowNull: true,
|
|
8159
|
+
type: import_sequelize_typescript72.DataType.STRING(255)
|
|
8160
|
+
})
|
|
8161
|
+
], msVariable.prototype, "name", 2);
|
|
8162
|
+
__decorateClass([
|
|
8163
|
+
(0, import_sequelize_typescript72.Column)({
|
|
8164
|
+
allowNull: true,
|
|
8165
|
+
type: import_sequelize_typescript72.DataType.JSON
|
|
8166
|
+
})
|
|
8167
|
+
], msVariable.prototype, "data", 2);
|
|
8168
|
+
__decorateClass([
|
|
8169
|
+
(0, import_sequelize_typescript72.Column)({
|
|
7866
8170
|
field: "created_by",
|
|
7867
8171
|
allowNull: true,
|
|
7868
|
-
type:
|
|
8172
|
+
type: import_sequelize_typescript72.DataType.STRING(60)
|
|
7869
8173
|
})
|
|
7870
|
-
],
|
|
8174
|
+
], msVariable.prototype, "createdBy", 2);
|
|
7871
8175
|
__decorateClass([
|
|
7872
|
-
(0,
|
|
8176
|
+
(0, import_sequelize_typescript72.Column)({
|
|
7873
8177
|
field: "created_date",
|
|
7874
8178
|
allowNull: true,
|
|
7875
|
-
type:
|
|
8179
|
+
type: import_sequelize_typescript72.DataType.DATE
|
|
7876
8180
|
})
|
|
7877
|
-
],
|
|
8181
|
+
], msVariable.prototype, "createdDate", 2);
|
|
7878
8182
|
__decorateClass([
|
|
7879
|
-
(0,
|
|
8183
|
+
(0, import_sequelize_typescript72.Column)({
|
|
7880
8184
|
field: "updated_by",
|
|
7881
8185
|
allowNull: true,
|
|
7882
|
-
type:
|
|
8186
|
+
type: import_sequelize_typescript72.DataType.STRING(60)
|
|
7883
8187
|
})
|
|
7884
|
-
],
|
|
8188
|
+
], msVariable.prototype, "updatedBy", 2);
|
|
7885
8189
|
__decorateClass([
|
|
7886
|
-
(0,
|
|
8190
|
+
(0, import_sequelize_typescript72.Column)({
|
|
7887
8191
|
field: "updated_date",
|
|
7888
8192
|
allowNull: true,
|
|
7889
|
-
type:
|
|
8193
|
+
type: import_sequelize_typescript72.DataType.DATE
|
|
7890
8194
|
})
|
|
7891
|
-
],
|
|
7892
|
-
|
|
7893
|
-
(0,
|
|
7894
|
-
tableName: "
|
|
8195
|
+
], msVariable.prototype, "updatedDate", 2);
|
|
8196
|
+
msVariable = __decorateClass([
|
|
8197
|
+
(0, import_sequelize_typescript72.Table)({
|
|
8198
|
+
tableName: "ms_variable",
|
|
7895
8199
|
timestamps: false
|
|
7896
8200
|
})
|
|
7897
|
-
],
|
|
8201
|
+
], msVariable);
|
|
7898
8202
|
|
|
7899
8203
|
// src/databases/tables/msWebsite.ts
|
|
7900
|
-
var
|
|
7901
|
-
var msWebsite = class extends
|
|
8204
|
+
var import_sequelize_typescript73 = require("sequelize-typescript");
|
|
8205
|
+
var msWebsite = class extends import_sequelize_typescript73.Model {
|
|
7902
8206
|
};
|
|
7903
8207
|
__decorateClass([
|
|
7904
|
-
(0,
|
|
8208
|
+
(0, import_sequelize_typescript73.Column)({
|
|
7905
8209
|
primaryKey: true,
|
|
7906
8210
|
autoIncrement: true,
|
|
7907
|
-
type:
|
|
8211
|
+
type: import_sequelize_typescript73.DataType.INTEGER
|
|
7908
8212
|
})
|
|
7909
8213
|
], msWebsite.prototype, "id", 2);
|
|
7910
8214
|
__decorateClass([
|
|
7911
|
-
(0,
|
|
8215
|
+
(0, import_sequelize_typescript73.Column)({
|
|
7912
8216
|
allowNull: true,
|
|
7913
|
-
type:
|
|
8217
|
+
type: import_sequelize_typescript73.DataType.STRING(255)
|
|
7914
8218
|
})
|
|
7915
8219
|
], msWebsite.prototype, "code", 2);
|
|
7916
8220
|
__decorateClass([
|
|
7917
|
-
(0,
|
|
8221
|
+
(0, import_sequelize_typescript73.Column)({
|
|
7918
8222
|
allowNull: true,
|
|
7919
|
-
type:
|
|
8223
|
+
type: import_sequelize_typescript73.DataType.STRING(60)
|
|
7920
8224
|
})
|
|
7921
8225
|
], msWebsite.prototype, "uuid", 2);
|
|
7922
8226
|
__decorateClass([
|
|
7923
|
-
(0,
|
|
8227
|
+
(0, import_sequelize_typescript73.Column)({
|
|
7924
8228
|
allowNull: true,
|
|
7925
|
-
type:
|
|
8229
|
+
type: import_sequelize_typescript73.DataType.STRING(255)
|
|
7926
8230
|
})
|
|
7927
8231
|
], msWebsite.prototype, "name", 2);
|
|
7928
8232
|
__decorateClass([
|
|
7929
|
-
(0,
|
|
8233
|
+
(0, import_sequelize_typescript73.Column)({
|
|
7930
8234
|
allowNull: true,
|
|
7931
|
-
type:
|
|
8235
|
+
type: import_sequelize_typescript73.DataType.STRING(255)
|
|
7932
8236
|
})
|
|
7933
8237
|
], msWebsite.prototype, "description", 2);
|
|
7934
8238
|
__decorateClass([
|
|
7935
|
-
(0,
|
|
8239
|
+
(0, import_sequelize_typescript73.Column)({
|
|
7936
8240
|
allowNull: true,
|
|
7937
|
-
type:
|
|
8241
|
+
type: import_sequelize_typescript73.DataType.STRING(255)
|
|
7938
8242
|
})
|
|
7939
8243
|
], msWebsite.prototype, "url", 2);
|
|
7940
8244
|
__decorateClass([
|
|
7941
|
-
(0,
|
|
8245
|
+
(0, import_sequelize_typescript73.Column)({
|
|
7942
8246
|
allowNull: true,
|
|
7943
|
-
type:
|
|
8247
|
+
type: import_sequelize_typescript73.DataType.INTEGER,
|
|
7944
8248
|
defaultValue: "1"
|
|
7945
8249
|
})
|
|
7946
8250
|
], msWebsite.prototype, "layout", 2);
|
|
7947
8251
|
__decorateClass([
|
|
7948
|
-
(0,
|
|
8252
|
+
(0, import_sequelize_typescript73.Column)({
|
|
7949
8253
|
allowNull: true,
|
|
7950
|
-
type:
|
|
8254
|
+
type: import_sequelize_typescript73.DataType.INTEGER
|
|
7951
8255
|
})
|
|
7952
8256
|
], msWebsite.prototype, "type", 2);
|
|
7953
8257
|
__decorateClass([
|
|
7954
|
-
(0,
|
|
8258
|
+
(0, import_sequelize_typescript73.Column)({
|
|
7955
8259
|
allowNull: true,
|
|
7956
|
-
type:
|
|
8260
|
+
type: import_sequelize_typescript73.DataType.INTEGER,
|
|
7957
8261
|
defaultValue: "1"
|
|
7958
8262
|
})
|
|
7959
8263
|
], msWebsite.prototype, "status", 2);
|
|
7960
8264
|
__decorateClass([
|
|
7961
|
-
(0,
|
|
8265
|
+
(0, import_sequelize_typescript73.Column)({
|
|
7962
8266
|
allowNull: true,
|
|
7963
|
-
type:
|
|
8267
|
+
type: import_sequelize_typescript73.DataType.STRING(20)
|
|
7964
8268
|
})
|
|
7965
8269
|
], msWebsite.prototype, "region", 2);
|
|
7966
8270
|
__decorateClass([
|
|
7967
|
-
(0,
|
|
8271
|
+
(0, import_sequelize_typescript73.Column)({
|
|
7968
8272
|
allowNull: true,
|
|
7969
|
-
type:
|
|
8273
|
+
type: import_sequelize_typescript73.DataType.INTEGER
|
|
7970
8274
|
})
|
|
7971
8275
|
], msWebsite.prototype, "sort", 2);
|
|
7972
8276
|
__decorateClass([
|
|
7973
|
-
(0,
|
|
8277
|
+
(0, import_sequelize_typescript73.Column)({
|
|
7974
8278
|
allowNull: true,
|
|
7975
|
-
type:
|
|
8279
|
+
type: import_sequelize_typescript73.DataType.STRING(255)
|
|
7976
8280
|
})
|
|
7977
8281
|
], msWebsite.prototype, "image", 2);
|
|
7978
8282
|
__decorateClass([
|
|
7979
|
-
(0,
|
|
8283
|
+
(0, import_sequelize_typescript73.Column)({
|
|
7980
8284
|
allowNull: true,
|
|
7981
|
-
type:
|
|
8285
|
+
type: import_sequelize_typescript73.DataType.STRING(255)
|
|
7982
8286
|
})
|
|
7983
8287
|
], msWebsite.prototype, "address", 2);
|
|
7984
8288
|
__decorateClass([
|
|
7985
|
-
(0,
|
|
8289
|
+
(0, import_sequelize_typescript73.Column)({
|
|
7986
8290
|
allowNull: true,
|
|
7987
|
-
type:
|
|
8291
|
+
type: import_sequelize_typescript73.DataType.STRING(100)
|
|
7988
8292
|
})
|
|
7989
8293
|
], msWebsite.prototype, "phone", 2);
|
|
7990
8294
|
__decorateClass([
|
|
7991
|
-
(0,
|
|
8295
|
+
(0, import_sequelize_typescript73.Column)({
|
|
7992
8296
|
allowNull: true,
|
|
7993
|
-
type:
|
|
8297
|
+
type: import_sequelize_typescript73.DataType.STRING(100)
|
|
7994
8298
|
})
|
|
7995
8299
|
], msWebsite.prototype, "fax", 2);
|
|
7996
8300
|
__decorateClass([
|
|
7997
|
-
(0,
|
|
8301
|
+
(0, import_sequelize_typescript73.Column)({
|
|
7998
8302
|
allowNull: true,
|
|
7999
|
-
type:
|
|
8303
|
+
type: import_sequelize_typescript73.DataType.STRING(255)
|
|
8000
8304
|
})
|
|
8001
8305
|
], msWebsite.prototype, "office", 2);
|
|
8002
8306
|
__decorateClass([
|
|
8003
|
-
(0,
|
|
8307
|
+
(0, import_sequelize_typescript73.Column)({
|
|
8004
8308
|
allowNull: true,
|
|
8005
|
-
type:
|
|
8309
|
+
type: import_sequelize_typescript73.DataType.DATEONLY
|
|
8006
8310
|
})
|
|
8007
8311
|
], msWebsite.prototype, "opened", 2);
|
|
8008
8312
|
__decorateClass([
|
|
8009
|
-
(0,
|
|
8313
|
+
(0, import_sequelize_typescript73.Column)({
|
|
8010
8314
|
allowNull: true,
|
|
8011
|
-
type:
|
|
8315
|
+
type: import_sequelize_typescript73.DataType.JSON
|
|
8012
8316
|
})
|
|
8013
8317
|
], msWebsite.prototype, "info", 2);
|
|
8014
8318
|
__decorateClass([
|
|
8015
|
-
(0,
|
|
8319
|
+
(0, import_sequelize_typescript73.Column)({
|
|
8016
8320
|
field: "created_by",
|
|
8017
8321
|
allowNull: true,
|
|
8018
|
-
type:
|
|
8322
|
+
type: import_sequelize_typescript73.DataType.STRING(60),
|
|
8019
8323
|
comment: "\u0E2A\u0E23\u0E49\u0E32\u0E07\u0E42\u0E14\u0E22"
|
|
8020
8324
|
})
|
|
8021
8325
|
], msWebsite.prototype, "createdBy", 2);
|
|
8022
8326
|
__decorateClass([
|
|
8023
|
-
(0,
|
|
8327
|
+
(0, import_sequelize_typescript73.Column)({
|
|
8024
8328
|
field: "created_date",
|
|
8025
8329
|
allowNull: true,
|
|
8026
|
-
type:
|
|
8330
|
+
type: import_sequelize_typescript73.DataType.DATE,
|
|
8027
8331
|
comment: "\u0E27\u0E31\u0E19\u0E17\u0E35\u0E48\u0E2A\u0E23\u0E49\u0E32\u0E07"
|
|
8028
8332
|
})
|
|
8029
8333
|
], msWebsite.prototype, "createdDate", 2);
|
|
8030
8334
|
__decorateClass([
|
|
8031
|
-
(0,
|
|
8335
|
+
(0, import_sequelize_typescript73.Column)({
|
|
8032
8336
|
field: "updated_by",
|
|
8033
8337
|
allowNull: true,
|
|
8034
|
-
type:
|
|
8338
|
+
type: import_sequelize_typescript73.DataType.STRING(60),
|
|
8035
8339
|
comment: "\u0E41\u0E01\u0E49\u0E44\u0E02\u0E42\u0E14\u0E22"
|
|
8036
8340
|
})
|
|
8037
8341
|
], msWebsite.prototype, "updatedBy", 2);
|
|
8038
8342
|
__decorateClass([
|
|
8039
|
-
(0,
|
|
8343
|
+
(0, import_sequelize_typescript73.Column)({
|
|
8040
8344
|
field: "updated_date",
|
|
8041
8345
|
allowNull: true,
|
|
8042
|
-
type:
|
|
8346
|
+
type: import_sequelize_typescript73.DataType.DATE,
|
|
8043
8347
|
comment: "\u0E27\u0E31\u0E19\u0E17\u0E35\u0E48\u0E41\u0E01\u0E49\u0E44\u0E02"
|
|
8044
8348
|
})
|
|
8045
8349
|
], msWebsite.prototype, "updatedDate", 2);
|
|
8046
8350
|
msWebsite = __decorateClass([
|
|
8047
|
-
(0,
|
|
8351
|
+
(0, import_sequelize_typescript73.Table)({
|
|
8048
8352
|
tableName: "ms_website",
|
|
8049
8353
|
timestamps: false
|
|
8050
8354
|
})
|
|
8051
8355
|
], msWebsite);
|
|
8052
8356
|
|
|
8053
8357
|
// src/databases/tables/oauthAccessToken.ts
|
|
8054
|
-
var
|
|
8055
|
-
var oauthAccessToken = class extends
|
|
8358
|
+
var import_sequelize_typescript74 = require("sequelize-typescript");
|
|
8359
|
+
var oauthAccessToken = class extends import_sequelize_typescript74.Model {
|
|
8056
8360
|
};
|
|
8057
8361
|
__decorateClass([
|
|
8058
|
-
(0,
|
|
8362
|
+
(0, import_sequelize_typescript74.Column)({
|
|
8059
8363
|
primaryKey: true,
|
|
8060
8364
|
autoIncrement: true,
|
|
8061
|
-
type:
|
|
8365
|
+
type: import_sequelize_typescript74.DataType.INTEGER
|
|
8062
8366
|
})
|
|
8063
8367
|
], oauthAccessToken.prototype, "id", 2);
|
|
8064
8368
|
__decorateClass([
|
|
8065
|
-
(0,
|
|
8369
|
+
(0, import_sequelize_typescript74.Column)({
|
|
8066
8370
|
field: "access_token",
|
|
8067
|
-
type:
|
|
8371
|
+
type: import_sequelize_typescript74.DataType.STRING
|
|
8068
8372
|
})
|
|
8069
8373
|
], oauthAccessToken.prototype, "accessToken", 2);
|
|
8070
8374
|
__decorateClass([
|
|
8071
|
-
(0,
|
|
8375
|
+
(0, import_sequelize_typescript74.Column)({
|
|
8072
8376
|
field: "client_id",
|
|
8073
|
-
type:
|
|
8377
|
+
type: import_sequelize_typescript74.DataType.STRING(32)
|
|
8074
8378
|
})
|
|
8075
8379
|
], oauthAccessToken.prototype, "clientId", 2);
|
|
8076
8380
|
__decorateClass([
|
|
8077
|
-
(0,
|
|
8381
|
+
(0, import_sequelize_typescript74.Column)({
|
|
8078
8382
|
field: "user_id",
|
|
8079
8383
|
allowNull: true,
|
|
8080
|
-
type:
|
|
8384
|
+
type: import_sequelize_typescript74.DataType.INTEGER
|
|
8081
8385
|
})
|
|
8082
8386
|
], oauthAccessToken.prototype, "userId", 2);
|
|
8083
8387
|
__decorateClass([
|
|
8084
|
-
(0,
|
|
8085
|
-
type:
|
|
8086
|
-
defaultValue:
|
|
8388
|
+
(0, import_sequelize_typescript74.Column)({
|
|
8389
|
+
type: import_sequelize_typescript74.DataType.DATE,
|
|
8390
|
+
defaultValue: import_sequelize_typescript74.DataType.NOW
|
|
8087
8391
|
})
|
|
8088
8392
|
], oauthAccessToken.prototype, "expires", 2);
|
|
8089
8393
|
__decorateClass([
|
|
8090
|
-
(0,
|
|
8394
|
+
(0, import_sequelize_typescript74.Column)({
|
|
8091
8395
|
allowNull: true,
|
|
8092
|
-
type:
|
|
8396
|
+
type: import_sequelize_typescript74.DataType.STRING(2e3)
|
|
8093
8397
|
})
|
|
8094
8398
|
], oauthAccessToken.prototype, "scope", 2);
|
|
8095
8399
|
__decorateClass([
|
|
8096
|
-
(0,
|
|
8400
|
+
(0, import_sequelize_typescript74.Column)({
|
|
8097
8401
|
field: "created_date",
|
|
8098
|
-
type:
|
|
8099
|
-
defaultValue:
|
|
8402
|
+
type: import_sequelize_typescript74.DataType.DATE,
|
|
8403
|
+
defaultValue: import_sequelize_typescript74.DataType.NOW
|
|
8100
8404
|
})
|
|
8101
8405
|
], oauthAccessToken.prototype, "createdDate", 2);
|
|
8102
8406
|
oauthAccessToken = __decorateClass([
|
|
8103
|
-
(0,
|
|
8407
|
+
(0, import_sequelize_typescript74.Table)({
|
|
8104
8408
|
tableName: "oauth_access_token",
|
|
8105
8409
|
timestamps: false
|
|
8106
8410
|
})
|
|
8107
8411
|
], oauthAccessToken);
|
|
8108
8412
|
|
|
8109
8413
|
// src/databases/tables/oauthRefreshToken.ts
|
|
8110
|
-
var
|
|
8111
|
-
var oauthRefreshToken = class extends
|
|
8414
|
+
var import_sequelize_typescript75 = require("sequelize-typescript");
|
|
8415
|
+
var oauthRefreshToken = class extends import_sequelize_typescript75.Model {
|
|
8112
8416
|
};
|
|
8113
8417
|
__decorateClass([
|
|
8114
|
-
(0,
|
|
8418
|
+
(0, import_sequelize_typescript75.Column)({
|
|
8115
8419
|
primaryKey: true,
|
|
8116
8420
|
autoIncrement: true,
|
|
8117
|
-
type:
|
|
8421
|
+
type: import_sequelize_typescript75.DataType.INTEGER
|
|
8118
8422
|
})
|
|
8119
8423
|
], oauthRefreshToken.prototype, "id", 2);
|
|
8120
8424
|
__decorateClass([
|
|
8121
|
-
(0,
|
|
8425
|
+
(0, import_sequelize_typescript75.Column)({
|
|
8122
8426
|
field: "refresh_token",
|
|
8123
|
-
type:
|
|
8427
|
+
type: import_sequelize_typescript75.DataType.STRING(1e3)
|
|
8124
8428
|
})
|
|
8125
8429
|
], oauthRefreshToken.prototype, "refreshToken", 2);
|
|
8126
8430
|
__decorateClass([
|
|
8127
|
-
(0,
|
|
8431
|
+
(0, import_sequelize_typescript75.Column)({
|
|
8128
8432
|
field: "client_id",
|
|
8129
|
-
type:
|
|
8433
|
+
type: import_sequelize_typescript75.DataType.STRING(32)
|
|
8130
8434
|
})
|
|
8131
8435
|
], oauthRefreshToken.prototype, "clientId", 2);
|
|
8132
8436
|
__decorateClass([
|
|
8133
|
-
(0,
|
|
8437
|
+
(0, import_sequelize_typescript75.Column)({
|
|
8134
8438
|
field: "user_id",
|
|
8135
8439
|
allowNull: true,
|
|
8136
|
-
type:
|
|
8440
|
+
type: import_sequelize_typescript75.DataType.INTEGER
|
|
8137
8441
|
})
|
|
8138
8442
|
], oauthRefreshToken.prototype, "userId", 2);
|
|
8139
8443
|
__decorateClass([
|
|
8140
|
-
(0,
|
|
8141
|
-
type:
|
|
8142
|
-
defaultValue:
|
|
8444
|
+
(0, import_sequelize_typescript75.Column)({
|
|
8445
|
+
type: import_sequelize_typescript75.DataType.DATE,
|
|
8446
|
+
defaultValue: import_sequelize_typescript75.DataType.NOW
|
|
8143
8447
|
})
|
|
8144
8448
|
], oauthRefreshToken.prototype, "expires", 2);
|
|
8145
8449
|
__decorateClass([
|
|
8146
|
-
(0,
|
|
8450
|
+
(0, import_sequelize_typescript75.Column)({
|
|
8147
8451
|
allowNull: true,
|
|
8148
|
-
type:
|
|
8452
|
+
type: import_sequelize_typescript75.DataType.STRING(1e3)
|
|
8149
8453
|
})
|
|
8150
8454
|
], oauthRefreshToken.prototype, "scope", 2);
|
|
8151
8455
|
__decorateClass([
|
|
8152
|
-
(0,
|
|
8456
|
+
(0, import_sequelize_typescript75.Column)({
|
|
8153
8457
|
field: "created_date",
|
|
8154
|
-
type:
|
|
8155
|
-
defaultValue:
|
|
8458
|
+
type: import_sequelize_typescript75.DataType.DATE,
|
|
8459
|
+
defaultValue: import_sequelize_typescript75.DataType.NOW
|
|
8156
8460
|
})
|
|
8157
8461
|
], oauthRefreshToken.prototype, "createdDate", 2);
|
|
8158
8462
|
oauthRefreshToken = __decorateClass([
|
|
8159
|
-
(0,
|
|
8463
|
+
(0, import_sequelize_typescript75.Table)({
|
|
8160
8464
|
tableName: "oauth_refresh_token",
|
|
8161
8465
|
timestamps: false
|
|
8162
8466
|
})
|
|
8163
8467
|
], oauthRefreshToken);
|
|
8164
8468
|
|
|
8165
8469
|
// src/databases/tables/recruitment.ts
|
|
8166
|
-
var
|
|
8470
|
+
var import_sequelize_typescript77 = require("sequelize-typescript");
|
|
8167
8471
|
|
|
8168
8472
|
// src/databases/tables/recruitmentGroup.ts
|
|
8169
|
-
var
|
|
8170
|
-
var recruitmentGroup = class extends
|
|
8473
|
+
var import_sequelize_typescript76 = require("sequelize-typescript");
|
|
8474
|
+
var recruitmentGroup = class extends import_sequelize_typescript76.Model {
|
|
8171
8475
|
};
|
|
8172
8476
|
__decorateClass([
|
|
8173
|
-
(0,
|
|
8477
|
+
(0, import_sequelize_typescript76.Column)({
|
|
8174
8478
|
primaryKey: true,
|
|
8175
8479
|
autoIncrement: true,
|
|
8176
|
-
type:
|
|
8480
|
+
type: import_sequelize_typescript76.DataType.INTEGER
|
|
8177
8481
|
})
|
|
8178
8482
|
], recruitmentGroup.prototype, "id", 2);
|
|
8179
8483
|
__decorateClass([
|
|
8180
|
-
(0,
|
|
8484
|
+
(0, import_sequelize_typescript76.Column)({
|
|
8181
8485
|
allowNull: true,
|
|
8182
|
-
type:
|
|
8486
|
+
type: import_sequelize_typescript76.DataType.STRING(60)
|
|
8183
8487
|
})
|
|
8184
8488
|
], recruitmentGroup.prototype, "uuid", 2);
|
|
8185
8489
|
__decorateClass([
|
|
8186
|
-
(0,
|
|
8490
|
+
(0, import_sequelize_typescript76.Column)({
|
|
8187
8491
|
field: "user_id",
|
|
8188
8492
|
allowNull: true,
|
|
8189
|
-
type:
|
|
8493
|
+
type: import_sequelize_typescript76.DataType.INTEGER
|
|
8190
8494
|
})
|
|
8191
8495
|
], recruitmentGroup.prototype, "userId", 2);
|
|
8192
8496
|
__decorateClass([
|
|
8193
|
-
(0,
|
|
8194
|
-
type:
|
|
8497
|
+
(0, import_sequelize_typescript76.Column)({
|
|
8498
|
+
type: import_sequelize_typescript76.DataType.STRING(255)
|
|
8195
8499
|
})
|
|
8196
8500
|
], recruitmentGroup.prototype, "name", 2);
|
|
8197
8501
|
__decorateClass([
|
|
8198
|
-
(0,
|
|
8502
|
+
(0, import_sequelize_typescript76.Column)({
|
|
8199
8503
|
allowNull: true,
|
|
8200
|
-
type:
|
|
8504
|
+
type: import_sequelize_typescript76.DataType.STRING(255)
|
|
8201
8505
|
})
|
|
8202
8506
|
], recruitmentGroup.prototype, "description", 2);
|
|
8203
8507
|
__decorateClass([
|
|
8204
|
-
(0,
|
|
8508
|
+
(0, import_sequelize_typescript76.Column)({
|
|
8205
8509
|
allowNull: true,
|
|
8206
|
-
type:
|
|
8510
|
+
type: import_sequelize_typescript76.DataType.INTEGER
|
|
8207
8511
|
})
|
|
8208
8512
|
], recruitmentGroup.prototype, "sort", 2);
|
|
8209
8513
|
__decorateClass([
|
|
8210
|
-
(0,
|
|
8514
|
+
(0, import_sequelize_typescript76.Column)({
|
|
8211
8515
|
allowNull: true,
|
|
8212
|
-
type:
|
|
8516
|
+
type: import_sequelize_typescript76.DataType.INTEGER
|
|
8213
8517
|
})
|
|
8214
8518
|
], recruitmentGroup.prototype, "status", 2);
|
|
8215
8519
|
__decorateClass([
|
|
8216
|
-
(0,
|
|
8520
|
+
(0, import_sequelize_typescript76.Column)({
|
|
8217
8521
|
field: "created_by",
|
|
8218
8522
|
allowNull: true,
|
|
8219
|
-
type:
|
|
8523
|
+
type: import_sequelize_typescript76.DataType.STRING(60)
|
|
8220
8524
|
})
|
|
8221
8525
|
], recruitmentGroup.prototype, "createdBy", 2);
|
|
8222
8526
|
__decorateClass([
|
|
8223
|
-
(0,
|
|
8527
|
+
(0, import_sequelize_typescript76.Column)({
|
|
8224
8528
|
field: "created_date",
|
|
8225
8529
|
allowNull: true,
|
|
8226
|
-
type:
|
|
8530
|
+
type: import_sequelize_typescript76.DataType.DATE
|
|
8227
8531
|
})
|
|
8228
8532
|
], recruitmentGroup.prototype, "createdDate", 2);
|
|
8229
8533
|
__decorateClass([
|
|
8230
|
-
(0,
|
|
8534
|
+
(0, import_sequelize_typescript76.Column)({
|
|
8231
8535
|
field: "updated_by",
|
|
8232
8536
|
allowNull: true,
|
|
8233
|
-
type:
|
|
8537
|
+
type: import_sequelize_typescript76.DataType.STRING(60)
|
|
8234
8538
|
})
|
|
8235
8539
|
], recruitmentGroup.prototype, "updatedBy", 2);
|
|
8236
8540
|
__decorateClass([
|
|
8237
|
-
(0,
|
|
8541
|
+
(0, import_sequelize_typescript76.Column)({
|
|
8238
8542
|
field: "updated_date",
|
|
8239
8543
|
allowNull: true,
|
|
8240
|
-
type:
|
|
8544
|
+
type: import_sequelize_typescript76.DataType.DATE
|
|
8241
8545
|
})
|
|
8242
8546
|
], recruitmentGroup.prototype, "updatedDate", 2);
|
|
8243
8547
|
__decorateClass([
|
|
8244
|
-
(0,
|
|
8548
|
+
(0, import_sequelize_typescript76.HasMany)(() => recruitment, {
|
|
8245
8549
|
sourceKey: "id"
|
|
8246
8550
|
})
|
|
8247
8551
|
], recruitmentGroup.prototype, "recruitments", 2);
|
|
8248
8552
|
recruitmentGroup = __decorateClass([
|
|
8249
|
-
(0,
|
|
8553
|
+
(0, import_sequelize_typescript76.Table)({
|
|
8250
8554
|
tableName: "recruitment_group",
|
|
8251
8555
|
timestamps: false
|
|
8252
8556
|
})
|
|
8253
8557
|
], recruitmentGroup);
|
|
8254
8558
|
|
|
8255
8559
|
// src/databases/tables/recruitment.ts
|
|
8256
|
-
var recruitment = class extends
|
|
8560
|
+
var recruitment = class extends import_sequelize_typescript77.Model {
|
|
8257
8561
|
};
|
|
8258
8562
|
__decorateClass([
|
|
8259
|
-
(0,
|
|
8563
|
+
(0, import_sequelize_typescript77.Column)({
|
|
8260
8564
|
primaryKey: true,
|
|
8261
8565
|
autoIncrement: true,
|
|
8262
|
-
type:
|
|
8566
|
+
type: import_sequelize_typescript77.DataType.INTEGER
|
|
8263
8567
|
})
|
|
8264
8568
|
], recruitment.prototype, "id", 2);
|
|
8265
8569
|
__decorateClass([
|
|
8266
|
-
(0,
|
|
8570
|
+
(0, import_sequelize_typescript77.Column)({
|
|
8267
8571
|
allowNull: true,
|
|
8268
|
-
type:
|
|
8572
|
+
type: import_sequelize_typescript77.DataType.STRING(60)
|
|
8269
8573
|
})
|
|
8270
8574
|
], recruitment.prototype, "uuid", 2);
|
|
8271
8575
|
__decorateClass([
|
|
8272
|
-
(0,
|
|
8273
|
-
(0,
|
|
8576
|
+
(0, import_sequelize_typescript77.ForeignKey)(() => recruitmentGroup),
|
|
8577
|
+
(0, import_sequelize_typescript77.Column)({
|
|
8274
8578
|
field: "group_id",
|
|
8275
8579
|
allowNull: true,
|
|
8276
|
-
type:
|
|
8580
|
+
type: import_sequelize_typescript77.DataType.INTEGER
|
|
8277
8581
|
})
|
|
8278
8582
|
], recruitment.prototype, "groupId", 2);
|
|
8279
8583
|
__decorateClass([
|
|
8280
|
-
(0,
|
|
8584
|
+
(0, import_sequelize_typescript77.Column)({
|
|
8281
8585
|
field: "position_name",
|
|
8282
8586
|
allowNull: true,
|
|
8283
|
-
type:
|
|
8587
|
+
type: import_sequelize_typescript77.DataType.STRING(255)
|
|
8284
8588
|
})
|
|
8285
8589
|
], recruitment.prototype, "positionName", 2);
|
|
8286
8590
|
__decorateClass([
|
|
8287
|
-
(0,
|
|
8591
|
+
(0, import_sequelize_typescript77.Column)({
|
|
8288
8592
|
field: "account_listed",
|
|
8289
8593
|
allowNull: true,
|
|
8290
|
-
type:
|
|
8594
|
+
type: import_sequelize_typescript77.DataType.INTEGER
|
|
8291
8595
|
})
|
|
8292
8596
|
], recruitment.prototype, "accountListed", 2);
|
|
8293
8597
|
__decorateClass([
|
|
8294
|
-
(0,
|
|
8598
|
+
(0, import_sequelize_typescript77.Column)({
|
|
8295
8599
|
field: "account_age",
|
|
8296
8600
|
allowNull: true,
|
|
8297
|
-
type:
|
|
8601
|
+
type: import_sequelize_typescript77.DataType.INTEGER
|
|
8298
8602
|
})
|
|
8299
8603
|
], recruitment.prototype, "accountAge", 2);
|
|
8300
8604
|
__decorateClass([
|
|
8301
|
-
(0,
|
|
8605
|
+
(0, import_sequelize_typescript77.Column)({
|
|
8302
8606
|
field: "account_expires",
|
|
8303
8607
|
allowNull: true,
|
|
8304
|
-
type:
|
|
8608
|
+
type: import_sequelize_typescript77.DataType.DATEONLY
|
|
8305
8609
|
})
|
|
8306
8610
|
], recruitment.prototype, "accountExpires", 2);
|
|
8307
8611
|
__decorateClass([
|
|
8308
|
-
(0,
|
|
8612
|
+
(0, import_sequelize_typescript77.Column)({
|
|
8309
8613
|
field: "called_position",
|
|
8310
8614
|
allowNull: true,
|
|
8311
|
-
type:
|
|
8615
|
+
type: import_sequelize_typescript77.DataType.INTEGER
|
|
8312
8616
|
})
|
|
8313
8617
|
], recruitment.prototype, "calledPosition", 2);
|
|
8314
8618
|
__decorateClass([
|
|
8315
|
-
(0,
|
|
8619
|
+
(0, import_sequelize_typescript77.Column)({
|
|
8316
8620
|
allowNull: true,
|
|
8317
|
-
type:
|
|
8621
|
+
type: import_sequelize_typescript77.DataType.INTEGER
|
|
8318
8622
|
})
|
|
8319
8623
|
], recruitment.prototype, "sort", 2);
|
|
8320
8624
|
__decorateClass([
|
|
8321
|
-
(0,
|
|
8625
|
+
(0, import_sequelize_typescript77.Column)({
|
|
8322
8626
|
allowNull: true,
|
|
8323
|
-
type:
|
|
8627
|
+
type: import_sequelize_typescript77.DataType.INTEGER
|
|
8324
8628
|
})
|
|
8325
8629
|
], recruitment.prototype, "status", 2);
|
|
8326
8630
|
__decorateClass([
|
|
8327
|
-
(0,
|
|
8631
|
+
(0, import_sequelize_typescript77.Column)({
|
|
8328
8632
|
field: "created_by",
|
|
8329
8633
|
allowNull: true,
|
|
8330
|
-
type:
|
|
8634
|
+
type: import_sequelize_typescript77.DataType.STRING(60)
|
|
8331
8635
|
})
|
|
8332
8636
|
], recruitment.prototype, "createdBy", 2);
|
|
8333
8637
|
__decorateClass([
|
|
8334
|
-
(0,
|
|
8638
|
+
(0, import_sequelize_typescript77.Column)({
|
|
8335
8639
|
field: "created_date",
|
|
8336
8640
|
allowNull: true,
|
|
8337
|
-
type:
|
|
8641
|
+
type: import_sequelize_typescript77.DataType.DATE
|
|
8338
8642
|
})
|
|
8339
8643
|
], recruitment.prototype, "createdDate", 2);
|
|
8340
8644
|
__decorateClass([
|
|
8341
|
-
(0,
|
|
8645
|
+
(0, import_sequelize_typescript77.Column)({
|
|
8342
8646
|
field: "updated_by",
|
|
8343
8647
|
allowNull: true,
|
|
8344
|
-
type:
|
|
8648
|
+
type: import_sequelize_typescript77.DataType.STRING(60)
|
|
8345
8649
|
})
|
|
8346
8650
|
], recruitment.prototype, "updatedBy", 2);
|
|
8347
8651
|
__decorateClass([
|
|
8348
|
-
(0,
|
|
8652
|
+
(0, import_sequelize_typescript77.Column)({
|
|
8349
8653
|
field: "updated_date",
|
|
8350
8654
|
allowNull: true,
|
|
8351
|
-
type:
|
|
8655
|
+
type: import_sequelize_typescript77.DataType.DATE
|
|
8352
8656
|
})
|
|
8353
8657
|
], recruitment.prototype, "updatedDate", 2);
|
|
8354
8658
|
__decorateClass([
|
|
8355
|
-
(0,
|
|
8659
|
+
(0, import_sequelize_typescript77.Column)({
|
|
8356
8660
|
field: "ref_id",
|
|
8357
8661
|
allowNull: true,
|
|
8358
|
-
type:
|
|
8662
|
+
type: import_sequelize_typescript77.DataType.INTEGER
|
|
8359
8663
|
})
|
|
8360
8664
|
], recruitment.prototype, "refId", 2);
|
|
8361
8665
|
__decorateClass([
|
|
8362
|
-
(0,
|
|
8666
|
+
(0, import_sequelize_typescript77.BelongsTo)(() => recruitmentGroup)
|
|
8363
8667
|
], recruitment.prototype, "recruitmentGroup", 2);
|
|
8364
8668
|
recruitment = __decorateClass([
|
|
8365
|
-
(0,
|
|
8669
|
+
(0, import_sequelize_typescript77.Table)({
|
|
8366
8670
|
tableName: "recruitment",
|
|
8367
8671
|
timestamps: false
|
|
8368
8672
|
})
|
|
8369
8673
|
], recruitment);
|
|
8370
8674
|
|
|
8371
8675
|
// src/databases/tables/settings.ts
|
|
8372
|
-
var
|
|
8373
|
-
var settings = class extends
|
|
8676
|
+
var import_sequelize_typescript78 = require("sequelize-typescript");
|
|
8677
|
+
var settings = class extends import_sequelize_typescript78.Model {
|
|
8374
8678
|
};
|
|
8375
8679
|
__decorateClass([
|
|
8376
|
-
(0,
|
|
8680
|
+
(0, import_sequelize_typescript78.Column)({
|
|
8377
8681
|
primaryKey: true,
|
|
8378
8682
|
autoIncrement: true,
|
|
8379
|
-
type:
|
|
8683
|
+
type: import_sequelize_typescript78.DataType.INTEGER
|
|
8380
8684
|
})
|
|
8381
8685
|
], settings.prototype, "id", 2);
|
|
8382
8686
|
__decorateClass([
|
|
8383
|
-
(0,
|
|
8687
|
+
(0, import_sequelize_typescript78.Column)({
|
|
8384
8688
|
allowNull: true,
|
|
8385
|
-
type:
|
|
8689
|
+
type: import_sequelize_typescript78.DataType.STRING(255)
|
|
8386
8690
|
})
|
|
8387
8691
|
], settings.prototype, "key", 2);
|
|
8388
8692
|
__decorateClass([
|
|
8389
|
-
(0,
|
|
8693
|
+
(0, import_sequelize_typescript78.Column)({
|
|
8390
8694
|
allowNull: true,
|
|
8391
|
-
type:
|
|
8695
|
+
type: import_sequelize_typescript78.DataType.STRING
|
|
8392
8696
|
})
|
|
8393
8697
|
], settings.prototype, "value", 2);
|
|
8394
8698
|
__decorateClass([
|
|
8395
|
-
(0,
|
|
8699
|
+
(0, import_sequelize_typescript78.Column)({
|
|
8396
8700
|
allowNull: true,
|
|
8397
|
-
type:
|
|
8701
|
+
type: import_sequelize_typescript78.DataType.JSON
|
|
8398
8702
|
})
|
|
8399
8703
|
], settings.prototype, "data", 2);
|
|
8400
8704
|
__decorateClass([
|
|
8401
|
-
(0,
|
|
8705
|
+
(0, import_sequelize_typescript78.Column)({
|
|
8402
8706
|
field: "updated_by",
|
|
8403
8707
|
allowNull: true,
|
|
8404
|
-
type:
|
|
8708
|
+
type: import_sequelize_typescript78.DataType.STRING(60)
|
|
8405
8709
|
})
|
|
8406
8710
|
], settings.prototype, "updatedBy", 2);
|
|
8407
8711
|
__decorateClass([
|
|
8408
|
-
(0,
|
|
8712
|
+
(0, import_sequelize_typescript78.Column)({
|
|
8409
8713
|
field: "updated_date",
|
|
8410
8714
|
allowNull: true,
|
|
8411
|
-
type:
|
|
8715
|
+
type: import_sequelize_typescript78.DataType.DATE
|
|
8412
8716
|
})
|
|
8413
8717
|
], settings.prototype, "updatedDate", 2);
|
|
8414
8718
|
settings = __decorateClass([
|
|
8415
|
-
(0,
|
|
8719
|
+
(0, import_sequelize_typescript78.Table)({
|
|
8416
8720
|
tableName: "settings",
|
|
8417
8721
|
timestamps: false
|
|
8418
8722
|
})
|
|
8419
8723
|
], settings);
|
|
8420
8724
|
|
|
8421
8725
|
// src/databases/tables/userCenterV.ts
|
|
8422
|
-
var
|
|
8423
|
-
var userCenterV = class extends
|
|
8726
|
+
var import_sequelize_typescript79 = require("sequelize-typescript");
|
|
8727
|
+
var userCenterV = class extends import_sequelize_typescript79.Model {
|
|
8424
8728
|
};
|
|
8425
8729
|
__decorateClass([
|
|
8426
|
-
(0,
|
|
8427
|
-
type:
|
|
8730
|
+
(0, import_sequelize_typescript79.Column)({
|
|
8731
|
+
type: import_sequelize_typescript79.DataType.INTEGER,
|
|
8428
8732
|
defaultValue: "0"
|
|
8429
8733
|
})
|
|
8430
8734
|
], userCenterV.prototype, "id", 2);
|
|
8431
8735
|
__decorateClass([
|
|
8432
|
-
(0,
|
|
8433
|
-
type:
|
|
8736
|
+
(0, import_sequelize_typescript79.Column)({
|
|
8737
|
+
type: import_sequelize_typescript79.DataType.STRING(60)
|
|
8434
8738
|
})
|
|
8435
8739
|
], userCenterV.prototype, "uuid", 2);
|
|
8436
8740
|
__decorateClass([
|
|
8437
|
-
(0,
|
|
8438
|
-
type:
|
|
8741
|
+
(0, import_sequelize_typescript79.Column)({
|
|
8742
|
+
type: import_sequelize_typescript79.DataType.STRING(100)
|
|
8439
8743
|
})
|
|
8440
8744
|
], userCenterV.prototype, "username", 2);
|
|
8441
8745
|
__decorateClass([
|
|
8442
|
-
(0,
|
|
8746
|
+
(0, import_sequelize_typescript79.Column)({
|
|
8443
8747
|
field: "password_hash",
|
|
8444
8748
|
allowNull: true,
|
|
8445
|
-
type:
|
|
8749
|
+
type: import_sequelize_typescript79.DataType.STRING(255)
|
|
8446
8750
|
})
|
|
8447
8751
|
], userCenterV.prototype, "passwordHash", 2);
|
|
8448
8752
|
__decorateClass([
|
|
8449
|
-
(0,
|
|
8753
|
+
(0, import_sequelize_typescript79.Column)({
|
|
8450
8754
|
field: "password_reset_token",
|
|
8451
8755
|
allowNull: true,
|
|
8452
|
-
type:
|
|
8756
|
+
type: import_sequelize_typescript79.DataType.STRING(255)
|
|
8453
8757
|
})
|
|
8454
8758
|
], userCenterV.prototype, "passwordResetToken", 2);
|
|
8455
8759
|
__decorateClass([
|
|
8456
|
-
(0,
|
|
8760
|
+
(0, import_sequelize_typescript79.Column)({
|
|
8457
8761
|
field: "verification_token",
|
|
8458
8762
|
allowNull: true,
|
|
8459
|
-
type:
|
|
8763
|
+
type: import_sequelize_typescript79.DataType.STRING(255)
|
|
8460
8764
|
})
|
|
8461
8765
|
], userCenterV.prototype, "verificationToken", 2);
|
|
8462
8766
|
__decorateClass([
|
|
8463
|
-
(0,
|
|
8767
|
+
(0, import_sequelize_typescript79.Column)({
|
|
8464
8768
|
allowNull: true,
|
|
8465
|
-
type:
|
|
8769
|
+
type: import_sequelize_typescript79.DataType.STRING(255)
|
|
8466
8770
|
})
|
|
8467
8771
|
], userCenterV.prototype, "email", 2);
|
|
8468
8772
|
__decorateClass([
|
|
8469
|
-
(0,
|
|
8773
|
+
(0, import_sequelize_typescript79.Column)({
|
|
8470
8774
|
field: "auth_key",
|
|
8471
8775
|
allowNull: true,
|
|
8472
|
-
type:
|
|
8776
|
+
type: import_sequelize_typescript79.DataType.STRING(32)
|
|
8473
8777
|
})
|
|
8474
8778
|
], userCenterV.prototype, "authKey", 2);
|
|
8475
8779
|
__decorateClass([
|
|
8476
|
-
(0,
|
|
8780
|
+
(0, import_sequelize_typescript79.Column)({
|
|
8477
8781
|
field: "access_token",
|
|
8478
8782
|
allowNull: true,
|
|
8479
|
-
type:
|
|
8783
|
+
type: import_sequelize_typescript79.DataType.STRING
|
|
8480
8784
|
})
|
|
8481
8785
|
], userCenterV.prototype, "accessToken", 2);
|
|
8482
8786
|
__decorateClass([
|
|
8483
|
-
(0,
|
|
8787
|
+
(0, import_sequelize_typescript79.Column)({
|
|
8484
8788
|
field: "user_level",
|
|
8485
8789
|
allowNull: true,
|
|
8486
|
-
type:
|
|
8790
|
+
type: import_sequelize_typescript79.DataType.INTEGER
|
|
8487
8791
|
})
|
|
8488
8792
|
], userCenterV.prototype, "userLevel", 2);
|
|
8489
8793
|
__decorateClass([
|
|
8490
|
-
(0,
|
|
8794
|
+
(0, import_sequelize_typescript79.Column)({
|
|
8491
8795
|
field: "user_authen",
|
|
8492
8796
|
allowNull: true,
|
|
8493
|
-
type:
|
|
8797
|
+
type: import_sequelize_typescript79.DataType.STRING(64)
|
|
8494
8798
|
})
|
|
8495
8799
|
], userCenterV.prototype, "userAuthen", 2);
|
|
8496
8800
|
__decorateClass([
|
|
8497
|
-
(0,
|
|
8801
|
+
(0, import_sequelize_typescript79.Column)({
|
|
8498
8802
|
field: "user_type",
|
|
8499
8803
|
allowNull: true,
|
|
8500
|
-
type:
|
|
8804
|
+
type: import_sequelize_typescript79.DataType.INTEGER
|
|
8501
8805
|
})
|
|
8502
8806
|
], userCenterV.prototype, "userType", 2);
|
|
8503
8807
|
__decorateClass([
|
|
8504
|
-
(0,
|
|
8808
|
+
(0, import_sequelize_typescript79.Column)({
|
|
8505
8809
|
allowNull: true,
|
|
8506
|
-
type:
|
|
8810
|
+
type: import_sequelize_typescript79.DataType.STRING(10)
|
|
8507
8811
|
})
|
|
8508
8812
|
], userCenterV.prototype, "prefix", 2);
|
|
8509
8813
|
__decorateClass([
|
|
8510
|
-
(0,
|
|
8814
|
+
(0, import_sequelize_typescript79.Column)({
|
|
8511
8815
|
field: "first_name",
|
|
8512
8816
|
allowNull: true,
|
|
8513
|
-
type:
|
|
8817
|
+
type: import_sequelize_typescript79.DataType.STRING(100)
|
|
8514
8818
|
})
|
|
8515
8819
|
], userCenterV.prototype, "firstName", 2);
|
|
8516
8820
|
__decorateClass([
|
|
8517
|
-
(0,
|
|
8821
|
+
(0, import_sequelize_typescript79.Column)({
|
|
8518
8822
|
field: "last_name",
|
|
8519
8823
|
allowNull: true,
|
|
8520
|
-
type:
|
|
8824
|
+
type: import_sequelize_typescript79.DataType.STRING(100)
|
|
8521
8825
|
})
|
|
8522
8826
|
], userCenterV.prototype, "lastName", 2);
|
|
8523
8827
|
__decorateClass([
|
|
8524
|
-
(0,
|
|
8828
|
+
(0, import_sequelize_typescript79.Column)({
|
|
8525
8829
|
allowNull: true,
|
|
8526
|
-
type:
|
|
8830
|
+
type: import_sequelize_typescript79.DataType.STRING(20)
|
|
8527
8831
|
})
|
|
8528
8832
|
], userCenterV.prototype, "phone", 2);
|
|
8529
8833
|
__decorateClass([
|
|
8530
|
-
(0,
|
|
8834
|
+
(0, import_sequelize_typescript79.Column)({
|
|
8531
8835
|
allowNull: true,
|
|
8532
|
-
type:
|
|
8836
|
+
type: import_sequelize_typescript79.DataType.SMALLINT
|
|
8533
8837
|
})
|
|
8534
8838
|
], userCenterV.prototype, "status", 2);
|
|
8535
8839
|
__decorateClass([
|
|
8536
|
-
(0,
|
|
8840
|
+
(0, import_sequelize_typescript79.Column)({
|
|
8537
8841
|
field: "created_by",
|
|
8538
8842
|
allowNull: true,
|
|
8539
|
-
type:
|
|
8843
|
+
type: import_sequelize_typescript79.DataType.STRING(60)
|
|
8540
8844
|
})
|
|
8541
8845
|
], userCenterV.prototype, "createdBy", 2);
|
|
8542
8846
|
__decorateClass([
|
|
8543
|
-
(0,
|
|
8847
|
+
(0, import_sequelize_typescript79.Column)({
|
|
8544
8848
|
field: "created_date",
|
|
8545
8849
|
allowNull: true,
|
|
8546
|
-
type:
|
|
8850
|
+
type: import_sequelize_typescript79.DataType.DATE
|
|
8547
8851
|
})
|
|
8548
8852
|
], userCenterV.prototype, "createdDate", 2);
|
|
8549
8853
|
__decorateClass([
|
|
8550
|
-
(0,
|
|
8854
|
+
(0, import_sequelize_typescript79.Column)({
|
|
8551
8855
|
field: "updated_by",
|
|
8552
8856
|
allowNull: true,
|
|
8553
|
-
type:
|
|
8857
|
+
type: import_sequelize_typescript79.DataType.STRING(60)
|
|
8554
8858
|
})
|
|
8555
8859
|
], userCenterV.prototype, "updatedBy", 2);
|
|
8556
8860
|
__decorateClass([
|
|
8557
|
-
(0,
|
|
8861
|
+
(0, import_sequelize_typescript79.Column)({
|
|
8558
8862
|
field: "updated_date",
|
|
8559
8863
|
allowNull: true,
|
|
8560
|
-
type:
|
|
8864
|
+
type: import_sequelize_typescript79.DataType.DATE
|
|
8561
8865
|
})
|
|
8562
8866
|
], userCenterV.prototype, "updatedDate", 2);
|
|
8563
8867
|
userCenterV = __decorateClass([
|
|
8564
|
-
(0,
|
|
8868
|
+
(0, import_sequelize_typescript79.Table)({
|
|
8565
8869
|
tableName: "user_center_v",
|
|
8566
8870
|
timestamps: false,
|
|
8567
8871
|
comment: "VIEW"
|
|
@@ -8569,38 +8873,38 @@ userCenterV = __decorateClass([
|
|
|
8569
8873
|
], userCenterV);
|
|
8570
8874
|
|
|
8571
8875
|
// src/databases/tables/userRoleV.ts
|
|
8572
|
-
var
|
|
8573
|
-
var userRoleV = class extends
|
|
8876
|
+
var import_sequelize_typescript80 = require("sequelize-typescript");
|
|
8877
|
+
var userRoleV = class extends import_sequelize_typescript80.Model {
|
|
8574
8878
|
};
|
|
8575
8879
|
__decorateClass([
|
|
8576
|
-
(0,
|
|
8577
|
-
type:
|
|
8880
|
+
(0, import_sequelize_typescript80.Column)({
|
|
8881
|
+
type: import_sequelize_typescript80.DataType.INTEGER,
|
|
8578
8882
|
defaultValue: "0"
|
|
8579
8883
|
})
|
|
8580
8884
|
], userRoleV.prototype, "id", 2);
|
|
8581
8885
|
__decorateClass([
|
|
8582
|
-
(0,
|
|
8886
|
+
(0, import_sequelize_typescript80.Column)({
|
|
8583
8887
|
field: "website_th",
|
|
8584
8888
|
allowNull: true,
|
|
8585
|
-
type:
|
|
8889
|
+
type: import_sequelize_typescript80.DataType.STRING(60)
|
|
8586
8890
|
})
|
|
8587
8891
|
], userRoleV.prototype, "websiteTh", 2);
|
|
8588
8892
|
__decorateClass([
|
|
8589
|
-
(0,
|
|
8893
|
+
(0, import_sequelize_typescript80.Column)({
|
|
8590
8894
|
field: "website_en",
|
|
8591
8895
|
allowNull: true,
|
|
8592
|
-
type:
|
|
8896
|
+
type: import_sequelize_typescript80.DataType.STRING(60)
|
|
8593
8897
|
})
|
|
8594
8898
|
], userRoleV.prototype, "websiteEn", 2);
|
|
8595
8899
|
__decorateClass([
|
|
8596
|
-
(0,
|
|
8900
|
+
(0, import_sequelize_typescript80.Column)({
|
|
8597
8901
|
field: "website_fr",
|
|
8598
8902
|
allowNull: true,
|
|
8599
|
-
type:
|
|
8903
|
+
type: import_sequelize_typescript80.DataType.STRING(60)
|
|
8600
8904
|
})
|
|
8601
8905
|
], userRoleV.prototype, "websiteFr", 2);
|
|
8602
8906
|
userRoleV = __decorateClass([
|
|
8603
|
-
(0,
|
|
8907
|
+
(0, import_sequelize_typescript80.Table)({
|
|
8604
8908
|
tableName: "user_role_v",
|
|
8605
8909
|
timestamps: false,
|
|
8606
8910
|
comment: "VIEW"
|
|
@@ -8664,6 +8968,9 @@ userRoleV = __decorateClass([
|
|
|
8664
8968
|
msConsultChannels,
|
|
8665
8969
|
msConsultInstructions,
|
|
8666
8970
|
msConsultService,
|
|
8971
|
+
msConsultSiteChannel,
|
|
8972
|
+
msConsultSiteHoliday,
|
|
8973
|
+
msConsultSiteStaff,
|
|
8667
8974
|
msExecutive,
|
|
8668
8975
|
msExecutiveBoard,
|
|
8669
8976
|
msExecutiveGroup,
|
|
@@ -8674,6 +8981,7 @@ userRoleV = __decorateClass([
|
|
|
8674
8981
|
msModule,
|
|
8675
8982
|
msProvince,
|
|
8676
8983
|
msTitle,
|
|
8984
|
+
msVariable,
|
|
8677
8985
|
msWebsite,
|
|
8678
8986
|
oauthAccessToken,
|
|
8679
8987
|
oauthRefreshToken,
|