@admc-go-th/admc-library 1.0.132 → 1.0.134
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/{appQueue-HW5J6Gb9.d.ts → appQueue-BX509KRh.d.ts} +4 -2
- package/databases/schema/appQueue.ts +11 -3
- package/databases/schema/index.ts +0 -2
- package/databases/schema/msExecutive.ts +0 -5
- package/databases/tables/appQueue.d.ts +1 -1
- package/databases/tables/appQueue.js +9 -2
- package/databases/tables/index.d.ts +2 -4
- package/databases/tables/index.js +433 -702
- package/databases/tables/msConsultChannels.d.ts +1 -1
- package/databases/tables/msConsultChannels.js +9 -2
- package/databases/tables/msExecutive.d.ts +1 -1
- package/databases/tables/msExecutive.js +47 -152
- package/databases/tables/msExecutiveGroup.d.ts +1 -1
- package/databases/tables/msExecutiveGroup.js +77 -184
- package/databases/tables/msExecutivePosition.d.ts +36 -2
- package/databases/tables/msExecutivePosition.js +0 -4
- package/databases/tables/msWebsite.d.ts +1 -1
- package/databases/tables/msWebsite.js +9 -2
- package/{msExecutive-BFeU4P0-.d.ts → msExecutive-Yxx8Wpkj.d.ts} +1 -34
- package/package.json +1 -1
|
@@ -31,14 +31,11 @@ __export(msExecutiveGroup_exports, {
|
|
|
31
31
|
msExecutiveGroup: () => msExecutiveGroup
|
|
32
32
|
});
|
|
33
33
|
module.exports = __toCommonJS(msExecutiveGroup_exports);
|
|
34
|
-
var import_sequelize_typescript3 = require("sequelize-typescript");
|
|
35
|
-
|
|
36
|
-
// src/databases/tables/msExecutive.ts
|
|
37
34
|
var import_sequelize_typescript2 = require("sequelize-typescript");
|
|
38
35
|
|
|
39
|
-
// src/databases/tables/
|
|
36
|
+
// src/databases/tables/msExecutive.ts
|
|
40
37
|
var import_sequelize_typescript = require("sequelize-typescript");
|
|
41
|
-
var
|
|
38
|
+
var msExecutive = class extends import_sequelize_typescript.Model {
|
|
42
39
|
};
|
|
43
40
|
__decorateClass([
|
|
44
41
|
(0, import_sequelize_typescript.Column)({
|
|
@@ -46,361 +43,257 @@ __decorateClass([
|
|
|
46
43
|
autoIncrement: true,
|
|
47
44
|
type: import_sequelize_typescript.DataType.INTEGER
|
|
48
45
|
})
|
|
49
|
-
],
|
|
46
|
+
], msExecutive.prototype, "id", 2);
|
|
50
47
|
__decorateClass([
|
|
48
|
+
(0, import_sequelize_typescript.ForeignKey)(() => msExecutiveGroup),
|
|
51
49
|
(0, import_sequelize_typescript.Column)({
|
|
52
50
|
field: "group_id",
|
|
53
51
|
allowNull: true,
|
|
54
52
|
type: import_sequelize_typescript.DataType.INTEGER
|
|
55
53
|
})
|
|
56
|
-
], msExecutivePosition.prototype, "groupId", 2);
|
|
57
|
-
__decorateClass([
|
|
58
|
-
(0, import_sequelize_typescript.Column)({
|
|
59
|
-
allowNull: true,
|
|
60
|
-
type: import_sequelize_typescript.DataType.STRING(255)
|
|
61
|
-
})
|
|
62
|
-
], msExecutivePosition.prototype, "name", 2);
|
|
63
|
-
__decorateClass([
|
|
64
|
-
(0, import_sequelize_typescript.Column)({
|
|
65
|
-
allowNull: true,
|
|
66
|
-
type: import_sequelize_typescript.DataType.STRING(255)
|
|
67
|
-
})
|
|
68
|
-
], msExecutivePosition.prototype, "description", 2);
|
|
69
|
-
__decorateClass([
|
|
70
|
-
(0, import_sequelize_typescript.Column)({
|
|
71
|
-
field: "updated_info",
|
|
72
|
-
allowNull: true,
|
|
73
|
-
type: import_sequelize_typescript.DataType.STRING(255)
|
|
74
|
-
})
|
|
75
|
-
], msExecutivePosition.prototype, "updatedInfo", 2);
|
|
76
|
-
__decorateClass([
|
|
77
|
-
(0, import_sequelize_typescript.Column)({
|
|
78
|
-
allowNull: true,
|
|
79
|
-
type: import_sequelize_typescript.DataType.STRING
|
|
80
|
-
})
|
|
81
|
-
], msExecutivePosition.prototype, "remark", 2);
|
|
82
|
-
__decorateClass([
|
|
83
|
-
(0, import_sequelize_typescript.Column)({
|
|
84
|
-
allowNull: true,
|
|
85
|
-
type: import_sequelize_typescript.DataType.INTEGER
|
|
86
|
-
})
|
|
87
|
-
], msExecutivePosition.prototype, "sort", 2);
|
|
88
|
-
__decorateClass([
|
|
89
|
-
(0, import_sequelize_typescript.Column)({
|
|
90
|
-
allowNull: true,
|
|
91
|
-
type: import_sequelize_typescript.DataType.INTEGER
|
|
92
|
-
})
|
|
93
|
-
], msExecutivePosition.prototype, "status", 2);
|
|
94
|
-
__decorateClass([
|
|
95
|
-
(0, import_sequelize_typescript.Column)({
|
|
96
|
-
allowNull: true,
|
|
97
|
-
type: import_sequelize_typescript.DataType.JSON
|
|
98
|
-
})
|
|
99
|
-
], msExecutivePosition.prototype, "info", 2);
|
|
100
|
-
__decorateClass([
|
|
101
|
-
(0, import_sequelize_typescript.Column)({
|
|
102
|
-
field: "created_by",
|
|
103
|
-
allowNull: true,
|
|
104
|
-
type: import_sequelize_typescript.DataType.STRING(60)
|
|
105
|
-
})
|
|
106
|
-
], msExecutivePosition.prototype, "createdBy", 2);
|
|
107
|
-
__decorateClass([
|
|
108
|
-
(0, import_sequelize_typescript.Column)({
|
|
109
|
-
field: "created_date",
|
|
110
|
-
allowNull: true,
|
|
111
|
-
type: import_sequelize_typescript.DataType.DATE
|
|
112
|
-
})
|
|
113
|
-
], msExecutivePosition.prototype, "createdDate", 2);
|
|
114
|
-
__decorateClass([
|
|
115
|
-
(0, import_sequelize_typescript.Column)({
|
|
116
|
-
field: "updated_by",
|
|
117
|
-
allowNull: true,
|
|
118
|
-
type: import_sequelize_typescript.DataType.STRING(60)
|
|
119
|
-
})
|
|
120
|
-
], msExecutivePosition.prototype, "updatedBy", 2);
|
|
121
|
-
__decorateClass([
|
|
122
|
-
(0, import_sequelize_typescript.Column)({
|
|
123
|
-
field: "updated_date",
|
|
124
|
-
allowNull: true,
|
|
125
|
-
type: import_sequelize_typescript.DataType.DATE
|
|
126
|
-
})
|
|
127
|
-
], msExecutivePosition.prototype, "updatedDate", 2);
|
|
128
|
-
__decorateClass([
|
|
129
|
-
(0, import_sequelize_typescript.HasMany)(() => msExecutive, {
|
|
130
|
-
sourceKey: "id"
|
|
131
|
-
})
|
|
132
|
-
], msExecutivePosition.prototype, "msExecutives", 2);
|
|
133
|
-
msExecutivePosition = __decorateClass([
|
|
134
|
-
(0, import_sequelize_typescript.Table)({
|
|
135
|
-
tableName: "ms_executive_position",
|
|
136
|
-
timestamps: false
|
|
137
|
-
})
|
|
138
|
-
], msExecutivePosition);
|
|
139
|
-
|
|
140
|
-
// src/databases/tables/msExecutive.ts
|
|
141
|
-
var msExecutive = class extends import_sequelize_typescript2.Model {
|
|
142
|
-
};
|
|
143
|
-
__decorateClass([
|
|
144
|
-
(0, import_sequelize_typescript2.Column)({
|
|
145
|
-
primaryKey: true,
|
|
146
|
-
autoIncrement: true,
|
|
147
|
-
type: import_sequelize_typescript2.DataType.INTEGER
|
|
148
|
-
})
|
|
149
|
-
], msExecutive.prototype, "id", 2);
|
|
150
|
-
__decorateClass([
|
|
151
|
-
(0, import_sequelize_typescript2.ForeignKey)(() => msExecutiveGroup),
|
|
152
|
-
(0, import_sequelize_typescript2.Column)({
|
|
153
|
-
field: "group_id",
|
|
154
|
-
allowNull: true,
|
|
155
|
-
type: import_sequelize_typescript2.DataType.INTEGER
|
|
156
|
-
})
|
|
157
54
|
], msExecutive.prototype, "groupId", 2);
|
|
158
55
|
__decorateClass([
|
|
159
|
-
(0,
|
|
56
|
+
(0, import_sequelize_typescript.Column)({
|
|
160
57
|
field: "level_id",
|
|
161
58
|
allowNull: true,
|
|
162
|
-
type:
|
|
59
|
+
type: import_sequelize_typescript.DataType.INTEGER
|
|
163
60
|
})
|
|
164
61
|
], msExecutive.prototype, "levelId", 2);
|
|
165
62
|
__decorateClass([
|
|
166
|
-
(0,
|
|
63
|
+
(0, import_sequelize_typescript.Column)({
|
|
167
64
|
field: "position_name",
|
|
168
65
|
allowNull: true,
|
|
169
|
-
type:
|
|
66
|
+
type: import_sequelize_typescript.DataType.STRING(255)
|
|
170
67
|
})
|
|
171
68
|
], msExecutive.prototype, "positionName", 2);
|
|
172
69
|
__decorateClass([
|
|
173
|
-
(0,
|
|
70
|
+
(0, import_sequelize_typescript.Column)({
|
|
174
71
|
field: "position_other",
|
|
175
72
|
allowNull: true,
|
|
176
|
-
type:
|
|
73
|
+
type: import_sequelize_typescript.DataType.STRING(255)
|
|
177
74
|
})
|
|
178
75
|
], msExecutive.prototype, "positionOther", 2);
|
|
179
76
|
__decorateClass([
|
|
180
|
-
(0,
|
|
77
|
+
(0, import_sequelize_typescript.Column)({
|
|
181
78
|
field: "title_id",
|
|
182
79
|
allowNull: true,
|
|
183
|
-
type:
|
|
80
|
+
type: import_sequelize_typescript.DataType.INTEGER
|
|
184
81
|
})
|
|
185
82
|
], msExecutive.prototype, "titleId", 2);
|
|
186
83
|
__decorateClass([
|
|
187
|
-
(0,
|
|
84
|
+
(0, import_sequelize_typescript.Column)({
|
|
188
85
|
field: "first_name",
|
|
189
86
|
allowNull: true,
|
|
190
|
-
type:
|
|
87
|
+
type: import_sequelize_typescript.DataType.STRING(255)
|
|
191
88
|
})
|
|
192
89
|
], msExecutive.prototype, "firstName", 2);
|
|
193
90
|
__decorateClass([
|
|
194
|
-
(0,
|
|
91
|
+
(0, import_sequelize_typescript.Column)({
|
|
195
92
|
field: "last_name",
|
|
196
93
|
allowNull: true,
|
|
197
|
-
type:
|
|
94
|
+
type: import_sequelize_typescript.DataType.STRING(255)
|
|
198
95
|
})
|
|
199
96
|
], msExecutive.prototype, "lastName", 2);
|
|
200
97
|
__decorateClass([
|
|
201
|
-
(0,
|
|
98
|
+
(0, import_sequelize_typescript.Column)({
|
|
202
99
|
allowNull: true,
|
|
203
|
-
type:
|
|
100
|
+
type: import_sequelize_typescript.DataType.STRING(255)
|
|
204
101
|
})
|
|
205
102
|
], msExecutive.prototype, "email", 2);
|
|
206
103
|
__decorateClass([
|
|
207
|
-
(0,
|
|
104
|
+
(0, import_sequelize_typescript.Column)({
|
|
208
105
|
allowNull: true,
|
|
209
|
-
type:
|
|
106
|
+
type: import_sequelize_typescript.DataType.STRING(255)
|
|
210
107
|
})
|
|
211
108
|
], msExecutive.prototype, "phone", 2);
|
|
212
109
|
__decorateClass([
|
|
213
|
-
(0,
|
|
110
|
+
(0, import_sequelize_typescript.Column)({
|
|
214
111
|
allowNull: true,
|
|
215
|
-
type:
|
|
112
|
+
type: import_sequelize_typescript.DataType.STRING(255)
|
|
216
113
|
})
|
|
217
114
|
], msExecutive.prototype, "fax", 2);
|
|
218
115
|
__decorateClass([
|
|
219
|
-
(0,
|
|
116
|
+
(0, import_sequelize_typescript.Column)({
|
|
220
117
|
allowNull: true,
|
|
221
|
-
type:
|
|
118
|
+
type: import_sequelize_typescript.DataType.STRING(255)
|
|
222
119
|
})
|
|
223
120
|
], msExecutive.prototype, "education", 2);
|
|
224
121
|
__decorateClass([
|
|
225
|
-
(0,
|
|
122
|
+
(0, import_sequelize_typescript.Column)({
|
|
226
123
|
allowNull: true,
|
|
227
|
-
type:
|
|
124
|
+
type: import_sequelize_typescript.DataType.STRING(255)
|
|
228
125
|
})
|
|
229
126
|
], msExecutive.prototype, "experience", 2);
|
|
230
127
|
__decorateClass([
|
|
231
|
-
(0,
|
|
128
|
+
(0, import_sequelize_typescript.Column)({
|
|
232
129
|
allowNull: true,
|
|
233
|
-
type:
|
|
130
|
+
type: import_sequelize_typescript.DataType.STRING(255)
|
|
234
131
|
})
|
|
235
132
|
], msExecutive.prototype, "image", 2);
|
|
236
133
|
__decorateClass([
|
|
237
|
-
(0,
|
|
134
|
+
(0, import_sequelize_typescript.Column)({
|
|
238
135
|
allowNull: true,
|
|
239
|
-
type:
|
|
136
|
+
type: import_sequelize_typescript.DataType.INTEGER
|
|
240
137
|
})
|
|
241
138
|
], msExecutive.prototype, "sort", 2);
|
|
242
139
|
__decorateClass([
|
|
243
|
-
(0,
|
|
140
|
+
(0, import_sequelize_typescript.Column)({
|
|
244
141
|
allowNull: true,
|
|
245
|
-
type:
|
|
142
|
+
type: import_sequelize_typescript.DataType.INTEGER
|
|
246
143
|
})
|
|
247
144
|
], msExecutive.prototype, "status", 2);
|
|
248
145
|
__decorateClass([
|
|
249
|
-
(0,
|
|
146
|
+
(0, import_sequelize_typescript.Column)({
|
|
250
147
|
allowNull: true,
|
|
251
|
-
type:
|
|
148
|
+
type: import_sequelize_typescript.DataType.JSON
|
|
252
149
|
})
|
|
253
150
|
], msExecutive.prototype, "info", 2);
|
|
254
151
|
__decorateClass([
|
|
255
|
-
(0,
|
|
152
|
+
(0, import_sequelize_typescript.Column)({
|
|
256
153
|
field: "created_by",
|
|
257
154
|
allowNull: true,
|
|
258
|
-
type:
|
|
155
|
+
type: import_sequelize_typescript.DataType.STRING(60)
|
|
259
156
|
})
|
|
260
157
|
], msExecutive.prototype, "createdBy", 2);
|
|
261
158
|
__decorateClass([
|
|
262
|
-
(0,
|
|
159
|
+
(0, import_sequelize_typescript.Column)({
|
|
263
160
|
field: "created_date",
|
|
264
161
|
allowNull: true,
|
|
265
|
-
type:
|
|
162
|
+
type: import_sequelize_typescript.DataType.DATE
|
|
266
163
|
})
|
|
267
164
|
], msExecutive.prototype, "createdDate", 2);
|
|
268
165
|
__decorateClass([
|
|
269
|
-
(0,
|
|
166
|
+
(0, import_sequelize_typescript.Column)({
|
|
270
167
|
field: "updated_by",
|
|
271
168
|
allowNull: true,
|
|
272
|
-
type:
|
|
169
|
+
type: import_sequelize_typescript.DataType.STRING(60)
|
|
273
170
|
})
|
|
274
171
|
], msExecutive.prototype, "updatedBy", 2);
|
|
275
172
|
__decorateClass([
|
|
276
|
-
(0,
|
|
173
|
+
(0, import_sequelize_typescript.Column)({
|
|
277
174
|
field: "updated_date",
|
|
278
175
|
allowNull: true,
|
|
279
|
-
type:
|
|
176
|
+
type: import_sequelize_typescript.DataType.DATE
|
|
280
177
|
})
|
|
281
178
|
], msExecutive.prototype, "updatedDate", 2);
|
|
282
179
|
__decorateClass([
|
|
283
|
-
(0,
|
|
284
|
-
(0, import_sequelize_typescript2.Column)({
|
|
180
|
+
(0, import_sequelize_typescript.Column)({
|
|
285
181
|
field: "position_id",
|
|
286
182
|
allowNull: true,
|
|
287
|
-
type:
|
|
183
|
+
type: import_sequelize_typescript.DataType.INTEGER
|
|
288
184
|
})
|
|
289
185
|
], msExecutive.prototype, "positionId", 2);
|
|
290
186
|
__decorateClass([
|
|
291
|
-
(0,
|
|
187
|
+
(0, import_sequelize_typescript.BelongsTo)(() => msExecutiveGroup)
|
|
292
188
|
], msExecutive.prototype, "msExecutiveGroup", 2);
|
|
293
|
-
__decorateClass([
|
|
294
|
-
(0, import_sequelize_typescript2.BelongsTo)(() => msExecutivePosition)
|
|
295
|
-
], msExecutive.prototype, "msExecutivePosition", 2);
|
|
296
189
|
msExecutive = __decorateClass([
|
|
297
|
-
(0,
|
|
190
|
+
(0, import_sequelize_typescript.Table)({
|
|
298
191
|
tableName: "ms_executive",
|
|
299
192
|
timestamps: false
|
|
300
193
|
})
|
|
301
194
|
], msExecutive);
|
|
302
195
|
|
|
303
196
|
// src/databases/tables/msExecutiveGroup.ts
|
|
304
|
-
var msExecutiveGroup = class extends
|
|
197
|
+
var msExecutiveGroup = class extends import_sequelize_typescript2.Model {
|
|
305
198
|
};
|
|
306
199
|
__decorateClass([
|
|
307
|
-
(0,
|
|
200
|
+
(0, import_sequelize_typescript2.Column)({
|
|
308
201
|
primaryKey: true,
|
|
309
202
|
autoIncrement: true,
|
|
310
|
-
type:
|
|
203
|
+
type: import_sequelize_typescript2.DataType.INTEGER
|
|
311
204
|
})
|
|
312
205
|
], msExecutiveGroup.prototype, "id", 2);
|
|
313
206
|
__decorateClass([
|
|
314
|
-
(0,
|
|
207
|
+
(0, import_sequelize_typescript2.Column)({
|
|
315
208
|
allowNull: true,
|
|
316
|
-
type:
|
|
209
|
+
type: import_sequelize_typescript2.DataType.STRING(60)
|
|
317
210
|
})
|
|
318
211
|
], msExecutiveGroup.prototype, "uuid", 2);
|
|
319
212
|
__decorateClass([
|
|
320
|
-
(0,
|
|
213
|
+
(0, import_sequelize_typescript2.Column)({
|
|
321
214
|
allowNull: true,
|
|
322
|
-
type:
|
|
215
|
+
type: import_sequelize_typescript2.DataType.INTEGER
|
|
323
216
|
})
|
|
324
217
|
], msExecutiveGroup.prototype, "type", 2);
|
|
325
218
|
__decorateClass([
|
|
326
|
-
(0,
|
|
219
|
+
(0, import_sequelize_typescript2.Column)({
|
|
327
220
|
allowNull: true,
|
|
328
|
-
type:
|
|
221
|
+
type: import_sequelize_typescript2.DataType.STRING(255)
|
|
329
222
|
})
|
|
330
223
|
], msExecutiveGroup.prototype, "name", 2);
|
|
331
224
|
__decorateClass([
|
|
332
|
-
(0,
|
|
225
|
+
(0, import_sequelize_typescript2.Column)({
|
|
333
226
|
allowNull: true,
|
|
334
|
-
type:
|
|
227
|
+
type: import_sequelize_typescript2.DataType.STRING(255)
|
|
335
228
|
})
|
|
336
229
|
], msExecutiveGroup.prototype, "description", 2);
|
|
337
230
|
__decorateClass([
|
|
338
|
-
(0,
|
|
231
|
+
(0, import_sequelize_typescript2.Column)({
|
|
339
232
|
field: "start_date",
|
|
340
233
|
allowNull: true,
|
|
341
|
-
type:
|
|
234
|
+
type: import_sequelize_typescript2.DataType.DATEONLY
|
|
342
235
|
})
|
|
343
236
|
], msExecutiveGroup.prototype, "startDate", 2);
|
|
344
237
|
__decorateClass([
|
|
345
|
-
(0,
|
|
238
|
+
(0, import_sequelize_typescript2.Column)({
|
|
346
239
|
field: "end_date",
|
|
347
240
|
allowNull: true,
|
|
348
|
-
type:
|
|
241
|
+
type: import_sequelize_typescript2.DataType.DATEONLY
|
|
349
242
|
})
|
|
350
243
|
], msExecutiveGroup.prototype, "endDate", 2);
|
|
351
244
|
__decorateClass([
|
|
352
|
-
(0,
|
|
245
|
+
(0, import_sequelize_typescript2.Column)({
|
|
353
246
|
allowNull: true,
|
|
354
|
-
type:
|
|
247
|
+
type: import_sequelize_typescript2.DataType.INTEGER
|
|
355
248
|
})
|
|
356
249
|
], msExecutiveGroup.prototype, "sort", 2);
|
|
357
250
|
__decorateClass([
|
|
358
|
-
(0,
|
|
251
|
+
(0, import_sequelize_typescript2.Column)({
|
|
359
252
|
allowNull: true,
|
|
360
|
-
type:
|
|
253
|
+
type: import_sequelize_typescript2.DataType.INTEGER
|
|
361
254
|
})
|
|
362
255
|
], msExecutiveGroup.prototype, "status", 2);
|
|
363
256
|
__decorateClass([
|
|
364
|
-
(0,
|
|
257
|
+
(0, import_sequelize_typescript2.Column)({
|
|
365
258
|
allowNull: true,
|
|
366
|
-
type:
|
|
259
|
+
type: import_sequelize_typescript2.DataType.JSON
|
|
367
260
|
})
|
|
368
261
|
], msExecutiveGroup.prototype, "info", 2);
|
|
369
262
|
__decorateClass([
|
|
370
|
-
(0,
|
|
263
|
+
(0, import_sequelize_typescript2.Column)({
|
|
371
264
|
field: "created_by",
|
|
372
265
|
allowNull: true,
|
|
373
|
-
type:
|
|
266
|
+
type: import_sequelize_typescript2.DataType.STRING(60)
|
|
374
267
|
})
|
|
375
268
|
], msExecutiveGroup.prototype, "createdBy", 2);
|
|
376
269
|
__decorateClass([
|
|
377
|
-
(0,
|
|
270
|
+
(0, import_sequelize_typescript2.Column)({
|
|
378
271
|
field: "created_date",
|
|
379
272
|
allowNull: true,
|
|
380
|
-
type:
|
|
273
|
+
type: import_sequelize_typescript2.DataType.DATE
|
|
381
274
|
})
|
|
382
275
|
], msExecutiveGroup.prototype, "createdDate", 2);
|
|
383
276
|
__decorateClass([
|
|
384
|
-
(0,
|
|
277
|
+
(0, import_sequelize_typescript2.Column)({
|
|
385
278
|
field: "updated_by",
|
|
386
279
|
allowNull: true,
|
|
387
|
-
type:
|
|
280
|
+
type: import_sequelize_typescript2.DataType.STRING(60)
|
|
388
281
|
})
|
|
389
282
|
], msExecutiveGroup.prototype, "updatedBy", 2);
|
|
390
283
|
__decorateClass([
|
|
391
|
-
(0,
|
|
284
|
+
(0, import_sequelize_typescript2.Column)({
|
|
392
285
|
field: "updated_date",
|
|
393
286
|
allowNull: true,
|
|
394
|
-
type:
|
|
287
|
+
type: import_sequelize_typescript2.DataType.DATE
|
|
395
288
|
})
|
|
396
289
|
], msExecutiveGroup.prototype, "updatedDate", 2);
|
|
397
290
|
__decorateClass([
|
|
398
|
-
(0,
|
|
291
|
+
(0, import_sequelize_typescript2.HasMany)(() => msExecutive, {
|
|
399
292
|
sourceKey: "id"
|
|
400
293
|
})
|
|
401
294
|
], msExecutiveGroup.prototype, "msExecutives", 2);
|
|
402
295
|
msExecutiveGroup = __decorateClass([
|
|
403
|
-
(0,
|
|
296
|
+
(0, import_sequelize_typescript2.Table)({
|
|
404
297
|
tableName: "ms_executive_group",
|
|
405
298
|
timestamps: false
|
|
406
299
|
})
|
|
@@ -1,2 +1,36 @@
|
|
|
1
|
-
import 'sequelize-typescript';
|
|
2
|
-
|
|
1
|
+
import { Model } from 'sequelize-typescript';
|
|
2
|
+
import { a as msExecutive } from '../../msExecutive-Yxx8Wpkj.js';
|
|
3
|
+
|
|
4
|
+
interface msExecutivePositionAttributes {
|
|
5
|
+
id?: number;
|
|
6
|
+
groupId?: number;
|
|
7
|
+
name?: string;
|
|
8
|
+
description?: string;
|
|
9
|
+
updatedInfo?: string;
|
|
10
|
+
remark?: string;
|
|
11
|
+
sort?: number;
|
|
12
|
+
status?: number;
|
|
13
|
+
info?: object;
|
|
14
|
+
createdBy?: string;
|
|
15
|
+
createdDate?: Date;
|
|
16
|
+
updatedBy?: string;
|
|
17
|
+
updatedDate?: Date;
|
|
18
|
+
}
|
|
19
|
+
declare class msExecutivePosition extends Model<msExecutivePositionAttributes, msExecutivePositionAttributes> implements msExecutivePositionAttributes {
|
|
20
|
+
id?: number;
|
|
21
|
+
groupId?: number;
|
|
22
|
+
name?: string;
|
|
23
|
+
description?: string;
|
|
24
|
+
updatedInfo?: string;
|
|
25
|
+
remark?: string;
|
|
26
|
+
sort?: number;
|
|
27
|
+
status?: number;
|
|
28
|
+
info?: object;
|
|
29
|
+
createdBy?: string;
|
|
30
|
+
createdDate?: Date;
|
|
31
|
+
updatedBy?: string;
|
|
32
|
+
updatedDate?: Date;
|
|
33
|
+
msExecutives?: msExecutive[];
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
export { msExecutivePosition, type msExecutivePositionAttributes };
|
|
@@ -286,7 +286,6 @@ __decorateClass([
|
|
|
286
286
|
})
|
|
287
287
|
], msExecutive.prototype, "updatedDate", 2);
|
|
288
288
|
__decorateClass([
|
|
289
|
-
(0, import_sequelize_typescript2.ForeignKey)(() => msExecutivePosition),
|
|
290
289
|
(0, import_sequelize_typescript2.Column)({
|
|
291
290
|
field: "position_id",
|
|
292
291
|
allowNull: true,
|
|
@@ -296,9 +295,6 @@ __decorateClass([
|
|
|
296
295
|
__decorateClass([
|
|
297
296
|
(0, import_sequelize_typescript2.BelongsTo)(() => msExecutiveGroup)
|
|
298
297
|
], msExecutive.prototype, "msExecutiveGroup", 2);
|
|
299
|
-
__decorateClass([
|
|
300
|
-
(0, import_sequelize_typescript2.BelongsTo)(() => msExecutivePosition)
|
|
301
|
-
], msExecutive.prototype, "msExecutivePosition", 2);
|
|
302
298
|
msExecutive = __decorateClass([
|
|
303
299
|
(0, import_sequelize_typescript2.Table)({
|
|
304
300
|
tableName: "ms_executive",
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import 'sequelize-typescript';
|
|
2
|
-
export { e as msWebsite, d as msWebsiteAttributes } from '../../appQueue-
|
|
2
|
+
export { e as msWebsite, d as msWebsiteAttributes } from '../../appQueue-BX509KRh.js';
|
|
@@ -311,6 +311,13 @@ __decorateClass([
|
|
|
311
311
|
type: import_sequelize_typescript2.DataType.INTEGER
|
|
312
312
|
})
|
|
313
313
|
], appQueue.prototype, "staffId", 2);
|
|
314
|
+
__decorateClass([
|
|
315
|
+
(0, import_sequelize_typescript2.Column)({
|
|
316
|
+
field: "staff_info",
|
|
317
|
+
allowNull: true,
|
|
318
|
+
type: import_sequelize_typescript2.DataType.JSON
|
|
319
|
+
})
|
|
320
|
+
], appQueue.prototype, "staffInfo", 2);
|
|
314
321
|
__decorateClass([
|
|
315
322
|
(0, import_sequelize_typescript2.Column)({
|
|
316
323
|
field: "staff_channel_id",
|
|
@@ -320,11 +327,11 @@ __decorateClass([
|
|
|
320
327
|
], appQueue.prototype, "staffChannelId", 2);
|
|
321
328
|
__decorateClass([
|
|
322
329
|
(0, import_sequelize_typescript2.Column)({
|
|
323
|
-
field: "
|
|
330
|
+
field: "staff_channel_info",
|
|
324
331
|
allowNull: true,
|
|
325
332
|
type: import_sequelize_typescript2.DataType.JSON
|
|
326
333
|
})
|
|
327
|
-
], appQueue.prototype, "
|
|
334
|
+
], appQueue.prototype, "staffChannelInfo", 2);
|
|
328
335
|
__decorateClass([
|
|
329
336
|
(0, import_sequelize_typescript2.Column)({
|
|
330
337
|
field: "staff_issues",
|
|
@@ -34,38 +34,6 @@ declare class msExecutiveGroup extends Model<msExecutiveGroupAttributes, msExecu
|
|
|
34
34
|
msExecutives?: msExecutive[];
|
|
35
35
|
}
|
|
36
36
|
|
|
37
|
-
interface msExecutivePositionAttributes {
|
|
38
|
-
id?: number;
|
|
39
|
-
groupId?: number;
|
|
40
|
-
name?: string;
|
|
41
|
-
description?: string;
|
|
42
|
-
updatedInfo?: string;
|
|
43
|
-
remark?: string;
|
|
44
|
-
sort?: number;
|
|
45
|
-
status?: number;
|
|
46
|
-
info?: object;
|
|
47
|
-
createdBy?: string;
|
|
48
|
-
createdDate?: Date;
|
|
49
|
-
updatedBy?: string;
|
|
50
|
-
updatedDate?: Date;
|
|
51
|
-
}
|
|
52
|
-
declare class msExecutivePosition extends Model<msExecutivePositionAttributes, msExecutivePositionAttributes> implements msExecutivePositionAttributes {
|
|
53
|
-
id?: number;
|
|
54
|
-
groupId?: number;
|
|
55
|
-
name?: string;
|
|
56
|
-
description?: string;
|
|
57
|
-
updatedInfo?: string;
|
|
58
|
-
remark?: string;
|
|
59
|
-
sort?: number;
|
|
60
|
-
status?: number;
|
|
61
|
-
info?: object;
|
|
62
|
-
createdBy?: string;
|
|
63
|
-
createdDate?: Date;
|
|
64
|
-
updatedBy?: string;
|
|
65
|
-
updatedDate?: Date;
|
|
66
|
-
msExecutives?: msExecutive[];
|
|
67
|
-
}
|
|
68
|
-
|
|
69
37
|
interface msExecutiveAttributes {
|
|
70
38
|
id?: number;
|
|
71
39
|
groupId?: number;
|
|
@@ -114,7 +82,6 @@ declare class msExecutive extends Model<msExecutiveAttributes, msExecutiveAttrib
|
|
|
114
82
|
updatedDate?: Date;
|
|
115
83
|
positionId?: number;
|
|
116
84
|
msExecutiveGroup?: msExecutiveGroup;
|
|
117
|
-
msExecutivePosition?: msExecutivePosition;
|
|
118
85
|
}
|
|
119
86
|
|
|
120
|
-
export { msExecutive as a, type msExecutiveGroupAttributes as b, msExecutiveGroup as c, type
|
|
87
|
+
export { msExecutive as a, type msExecutiveGroupAttributes as b, msExecutiveGroup as c, type msExecutiveAttributes as m };
|