@admc-go-th/admc-library 1.0.132 → 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/databases/schema/index.ts +0 -2
- package/databases/schema/msExecutive.ts +0 -5
- package/databases/tables/index.d.ts +1 -3
- package/databases/tables/index.js +430 -706
- 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/{msExecutive-BFeU4P0-.d.ts → msExecutive-Yxx8Wpkj.d.ts} +1 -34
- package/package.json +1 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import 'sequelize-typescript';
|
|
2
|
-
export { a as msExecutive, m as msExecutiveAttributes } from '../../msExecutive-
|
|
2
|
+
export { a as msExecutive, m as msExecutiveAttributes } from '../../msExecutive-Yxx8Wpkj.js';
|
|
@@ -31,7 +31,7 @@ __export(msExecutive_exports, {
|
|
|
31
31
|
msExecutive: () => msExecutive
|
|
32
32
|
});
|
|
33
33
|
module.exports = __toCommonJS(msExecutive_exports);
|
|
34
|
-
var
|
|
34
|
+
var import_sequelize_typescript2 = require("sequelize-typescript");
|
|
35
35
|
|
|
36
36
|
// src/databases/tables/msExecutiveGroup.ts
|
|
37
37
|
var import_sequelize_typescript = require("sequelize-typescript");
|
|
@@ -140,9 +140,8 @@ msExecutiveGroup = __decorateClass([
|
|
|
140
140
|
})
|
|
141
141
|
], msExecutiveGroup);
|
|
142
142
|
|
|
143
|
-
// src/databases/tables/
|
|
144
|
-
var
|
|
145
|
-
var msExecutivePosition = class extends import_sequelize_typescript2.Model {
|
|
143
|
+
// src/databases/tables/msExecutive.ts
|
|
144
|
+
var msExecutive = class extends import_sequelize_typescript2.Model {
|
|
146
145
|
};
|
|
147
146
|
__decorateClass([
|
|
148
147
|
(0, import_sequelize_typescript2.Column)({
|
|
@@ -150,255 +149,151 @@ __decorateClass([
|
|
|
150
149
|
autoIncrement: true,
|
|
151
150
|
type: import_sequelize_typescript2.DataType.INTEGER
|
|
152
151
|
})
|
|
153
|
-
],
|
|
152
|
+
], msExecutive.prototype, "id", 2);
|
|
154
153
|
__decorateClass([
|
|
154
|
+
(0, import_sequelize_typescript2.ForeignKey)(() => msExecutiveGroup),
|
|
155
155
|
(0, import_sequelize_typescript2.Column)({
|
|
156
156
|
field: "group_id",
|
|
157
157
|
allowNull: true,
|
|
158
158
|
type: import_sequelize_typescript2.DataType.INTEGER
|
|
159
159
|
})
|
|
160
|
-
], msExecutivePosition.prototype, "groupId", 2);
|
|
161
|
-
__decorateClass([
|
|
162
|
-
(0, import_sequelize_typescript2.Column)({
|
|
163
|
-
allowNull: true,
|
|
164
|
-
type: import_sequelize_typescript2.DataType.STRING(255)
|
|
165
|
-
})
|
|
166
|
-
], msExecutivePosition.prototype, "name", 2);
|
|
167
|
-
__decorateClass([
|
|
168
|
-
(0, import_sequelize_typescript2.Column)({
|
|
169
|
-
allowNull: true,
|
|
170
|
-
type: import_sequelize_typescript2.DataType.STRING(255)
|
|
171
|
-
})
|
|
172
|
-
], msExecutivePosition.prototype, "description", 2);
|
|
173
|
-
__decorateClass([
|
|
174
|
-
(0, import_sequelize_typescript2.Column)({
|
|
175
|
-
field: "updated_info",
|
|
176
|
-
allowNull: true,
|
|
177
|
-
type: import_sequelize_typescript2.DataType.STRING(255)
|
|
178
|
-
})
|
|
179
|
-
], msExecutivePosition.prototype, "updatedInfo", 2);
|
|
180
|
-
__decorateClass([
|
|
181
|
-
(0, import_sequelize_typescript2.Column)({
|
|
182
|
-
allowNull: true,
|
|
183
|
-
type: import_sequelize_typescript2.DataType.STRING
|
|
184
|
-
})
|
|
185
|
-
], msExecutivePosition.prototype, "remark", 2);
|
|
186
|
-
__decorateClass([
|
|
187
|
-
(0, import_sequelize_typescript2.Column)({
|
|
188
|
-
allowNull: true,
|
|
189
|
-
type: import_sequelize_typescript2.DataType.INTEGER
|
|
190
|
-
})
|
|
191
|
-
], msExecutivePosition.prototype, "sort", 2);
|
|
192
|
-
__decorateClass([
|
|
193
|
-
(0, import_sequelize_typescript2.Column)({
|
|
194
|
-
allowNull: true,
|
|
195
|
-
type: import_sequelize_typescript2.DataType.INTEGER
|
|
196
|
-
})
|
|
197
|
-
], msExecutivePosition.prototype, "status", 2);
|
|
198
|
-
__decorateClass([
|
|
199
|
-
(0, import_sequelize_typescript2.Column)({
|
|
200
|
-
allowNull: true,
|
|
201
|
-
type: import_sequelize_typescript2.DataType.JSON
|
|
202
|
-
})
|
|
203
|
-
], msExecutivePosition.prototype, "info", 2);
|
|
204
|
-
__decorateClass([
|
|
205
|
-
(0, import_sequelize_typescript2.Column)({
|
|
206
|
-
field: "created_by",
|
|
207
|
-
allowNull: true,
|
|
208
|
-
type: import_sequelize_typescript2.DataType.STRING(60)
|
|
209
|
-
})
|
|
210
|
-
], msExecutivePosition.prototype, "createdBy", 2);
|
|
211
|
-
__decorateClass([
|
|
212
|
-
(0, import_sequelize_typescript2.Column)({
|
|
213
|
-
field: "created_date",
|
|
214
|
-
allowNull: true,
|
|
215
|
-
type: import_sequelize_typescript2.DataType.DATE
|
|
216
|
-
})
|
|
217
|
-
], msExecutivePosition.prototype, "createdDate", 2);
|
|
218
|
-
__decorateClass([
|
|
219
|
-
(0, import_sequelize_typescript2.Column)({
|
|
220
|
-
field: "updated_by",
|
|
221
|
-
allowNull: true,
|
|
222
|
-
type: import_sequelize_typescript2.DataType.STRING(60)
|
|
223
|
-
})
|
|
224
|
-
], msExecutivePosition.prototype, "updatedBy", 2);
|
|
225
|
-
__decorateClass([
|
|
226
|
-
(0, import_sequelize_typescript2.Column)({
|
|
227
|
-
field: "updated_date",
|
|
228
|
-
allowNull: true,
|
|
229
|
-
type: import_sequelize_typescript2.DataType.DATE
|
|
230
|
-
})
|
|
231
|
-
], msExecutivePosition.prototype, "updatedDate", 2);
|
|
232
|
-
__decorateClass([
|
|
233
|
-
(0, import_sequelize_typescript2.HasMany)(() => msExecutive, {
|
|
234
|
-
sourceKey: "id"
|
|
235
|
-
})
|
|
236
|
-
], msExecutivePosition.prototype, "msExecutives", 2);
|
|
237
|
-
msExecutivePosition = __decorateClass([
|
|
238
|
-
(0, import_sequelize_typescript2.Table)({
|
|
239
|
-
tableName: "ms_executive_position",
|
|
240
|
-
timestamps: false
|
|
241
|
-
})
|
|
242
|
-
], msExecutivePosition);
|
|
243
|
-
|
|
244
|
-
// src/databases/tables/msExecutive.ts
|
|
245
|
-
var msExecutive = class extends import_sequelize_typescript3.Model {
|
|
246
|
-
};
|
|
247
|
-
__decorateClass([
|
|
248
|
-
(0, import_sequelize_typescript3.Column)({
|
|
249
|
-
primaryKey: true,
|
|
250
|
-
autoIncrement: true,
|
|
251
|
-
type: import_sequelize_typescript3.DataType.INTEGER
|
|
252
|
-
})
|
|
253
|
-
], msExecutive.prototype, "id", 2);
|
|
254
|
-
__decorateClass([
|
|
255
|
-
(0, import_sequelize_typescript3.ForeignKey)(() => msExecutiveGroup),
|
|
256
|
-
(0, import_sequelize_typescript3.Column)({
|
|
257
|
-
field: "group_id",
|
|
258
|
-
allowNull: true,
|
|
259
|
-
type: import_sequelize_typescript3.DataType.INTEGER
|
|
260
|
-
})
|
|
261
160
|
], msExecutive.prototype, "groupId", 2);
|
|
262
161
|
__decorateClass([
|
|
263
|
-
(0,
|
|
162
|
+
(0, import_sequelize_typescript2.Column)({
|
|
264
163
|
field: "level_id",
|
|
265
164
|
allowNull: true,
|
|
266
|
-
type:
|
|
165
|
+
type: import_sequelize_typescript2.DataType.INTEGER
|
|
267
166
|
})
|
|
268
167
|
], msExecutive.prototype, "levelId", 2);
|
|
269
168
|
__decorateClass([
|
|
270
|
-
(0,
|
|
169
|
+
(0, import_sequelize_typescript2.Column)({
|
|
271
170
|
field: "position_name",
|
|
272
171
|
allowNull: true,
|
|
273
|
-
type:
|
|
172
|
+
type: import_sequelize_typescript2.DataType.STRING(255)
|
|
274
173
|
})
|
|
275
174
|
], msExecutive.prototype, "positionName", 2);
|
|
276
175
|
__decorateClass([
|
|
277
|
-
(0,
|
|
176
|
+
(0, import_sequelize_typescript2.Column)({
|
|
278
177
|
field: "position_other",
|
|
279
178
|
allowNull: true,
|
|
280
|
-
type:
|
|
179
|
+
type: import_sequelize_typescript2.DataType.STRING(255)
|
|
281
180
|
})
|
|
282
181
|
], msExecutive.prototype, "positionOther", 2);
|
|
283
182
|
__decorateClass([
|
|
284
|
-
(0,
|
|
183
|
+
(0, import_sequelize_typescript2.Column)({
|
|
285
184
|
field: "title_id",
|
|
286
185
|
allowNull: true,
|
|
287
|
-
type:
|
|
186
|
+
type: import_sequelize_typescript2.DataType.INTEGER
|
|
288
187
|
})
|
|
289
188
|
], msExecutive.prototype, "titleId", 2);
|
|
290
189
|
__decorateClass([
|
|
291
|
-
(0,
|
|
190
|
+
(0, import_sequelize_typescript2.Column)({
|
|
292
191
|
field: "first_name",
|
|
293
192
|
allowNull: true,
|
|
294
|
-
type:
|
|
193
|
+
type: import_sequelize_typescript2.DataType.STRING(255)
|
|
295
194
|
})
|
|
296
195
|
], msExecutive.prototype, "firstName", 2);
|
|
297
196
|
__decorateClass([
|
|
298
|
-
(0,
|
|
197
|
+
(0, import_sequelize_typescript2.Column)({
|
|
299
198
|
field: "last_name",
|
|
300
199
|
allowNull: true,
|
|
301
|
-
type:
|
|
200
|
+
type: import_sequelize_typescript2.DataType.STRING(255)
|
|
302
201
|
})
|
|
303
202
|
], msExecutive.prototype, "lastName", 2);
|
|
304
203
|
__decorateClass([
|
|
305
|
-
(0,
|
|
204
|
+
(0, import_sequelize_typescript2.Column)({
|
|
306
205
|
allowNull: true,
|
|
307
|
-
type:
|
|
206
|
+
type: import_sequelize_typescript2.DataType.STRING(255)
|
|
308
207
|
})
|
|
309
208
|
], msExecutive.prototype, "email", 2);
|
|
310
209
|
__decorateClass([
|
|
311
|
-
(0,
|
|
210
|
+
(0, import_sequelize_typescript2.Column)({
|
|
312
211
|
allowNull: true,
|
|
313
|
-
type:
|
|
212
|
+
type: import_sequelize_typescript2.DataType.STRING(255)
|
|
314
213
|
})
|
|
315
214
|
], msExecutive.prototype, "phone", 2);
|
|
316
215
|
__decorateClass([
|
|
317
|
-
(0,
|
|
216
|
+
(0, import_sequelize_typescript2.Column)({
|
|
318
217
|
allowNull: true,
|
|
319
|
-
type:
|
|
218
|
+
type: import_sequelize_typescript2.DataType.STRING(255)
|
|
320
219
|
})
|
|
321
220
|
], msExecutive.prototype, "fax", 2);
|
|
322
221
|
__decorateClass([
|
|
323
|
-
(0,
|
|
222
|
+
(0, import_sequelize_typescript2.Column)({
|
|
324
223
|
allowNull: true,
|
|
325
|
-
type:
|
|
224
|
+
type: import_sequelize_typescript2.DataType.STRING(255)
|
|
326
225
|
})
|
|
327
226
|
], msExecutive.prototype, "education", 2);
|
|
328
227
|
__decorateClass([
|
|
329
|
-
(0,
|
|
228
|
+
(0, import_sequelize_typescript2.Column)({
|
|
330
229
|
allowNull: true,
|
|
331
|
-
type:
|
|
230
|
+
type: import_sequelize_typescript2.DataType.STRING(255)
|
|
332
231
|
})
|
|
333
232
|
], msExecutive.prototype, "experience", 2);
|
|
334
233
|
__decorateClass([
|
|
335
|
-
(0,
|
|
234
|
+
(0, import_sequelize_typescript2.Column)({
|
|
336
235
|
allowNull: true,
|
|
337
|
-
type:
|
|
236
|
+
type: import_sequelize_typescript2.DataType.STRING(255)
|
|
338
237
|
})
|
|
339
238
|
], msExecutive.prototype, "image", 2);
|
|
340
239
|
__decorateClass([
|
|
341
|
-
(0,
|
|
240
|
+
(0, import_sequelize_typescript2.Column)({
|
|
342
241
|
allowNull: true,
|
|
343
|
-
type:
|
|
242
|
+
type: import_sequelize_typescript2.DataType.INTEGER
|
|
344
243
|
})
|
|
345
244
|
], msExecutive.prototype, "sort", 2);
|
|
346
245
|
__decorateClass([
|
|
347
|
-
(0,
|
|
246
|
+
(0, import_sequelize_typescript2.Column)({
|
|
348
247
|
allowNull: true,
|
|
349
|
-
type:
|
|
248
|
+
type: import_sequelize_typescript2.DataType.INTEGER
|
|
350
249
|
})
|
|
351
250
|
], msExecutive.prototype, "status", 2);
|
|
352
251
|
__decorateClass([
|
|
353
|
-
(0,
|
|
252
|
+
(0, import_sequelize_typescript2.Column)({
|
|
354
253
|
allowNull: true,
|
|
355
|
-
type:
|
|
254
|
+
type: import_sequelize_typescript2.DataType.JSON
|
|
356
255
|
})
|
|
357
256
|
], msExecutive.prototype, "info", 2);
|
|
358
257
|
__decorateClass([
|
|
359
|
-
(0,
|
|
258
|
+
(0, import_sequelize_typescript2.Column)({
|
|
360
259
|
field: "created_by",
|
|
361
260
|
allowNull: true,
|
|
362
|
-
type:
|
|
261
|
+
type: import_sequelize_typescript2.DataType.STRING(60)
|
|
363
262
|
})
|
|
364
263
|
], msExecutive.prototype, "createdBy", 2);
|
|
365
264
|
__decorateClass([
|
|
366
|
-
(0,
|
|
265
|
+
(0, import_sequelize_typescript2.Column)({
|
|
367
266
|
field: "created_date",
|
|
368
267
|
allowNull: true,
|
|
369
|
-
type:
|
|
268
|
+
type: import_sequelize_typescript2.DataType.DATE
|
|
370
269
|
})
|
|
371
270
|
], msExecutive.prototype, "createdDate", 2);
|
|
372
271
|
__decorateClass([
|
|
373
|
-
(0,
|
|
272
|
+
(0, import_sequelize_typescript2.Column)({
|
|
374
273
|
field: "updated_by",
|
|
375
274
|
allowNull: true,
|
|
376
|
-
type:
|
|
275
|
+
type: import_sequelize_typescript2.DataType.STRING(60)
|
|
377
276
|
})
|
|
378
277
|
], msExecutive.prototype, "updatedBy", 2);
|
|
379
278
|
__decorateClass([
|
|
380
|
-
(0,
|
|
279
|
+
(0, import_sequelize_typescript2.Column)({
|
|
381
280
|
field: "updated_date",
|
|
382
281
|
allowNull: true,
|
|
383
|
-
type:
|
|
282
|
+
type: import_sequelize_typescript2.DataType.DATE
|
|
384
283
|
})
|
|
385
284
|
], msExecutive.prototype, "updatedDate", 2);
|
|
386
285
|
__decorateClass([
|
|
387
|
-
(0,
|
|
388
|
-
(0, import_sequelize_typescript3.Column)({
|
|
286
|
+
(0, import_sequelize_typescript2.Column)({
|
|
389
287
|
field: "position_id",
|
|
390
288
|
allowNull: true,
|
|
391
|
-
type:
|
|
289
|
+
type: import_sequelize_typescript2.DataType.INTEGER
|
|
392
290
|
})
|
|
393
291
|
], msExecutive.prototype, "positionId", 2);
|
|
394
292
|
__decorateClass([
|
|
395
|
-
(0,
|
|
293
|
+
(0, import_sequelize_typescript2.BelongsTo)(() => msExecutiveGroup)
|
|
396
294
|
], msExecutive.prototype, "msExecutiveGroup", 2);
|
|
397
|
-
__decorateClass([
|
|
398
|
-
(0, import_sequelize_typescript3.BelongsTo)(() => msExecutivePosition)
|
|
399
|
-
], msExecutive.prototype, "msExecutivePosition", 2);
|
|
400
295
|
msExecutive = __decorateClass([
|
|
401
|
-
(0,
|
|
296
|
+
(0, import_sequelize_typescript2.Table)({
|
|
402
297
|
tableName: "ms_executive",
|
|
403
298
|
timestamps: false
|
|
404
299
|
})
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import 'sequelize-typescript';
|
|
2
|
-
export { c as msExecutiveGroup, b as msExecutiveGroupAttributes } from '../../msExecutive-
|
|
2
|
+
export { c as msExecutiveGroup, b as msExecutiveGroupAttributes } from '../../msExecutive-Yxx8Wpkj.js';
|