@admc-go-th/admc-library 1.0.130 → 1.0.133
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-QJ9ECucz.d.ts → appQueue-HW5J6Gb9.d.ts} +6 -2
- package/{authAssignment-BAUCoEP6.d.ts → authAssignment-De3034JH.d.ts} +16 -0
- package/databases/schema/appQueue.ts +24 -8
- package/databases/schema/appScore.ts +8 -0
- package/databases/schema/formFaq.ts +126 -126
- package/databases/schema/index.ts +8 -5
- package/databases/schema/informationIndex.ts +211 -211
- package/databases/schema/informationIndexGroup.ts +103 -103
- package/databases/schema/mdDownloadBk.ts +136 -136
- package/databases/schema/msConsultCase.ts +0 -8
- package/databases/schema/msConsultSiteCase.ts +91 -0
- package/databases/schema/msConsultSiteIssue.ts +84 -0
- package/databases/schema/msExecutive.ts +0 -5
- package/databases/schema/msExecutiveActing.ts +75 -0
- package/databases/schema/msExecutiveBoard.ts +82 -82
- package/databases/schema/msExecutiveBoardBk.ts +83 -0
- package/databases/schema/msExecutivePosition.ts +117 -117
- package/databases/schema/msExecutivePositionBk.ts +112 -0
- package/databases/schema/msGuidelines.ts +88 -88
- package/databases/schema/msOrganization.ts +139 -0
- package/databases/schema/msPosition.ts +76 -0
- package/databases/schema/msQueueTourFaq.ts +90 -0
- package/databases/schema/msQueueTourGuidelines.ts +90 -0
- package/databases/schema/setting.ts +73 -73
- package/databases/schema/userPermissionV.ts +78 -0
- package/databases/schema/users.ts +62 -0
- package/databases/tables/appQueue.d.ts +1 -1
- package/databases/tables/appQueue.js +21 -7
- package/databases/tables/appScore.d.ts +2 -0
- package/databases/tables/appScore.js +7 -0
- package/databases/tables/authAssignment.d.ts +1 -1
- package/databases/tables/authAssignment.js +54 -0
- package/databases/tables/authRole.d.ts +1 -1
- package/databases/tables/authRole.js +54 -0
- package/databases/tables/authRoleChild.d.ts +1 -1
- package/databases/tables/authRoleChild.js +54 -0
- package/databases/tables/index.d.ts +11 -7
- package/databases/tables/index.js +942 -690
- package/databases/tables/mdContent.d.ts +1 -1
- package/databases/tables/mdContent.js +54 -0
- package/databases/tables/mdContentGroup.d.ts +1 -1
- package/databases/tables/mdContentGroup.js +54 -0
- package/databases/tables/mdQuestionnaire.d.ts +1 -1
- package/databases/tables/mdQuestionnaire.js +54 -0
- package/databases/tables/mdQuestionnaireData.d.ts +1 -1
- package/databases/tables/mdQuestionnaireData.js +54 -0
- package/databases/tables/msConsultCase.d.ts +0 -2
- package/databases/tables/msConsultCase.js +0 -7
- package/databases/tables/msConsultChannels.d.ts +1 -1
- package/databases/tables/msConsultChannels.js +21 -7
- package/databases/tables/msConsultSiteCase.d.ts +28 -0
- package/databases/tables/msConsultSiteCase.js +113 -0
- package/databases/tables/msConsultSiteIssue.d.ts +26 -0
- package/databases/tables/msConsultSiteIssue.js +107 -0
- package/databases/tables/msExecutive.d.ts +1 -1
- package/databases/tables/msExecutive.js +47 -152
- package/databases/tables/msExecutiveActing.d.ts +24 -0
- package/databases/tables/msExecutiveActing.js +99 -0
- package/databases/tables/msExecutiveBoardBk.d.ts +26 -0
- package/databases/tables/msExecutiveBoardBk.js +106 -0
- 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/msExecutivePositionBk.d.ts +34 -0
- package/databases/tables/msExecutivePositionBk.js +131 -0
- package/databases/tables/msOrganization.d.ts +40 -0
- package/databases/tables/msOrganization.js +155 -0
- package/databases/tables/msPosition.d.ts +24 -0
- package/databases/tables/msPosition.js +100 -0
- package/databases/tables/msQueueTourFaq.d.ts +28 -0
- package/databases/tables/msQueueTourFaq.js +112 -0
- package/databases/tables/msQueueTourGuidelines.d.ts +28 -0
- package/databases/tables/msQueueTourGuidelines.js +112 -0
- package/databases/tables/msWebsite.d.ts +1 -1
- package/databases/tables/msWebsite.js +21 -7
- package/databases/tables/userPermissionV.d.ts +26 -0
- package/databases/tables/userPermissionV.js +101 -0
- package/databases/tables/users.d.ts +1 -1
- package/databases/tables/users.js +54 -0
- package/databases/tables/usersVerify.d.ts +1 -1
- package/databases/tables/usersVerify.js +54 -0
- 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",
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { Model } from 'sequelize-typescript';
|
|
2
|
+
|
|
3
|
+
interface msExecutivePositionBkAttributes {
|
|
4
|
+
id?: number;
|
|
5
|
+
groupId?: number;
|
|
6
|
+
name?: string;
|
|
7
|
+
description?: string;
|
|
8
|
+
updatedInfo?: string;
|
|
9
|
+
remark?: string;
|
|
10
|
+
sort?: number;
|
|
11
|
+
status?: number;
|
|
12
|
+
info?: object;
|
|
13
|
+
createdBy?: string;
|
|
14
|
+
createdDate?: Date;
|
|
15
|
+
updatedBy?: string;
|
|
16
|
+
updatedDate?: Date;
|
|
17
|
+
}
|
|
18
|
+
declare class msExecutivePositionBk extends Model<msExecutivePositionBkAttributes, msExecutivePositionBkAttributes> implements msExecutivePositionBkAttributes {
|
|
19
|
+
id?: number;
|
|
20
|
+
groupId?: number;
|
|
21
|
+
name?: string;
|
|
22
|
+
description?: string;
|
|
23
|
+
updatedInfo?: string;
|
|
24
|
+
remark?: string;
|
|
25
|
+
sort?: number;
|
|
26
|
+
status?: number;
|
|
27
|
+
info?: object;
|
|
28
|
+
createdBy?: string;
|
|
29
|
+
createdDate?: Date;
|
|
30
|
+
updatedBy?: string;
|
|
31
|
+
updatedDate?: Date;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
export { msExecutivePositionBk, type msExecutivePositionBkAttributes };
|
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
var __decorateClass = (decorators, target, key, kind) => {
|
|
20
|
+
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc(target, key) : target;
|
|
21
|
+
for (var i = decorators.length - 1, decorator; i >= 0; i--)
|
|
22
|
+
if (decorator = decorators[i])
|
|
23
|
+
result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
|
24
|
+
if (kind && result) __defProp(target, key, result);
|
|
25
|
+
return result;
|
|
26
|
+
};
|
|
27
|
+
|
|
28
|
+
// src/databases/tables/msExecutivePositionBk.ts
|
|
29
|
+
var msExecutivePositionBk_exports = {};
|
|
30
|
+
__export(msExecutivePositionBk_exports, {
|
|
31
|
+
msExecutivePositionBk: () => msExecutivePositionBk
|
|
32
|
+
});
|
|
33
|
+
module.exports = __toCommonJS(msExecutivePositionBk_exports);
|
|
34
|
+
var import_sequelize_typescript = require("sequelize-typescript");
|
|
35
|
+
var msExecutivePositionBk = class extends import_sequelize_typescript.Model {
|
|
36
|
+
};
|
|
37
|
+
__decorateClass([
|
|
38
|
+
(0, import_sequelize_typescript.Column)({
|
|
39
|
+
primaryKey: true,
|
|
40
|
+
autoIncrement: true,
|
|
41
|
+
type: import_sequelize_typescript.DataType.INTEGER
|
|
42
|
+
})
|
|
43
|
+
], msExecutivePositionBk.prototype, "id", 2);
|
|
44
|
+
__decorateClass([
|
|
45
|
+
(0, import_sequelize_typescript.Column)({
|
|
46
|
+
field: "group_id",
|
|
47
|
+
allowNull: true,
|
|
48
|
+
type: import_sequelize_typescript.DataType.INTEGER
|
|
49
|
+
})
|
|
50
|
+
], msExecutivePositionBk.prototype, "groupId", 2);
|
|
51
|
+
__decorateClass([
|
|
52
|
+
(0, import_sequelize_typescript.Column)({
|
|
53
|
+
allowNull: true,
|
|
54
|
+
type: import_sequelize_typescript.DataType.STRING(255)
|
|
55
|
+
})
|
|
56
|
+
], msExecutivePositionBk.prototype, "name", 2);
|
|
57
|
+
__decorateClass([
|
|
58
|
+
(0, import_sequelize_typescript.Column)({
|
|
59
|
+
allowNull: true,
|
|
60
|
+
type: import_sequelize_typescript.DataType.STRING(255)
|
|
61
|
+
})
|
|
62
|
+
], msExecutivePositionBk.prototype, "description", 2);
|
|
63
|
+
__decorateClass([
|
|
64
|
+
(0, import_sequelize_typescript.Column)({
|
|
65
|
+
field: "updated_info",
|
|
66
|
+
allowNull: true,
|
|
67
|
+
type: import_sequelize_typescript.DataType.STRING(255)
|
|
68
|
+
})
|
|
69
|
+
], msExecutivePositionBk.prototype, "updatedInfo", 2);
|
|
70
|
+
__decorateClass([
|
|
71
|
+
(0, import_sequelize_typescript.Column)({
|
|
72
|
+
allowNull: true,
|
|
73
|
+
type: import_sequelize_typescript.DataType.STRING
|
|
74
|
+
})
|
|
75
|
+
], msExecutivePositionBk.prototype, "remark", 2);
|
|
76
|
+
__decorateClass([
|
|
77
|
+
(0, import_sequelize_typescript.Column)({
|
|
78
|
+
allowNull: true,
|
|
79
|
+
type: import_sequelize_typescript.DataType.INTEGER
|
|
80
|
+
})
|
|
81
|
+
], msExecutivePositionBk.prototype, "sort", 2);
|
|
82
|
+
__decorateClass([
|
|
83
|
+
(0, import_sequelize_typescript.Column)({
|
|
84
|
+
allowNull: true,
|
|
85
|
+
type: import_sequelize_typescript.DataType.INTEGER
|
|
86
|
+
})
|
|
87
|
+
], msExecutivePositionBk.prototype, "status", 2);
|
|
88
|
+
__decorateClass([
|
|
89
|
+
(0, import_sequelize_typescript.Column)({
|
|
90
|
+
allowNull: true,
|
|
91
|
+
type: import_sequelize_typescript.DataType.JSON
|
|
92
|
+
})
|
|
93
|
+
], msExecutivePositionBk.prototype, "info", 2);
|
|
94
|
+
__decorateClass([
|
|
95
|
+
(0, import_sequelize_typescript.Column)({
|
|
96
|
+
field: "created_by",
|
|
97
|
+
allowNull: true,
|
|
98
|
+
type: import_sequelize_typescript.DataType.STRING(60)
|
|
99
|
+
})
|
|
100
|
+
], msExecutivePositionBk.prototype, "createdBy", 2);
|
|
101
|
+
__decorateClass([
|
|
102
|
+
(0, import_sequelize_typescript.Column)({
|
|
103
|
+
field: "created_date",
|
|
104
|
+
allowNull: true,
|
|
105
|
+
type: import_sequelize_typescript.DataType.DATE
|
|
106
|
+
})
|
|
107
|
+
], msExecutivePositionBk.prototype, "createdDate", 2);
|
|
108
|
+
__decorateClass([
|
|
109
|
+
(0, import_sequelize_typescript.Column)({
|
|
110
|
+
field: "updated_by",
|
|
111
|
+
allowNull: true,
|
|
112
|
+
type: import_sequelize_typescript.DataType.STRING(60)
|
|
113
|
+
})
|
|
114
|
+
], msExecutivePositionBk.prototype, "updatedBy", 2);
|
|
115
|
+
__decorateClass([
|
|
116
|
+
(0, import_sequelize_typescript.Column)({
|
|
117
|
+
field: "updated_date",
|
|
118
|
+
allowNull: true,
|
|
119
|
+
type: import_sequelize_typescript.DataType.DATE
|
|
120
|
+
})
|
|
121
|
+
], msExecutivePositionBk.prototype, "updatedDate", 2);
|
|
122
|
+
msExecutivePositionBk = __decorateClass([
|
|
123
|
+
(0, import_sequelize_typescript.Table)({
|
|
124
|
+
tableName: "ms_executive_position@bk",
|
|
125
|
+
timestamps: false
|
|
126
|
+
})
|
|
127
|
+
], msExecutivePositionBk);
|
|
128
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
129
|
+
0 && (module.exports = {
|
|
130
|
+
msExecutivePositionBk
|
|
131
|
+
});
|