@admc-go-th/admc-library 1.0.118 → 1.0.120

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.
Files changed (46) hide show
  1. package/databases/schema/index.ts +1 -0
  2. package/databases/schema/mdApplication.ts +208 -0
  3. package/databases/schema/mdDownloadGroup.ts +7 -0
  4. package/databases/schema/mdEbookGroup.ts +7 -0
  5. package/databases/schema/mdFaqGroup.ts +7 -0
  6. package/databases/schema/mdNewsGroup.ts +7 -0
  7. package/databases/schema/msExecutive.ts +15 -7
  8. package/databases/schema/msExecutivePosition.ts +23 -0
  9. package/databases/schema/recruitment.ts +15 -0
  10. package/databases/tables/index.d.ts +7 -6
  11. package/databases/tables/index.js +1632 -1387
  12. package/databases/tables/mdApplication.d.ts +60 -0
  13. package/databases/tables/mdApplication.js +214 -0
  14. package/databases/tables/mdDownload.d.ts +1 -1
  15. package/databases/tables/mdDownload.js +6 -0
  16. package/databases/tables/mdDownloadGroup.d.ts +1 -1
  17. package/databases/tables/mdDownloadGroup.js +6 -0
  18. package/databases/tables/mdEbook.d.ts +1 -1
  19. package/databases/tables/mdEbook.js +6 -0
  20. package/databases/tables/mdEbookGroup.d.ts +1 -1
  21. package/databases/tables/mdEbookGroup.js +6 -0
  22. package/databases/tables/mdFaq.d.ts +1 -1
  23. package/databases/tables/mdFaq.js +6 -0
  24. package/databases/tables/mdFaqGroup.d.ts +1 -1
  25. package/databases/tables/mdFaqGroup.js +6 -0
  26. package/databases/tables/mdNews.d.ts +1 -1
  27. package/databases/tables/mdNews.js +6 -0
  28. package/databases/tables/mdNewsGroup.d.ts +1 -1
  29. package/databases/tables/mdNewsGroup.js +6 -0
  30. package/databases/tables/msExecutive.d.ts +1 -1
  31. package/databases/tables/msExecutive.js +31 -4
  32. package/databases/tables/msExecutiveGroup.d.ts +1 -1
  33. package/databases/tables/msExecutiveGroup.js +31 -4
  34. package/databases/tables/msExecutivePosition.d.ts +1 -1
  35. package/databases/tables/msExecutivePosition.js +31 -4
  36. package/databases/tables/recruitment.d.ts +1 -1
  37. package/databases/tables/recruitment.js +13 -0
  38. package/databases/tables/recruitmentGroup.d.ts +1 -1
  39. package/databases/tables/recruitmentGroup.js +13 -0
  40. package/{mdDownload-RICzliX6.d.ts → mdDownload-CCc6eto7.d.ts} +2 -0
  41. package/{mdEbook-CAvTi5ia.d.ts → mdEbook-BqC65Ujw.d.ts} +2 -0
  42. package/{mdFaq-Cg-D362f.d.ts → mdFaq-CHIPG3yZ.d.ts} +2 -0
  43. package/{mdNews-AU_zz7jr.d.ts → mdNews-DfHz7Ajk.d.ts} +2 -0
  44. package/{msExecutive-1j_DcKu7.d.ts → msExecutive-B7lTHxSZ.d.ts} +12 -4
  45. package/package.json +1 -1
  46. package/{recruitment-DmJeINPg.d.ts → recruitment-5Pi7YA8x.d.ts} +4 -0
@@ -0,0 +1,60 @@
1
+ import { Model } from 'sequelize-typescript';
2
+
3
+ interface mdApplicationAttributes {
4
+ id?: number;
5
+ uuid?: string;
6
+ keyName?: string;
7
+ title?: string;
8
+ description?: string;
9
+ imageCover?: string;
10
+ fileUuid?: string;
11
+ attachments?: object;
12
+ url1?: string;
13
+ target1?: string;
14
+ url2?: string;
15
+ target2?: any;
16
+ url3?: string;
17
+ target3?: string;
18
+ url4?: string;
19
+ target4?: string;
20
+ sort?: number;
21
+ status?: number;
22
+ view?: number;
23
+ hasExpire?: number;
24
+ startDate?: Date;
25
+ expireDate?: Date;
26
+ createdBy?: string;
27
+ createdDate?: Date;
28
+ updatedBy?: string;
29
+ updatedDate?: Date;
30
+ }
31
+ declare class mdApplication extends Model<mdApplicationAttributes, mdApplicationAttributes> implements mdApplicationAttributes {
32
+ id?: number;
33
+ uuid?: string;
34
+ keyName?: string;
35
+ title?: string;
36
+ description?: string;
37
+ imageCover?: string;
38
+ fileUuid?: string;
39
+ attachments?: object;
40
+ url1?: string;
41
+ target1?: string;
42
+ url2?: string;
43
+ target2?: any;
44
+ url3?: string;
45
+ target3?: string;
46
+ url4?: string;
47
+ target4?: string;
48
+ sort?: number;
49
+ status?: number;
50
+ view?: number;
51
+ hasExpire?: number;
52
+ startDate?: Date;
53
+ expireDate?: Date;
54
+ createdBy?: string;
55
+ createdDate?: Date;
56
+ updatedBy?: string;
57
+ updatedDate?: Date;
58
+ }
59
+
60
+ export { mdApplication, type mdApplicationAttributes };
@@ -0,0 +1,214 @@
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/mdApplication.ts
29
+ var mdApplication_exports = {};
30
+ __export(mdApplication_exports, {
31
+ mdApplication: () => mdApplication
32
+ });
33
+ module.exports = __toCommonJS(mdApplication_exports);
34
+ var import_sequelize_typescript = require("sequelize-typescript");
35
+ var mdApplication = 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
+ ], mdApplication.prototype, "id", 2);
44
+ __decorateClass([
45
+ (0, import_sequelize_typescript.Column)({
46
+ allowNull: true,
47
+ type: import_sequelize_typescript.DataType.STRING(60)
48
+ })
49
+ ], mdApplication.prototype, "uuid", 2);
50
+ __decorateClass([
51
+ (0, import_sequelize_typescript.Column)({
52
+ field: "key_name",
53
+ allowNull: true,
54
+ type: import_sequelize_typescript.DataType.STRING(100)
55
+ })
56
+ ], mdApplication.prototype, "keyName", 2);
57
+ __decorateClass([
58
+ (0, import_sequelize_typescript.Column)({
59
+ allowNull: true,
60
+ type: import_sequelize_typescript.DataType.STRING(255)
61
+ })
62
+ ], mdApplication.prototype, "title", 2);
63
+ __decorateClass([
64
+ (0, import_sequelize_typescript.Column)({
65
+ allowNull: true,
66
+ type: import_sequelize_typescript.DataType.STRING
67
+ })
68
+ ], mdApplication.prototype, "description", 2);
69
+ __decorateClass([
70
+ (0, import_sequelize_typescript.Column)({
71
+ field: "image_cover",
72
+ allowNull: true,
73
+ type: import_sequelize_typescript.DataType.STRING(255)
74
+ })
75
+ ], mdApplication.prototype, "imageCover", 2);
76
+ __decorateClass([
77
+ (0, import_sequelize_typescript.Column)({
78
+ field: "file_uuid",
79
+ allowNull: true,
80
+ type: import_sequelize_typescript.DataType.STRING(60)
81
+ })
82
+ ], mdApplication.prototype, "fileUuid", 2);
83
+ __decorateClass([
84
+ (0, import_sequelize_typescript.Column)({
85
+ allowNull: true,
86
+ type: import_sequelize_typescript.DataType.JSON
87
+ })
88
+ ], mdApplication.prototype, "attachments", 2);
89
+ __decorateClass([
90
+ (0, import_sequelize_typescript.Column)({
91
+ allowNull: true,
92
+ type: import_sequelize_typescript.DataType.STRING(255),
93
+ comment: "google play"
94
+ })
95
+ ], mdApplication.prototype, "url1", 2);
96
+ __decorateClass([
97
+ (0, import_sequelize_typescript.Column)({
98
+ allowNull: true,
99
+ type: import_sequelize_typescript.DataType.STRING(10)
100
+ })
101
+ ], mdApplication.prototype, "target1", 2);
102
+ __decorateClass([
103
+ (0, import_sequelize_typescript.Column)({
104
+ allowNull: true,
105
+ type: import_sequelize_typescript.DataType.STRING(255),
106
+ comment: "app store"
107
+ })
108
+ ], mdApplication.prototype, "url2", 2);
109
+ __decorateClass([
110
+ (0, import_sequelize_typescript.Column)({
111
+ allowNull: true
112
+ })
113
+ ], mdApplication.prototype, "target2", 2);
114
+ __decorateClass([
115
+ (0, import_sequelize_typescript.Column)({
116
+ allowNull: true,
117
+ type: import_sequelize_typescript.DataType.STRING(255)
118
+ })
119
+ ], mdApplication.prototype, "url3", 2);
120
+ __decorateClass([
121
+ (0, import_sequelize_typescript.Column)({
122
+ allowNull: true,
123
+ type: import_sequelize_typescript.DataType.STRING(10)
124
+ })
125
+ ], mdApplication.prototype, "target3", 2);
126
+ __decorateClass([
127
+ (0, import_sequelize_typescript.Column)({
128
+ allowNull: true,
129
+ type: import_sequelize_typescript.DataType.STRING(255)
130
+ })
131
+ ], mdApplication.prototype, "url4", 2);
132
+ __decorateClass([
133
+ (0, import_sequelize_typescript.Column)({
134
+ allowNull: true,
135
+ type: import_sequelize_typescript.DataType.STRING(10)
136
+ })
137
+ ], mdApplication.prototype, "target4", 2);
138
+ __decorateClass([
139
+ (0, import_sequelize_typescript.Column)({
140
+ allowNull: true,
141
+ type: import_sequelize_typescript.DataType.INTEGER
142
+ })
143
+ ], mdApplication.prototype, "sort", 2);
144
+ __decorateClass([
145
+ (0, import_sequelize_typescript.Column)({
146
+ allowNull: true,
147
+ type: import_sequelize_typescript.DataType.INTEGER
148
+ })
149
+ ], mdApplication.prototype, "status", 2);
150
+ __decorateClass([
151
+ (0, import_sequelize_typescript.Column)({
152
+ allowNull: true,
153
+ type: import_sequelize_typescript.DataType.INTEGER
154
+ })
155
+ ], mdApplication.prototype, "view", 2);
156
+ __decorateClass([
157
+ (0, import_sequelize_typescript.Column)({
158
+ field: "has_expire",
159
+ allowNull: true,
160
+ type: import_sequelize_typescript.DataType.INTEGER
161
+ })
162
+ ], mdApplication.prototype, "hasExpire", 2);
163
+ __decorateClass([
164
+ (0, import_sequelize_typescript.Column)({
165
+ field: "start_date",
166
+ allowNull: true,
167
+ type: import_sequelize_typescript.DataType.DATE
168
+ })
169
+ ], mdApplication.prototype, "startDate", 2);
170
+ __decorateClass([
171
+ (0, import_sequelize_typescript.Column)({
172
+ field: "expire_date",
173
+ allowNull: true,
174
+ type: import_sequelize_typescript.DataType.DATE
175
+ })
176
+ ], mdApplication.prototype, "expireDate", 2);
177
+ __decorateClass([
178
+ (0, import_sequelize_typescript.Column)({
179
+ field: "created_by",
180
+ allowNull: true,
181
+ type: import_sequelize_typescript.DataType.STRING(60)
182
+ })
183
+ ], mdApplication.prototype, "createdBy", 2);
184
+ __decorateClass([
185
+ (0, import_sequelize_typescript.Column)({
186
+ field: "created_date",
187
+ allowNull: true,
188
+ type: import_sequelize_typescript.DataType.DATE
189
+ })
190
+ ], mdApplication.prototype, "createdDate", 2);
191
+ __decorateClass([
192
+ (0, import_sequelize_typescript.Column)({
193
+ field: "updated_by",
194
+ allowNull: true,
195
+ type: import_sequelize_typescript.DataType.STRING(60)
196
+ })
197
+ ], mdApplication.prototype, "updatedBy", 2);
198
+ __decorateClass([
199
+ (0, import_sequelize_typescript.Column)({
200
+ field: "updated_date",
201
+ allowNull: true,
202
+ type: import_sequelize_typescript.DataType.DATE
203
+ })
204
+ ], mdApplication.prototype, "updatedDate", 2);
205
+ mdApplication = __decorateClass([
206
+ (0, import_sequelize_typescript.Table)({
207
+ tableName: "md_application",
208
+ timestamps: false
209
+ })
210
+ ], mdApplication);
211
+ // Annotate the CommonJS export names for ESM import in node:
212
+ 0 && (module.exports = {
213
+ mdApplication
214
+ });
@@ -1,2 +1,2 @@
1
1
  import 'sequelize-typescript';
2
- export { a as mdDownload, m as mdDownloadAttributes } from '../../mdDownload-RICzliX6.js';
2
+ export { a as mdDownload, m as mdDownloadAttributes } from '../../mdDownload-CCc6eto7.js';
@@ -75,6 +75,12 @@ __decorateClass([
75
75
  type: import_sequelize_typescript.DataType.STRING(255)
76
76
  })
77
77
  ], mdDownloadGroup.prototype, "description", 2);
78
+ __decorateClass([
79
+ (0, import_sequelize_typescript.Column)({
80
+ allowNull: true,
81
+ type: import_sequelize_typescript.DataType.INTEGER
82
+ })
83
+ ], mdDownloadGroup.prototype, "sort", 2);
78
84
  __decorateClass([
79
85
  (0, import_sequelize_typescript.Column)({
80
86
  allowNull: true,
@@ -1,2 +1,2 @@
1
1
  import 'sequelize-typescript';
2
- export { c as mdDownloadGroup, b as mdDownloadGroupAttributes } from '../../mdDownload-RICzliX6.js';
2
+ export { c as mdDownloadGroup, b as mdDownloadGroupAttributes } from '../../mdDownload-CCc6eto7.js';
@@ -271,6 +271,12 @@ __decorateClass([
271
271
  type: import_sequelize_typescript2.DataType.STRING(255)
272
272
  })
273
273
  ], mdDownloadGroup.prototype, "description", 2);
274
+ __decorateClass([
275
+ (0, import_sequelize_typescript2.Column)({
276
+ allowNull: true,
277
+ type: import_sequelize_typescript2.DataType.INTEGER
278
+ })
279
+ ], mdDownloadGroup.prototype, "sort", 2);
274
280
  __decorateClass([
275
281
  (0, import_sequelize_typescript2.Column)({
276
282
  allowNull: true,
@@ -1,2 +1,2 @@
1
1
  import 'sequelize-typescript';
2
- export { a as mdEbook, m as mdEbookAttributes } from '../../mdEbook-CAvTi5ia.js';
2
+ export { a as mdEbook, m as mdEbookAttributes } from '../../mdEbook-BqC65Ujw.js';
@@ -75,6 +75,12 @@ __decorateClass([
75
75
  type: import_sequelize_typescript.DataType.STRING(255)
76
76
  })
77
77
  ], mdEbookGroup.prototype, "description", 2);
78
+ __decorateClass([
79
+ (0, import_sequelize_typescript.Column)({
80
+ allowNull: true,
81
+ type: import_sequelize_typescript.DataType.INTEGER
82
+ })
83
+ ], mdEbookGroup.prototype, "sort", 2);
78
84
  __decorateClass([
79
85
  (0, import_sequelize_typescript.Column)({
80
86
  allowNull: true,
@@ -1,2 +1,2 @@
1
1
  import 'sequelize-typescript';
2
- export { c as mdEbookGroup, b as mdEbookGroupAttributes } from '../../mdEbook-CAvTi5ia.js';
2
+ export { c as mdEbookGroup, b as mdEbookGroupAttributes } from '../../mdEbook-BqC65Ujw.js';
@@ -266,6 +266,12 @@ __decorateClass([
266
266
  type: import_sequelize_typescript2.DataType.STRING(255)
267
267
  })
268
268
  ], mdEbookGroup.prototype, "description", 2);
269
+ __decorateClass([
270
+ (0, import_sequelize_typescript2.Column)({
271
+ allowNull: true,
272
+ type: import_sequelize_typescript2.DataType.INTEGER
273
+ })
274
+ ], mdEbookGroup.prototype, "sort", 2);
269
275
  __decorateClass([
270
276
  (0, import_sequelize_typescript2.Column)({
271
277
  allowNull: true,
@@ -1,2 +1,2 @@
1
1
  import 'sequelize-typescript';
2
- export { a as mdFaq, m as mdFaqAttributes } from '../../mdFaq-Cg-D362f.js';
2
+ export { a as mdFaq, m as mdFaqAttributes } from '../../mdFaq-CHIPG3yZ.js';
@@ -75,6 +75,12 @@ __decorateClass([
75
75
  type: import_sequelize_typescript.DataType.STRING(255)
76
76
  })
77
77
  ], mdFaqGroup.prototype, "description", 2);
78
+ __decorateClass([
79
+ (0, import_sequelize_typescript.Column)({
80
+ allowNull: true,
81
+ type: import_sequelize_typescript.DataType.INTEGER
82
+ })
83
+ ], mdFaqGroup.prototype, "sort", 2);
78
84
  __decorateClass([
79
85
  (0, import_sequelize_typescript.Column)({
80
86
  allowNull: true,
@@ -1,2 +1,2 @@
1
1
  import 'sequelize-typescript';
2
- export { c as mdFaqGroup, b as mdFaqGroupAttributes } from '../../mdFaq-Cg-D362f.js';
2
+ export { c as mdFaqGroup, b as mdFaqGroupAttributes } from '../../mdFaq-CHIPG3yZ.js';
@@ -221,6 +221,12 @@ __decorateClass([
221
221
  type: import_sequelize_typescript2.DataType.STRING(255)
222
222
  })
223
223
  ], mdFaqGroup.prototype, "description", 2);
224
+ __decorateClass([
225
+ (0, import_sequelize_typescript2.Column)({
226
+ allowNull: true,
227
+ type: import_sequelize_typescript2.DataType.INTEGER
228
+ })
229
+ ], mdFaqGroup.prototype, "sort", 2);
224
230
  __decorateClass([
225
231
  (0, import_sequelize_typescript2.Column)({
226
232
  allowNull: true,
@@ -1,2 +1,2 @@
1
1
  import 'sequelize-typescript';
2
- export { a as mdNews, m as mdNewsAttributes } from '../../mdNews-AU_zz7jr.js';
2
+ export { a as mdNews, m as mdNewsAttributes } from '../../mdNews-DfHz7Ajk.js';
@@ -75,6 +75,12 @@ __decorateClass([
75
75
  type: import_sequelize_typescript.DataType.STRING(255)
76
76
  })
77
77
  ], mdNewsGroup.prototype, "description", 2);
78
+ __decorateClass([
79
+ (0, import_sequelize_typescript.Column)({
80
+ allowNull: true,
81
+ type: import_sequelize_typescript.DataType.INTEGER
82
+ })
83
+ ], mdNewsGroup.prototype, "sort", 2);
78
84
  __decorateClass([
79
85
  (0, import_sequelize_typescript.Column)({
80
86
  allowNull: true,
@@ -1,2 +1,2 @@
1
1
  import 'sequelize-typescript';
2
- export { c as mdNewsGroup, b as mdNewsGroupAttributes } from '../../mdNews-AU_zz7jr.js';
2
+ export { c as mdNewsGroup, b as mdNewsGroupAttributes } from '../../mdNews-DfHz7Ajk.js';
@@ -271,6 +271,12 @@ __decorateClass([
271
271
  type: import_sequelize_typescript2.DataType.STRING(255)
272
272
  })
273
273
  ], mdNewsGroup.prototype, "description", 2);
274
+ __decorateClass([
275
+ (0, import_sequelize_typescript2.Column)({
276
+ allowNull: true,
277
+ type: import_sequelize_typescript2.DataType.INTEGER
278
+ })
279
+ ], mdNewsGroup.prototype, "sort", 2);
274
280
  __decorateClass([
275
281
  (0, import_sequelize_typescript2.Column)({
276
282
  allowNull: true,
@@ -1,2 +1,2 @@
1
1
  import 'sequelize-typescript';
2
- export { a as msExecutive, m as msExecutiveAttributes } from '../../msExecutive-1j_DcKu7.js';
2
+ export { a as msExecutive, m as msExecutiveAttributes } from '../../msExecutive-B7lTHxSZ.js';
@@ -145,6 +145,13 @@ __decorateClass([
145
145
  type: import_sequelize_typescript2.DataType.INTEGER
146
146
  })
147
147
  ], msExecutivePosition.prototype, "id", 2);
148
+ __decorateClass([
149
+ (0, import_sequelize_typescript2.Column)({
150
+ field: "group_id",
151
+ allowNull: true,
152
+ type: import_sequelize_typescript2.DataType.INTEGER
153
+ })
154
+ ], msExecutivePosition.prototype, "groupId", 2);
148
155
  __decorateClass([
149
156
  (0, import_sequelize_typescript2.Column)({
150
157
  allowNull: true,
@@ -157,6 +164,19 @@ __decorateClass([
157
164
  type: import_sequelize_typescript2.DataType.STRING(255)
158
165
  })
159
166
  ], msExecutivePosition.prototype, "description", 2);
167
+ __decorateClass([
168
+ (0, import_sequelize_typescript2.Column)({
169
+ field: "updated_info",
170
+ allowNull: true,
171
+ type: import_sequelize_typescript2.DataType.STRING(255)
172
+ })
173
+ ], msExecutivePosition.prototype, "updatedInfo", 2);
174
+ __decorateClass([
175
+ (0, import_sequelize_typescript2.Column)({
176
+ allowNull: true,
177
+ type: import_sequelize_typescript2.DataType.STRING
178
+ })
179
+ ], msExecutivePosition.prototype, "remark", 2);
160
180
  __decorateClass([
161
181
  (0, import_sequelize_typescript2.Column)({
162
182
  allowNull: true,
@@ -234,13 +254,12 @@ __decorateClass([
234
254
  })
235
255
  ], msExecutive.prototype, "groupId", 2);
236
256
  __decorateClass([
237
- (0, import_sequelize_typescript3.ForeignKey)(() => msExecutivePosition),
238
257
  (0, import_sequelize_typescript3.Column)({
239
- field: "position_id",
258
+ field: "level_id",
240
259
  allowNull: true,
241
260
  type: import_sequelize_typescript3.DataType.INTEGER
242
261
  })
243
- ], msExecutive.prototype, "positionId", 2);
262
+ ], msExecutive.prototype, "levelId", 2);
244
263
  __decorateClass([
245
264
  (0, import_sequelize_typescript3.Column)({
246
265
  field: "position_name",
@@ -321,7 +340,7 @@ __decorateClass([
321
340
  __decorateClass([
322
341
  (0, import_sequelize_typescript3.Column)({
323
342
  allowNull: true,
324
- type: import_sequelize_typescript3.DataType.STRING(255)
343
+ type: import_sequelize_typescript3.DataType.INTEGER
325
344
  })
326
345
  ], msExecutive.prototype, "status", 2);
327
346
  __decorateClass([
@@ -358,6 +377,14 @@ __decorateClass([
358
377
  type: import_sequelize_typescript3.DataType.DATE
359
378
  })
360
379
  ], msExecutive.prototype, "updatedDate", 2);
380
+ __decorateClass([
381
+ (0, import_sequelize_typescript3.ForeignKey)(() => msExecutivePosition),
382
+ (0, import_sequelize_typescript3.Column)({
383
+ field: "position_id",
384
+ allowNull: true,
385
+ type: import_sequelize_typescript3.DataType.INTEGER
386
+ })
387
+ ], msExecutive.prototype, "positionId", 2);
361
388
  __decorateClass([
362
389
  (0, import_sequelize_typescript3.BelongsTo)(() => msExecutiveGroup)
363
390
  ], msExecutive.prototype, "msExecutiveGroup", 2);
@@ -1,2 +1,2 @@
1
1
  import 'sequelize-typescript';
2
- export { c as msExecutiveGroup, b as msExecutiveGroupAttributes } from '../../msExecutive-1j_DcKu7.js';
2
+ export { c as msExecutiveGroup, b as msExecutiveGroupAttributes } from '../../msExecutive-B7lTHxSZ.js';
@@ -47,6 +47,13 @@ __decorateClass([
47
47
  type: import_sequelize_typescript.DataType.INTEGER
48
48
  })
49
49
  ], msExecutivePosition.prototype, "id", 2);
50
+ __decorateClass([
51
+ (0, import_sequelize_typescript.Column)({
52
+ field: "group_id",
53
+ allowNull: true,
54
+ type: import_sequelize_typescript.DataType.INTEGER
55
+ })
56
+ ], msExecutivePosition.prototype, "groupId", 2);
50
57
  __decorateClass([
51
58
  (0, import_sequelize_typescript.Column)({
52
59
  allowNull: true,
@@ -59,6 +66,19 @@ __decorateClass([
59
66
  type: import_sequelize_typescript.DataType.STRING(255)
60
67
  })
61
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);
62
82
  __decorateClass([
63
83
  (0, import_sequelize_typescript.Column)({
64
84
  allowNull: true,
@@ -136,13 +156,12 @@ __decorateClass([
136
156
  })
137
157
  ], msExecutive.prototype, "groupId", 2);
138
158
  __decorateClass([
139
- (0, import_sequelize_typescript2.ForeignKey)(() => msExecutivePosition),
140
159
  (0, import_sequelize_typescript2.Column)({
141
- field: "position_id",
160
+ field: "level_id",
142
161
  allowNull: true,
143
162
  type: import_sequelize_typescript2.DataType.INTEGER
144
163
  })
145
- ], msExecutive.prototype, "positionId", 2);
164
+ ], msExecutive.prototype, "levelId", 2);
146
165
  __decorateClass([
147
166
  (0, import_sequelize_typescript2.Column)({
148
167
  field: "position_name",
@@ -223,7 +242,7 @@ __decorateClass([
223
242
  __decorateClass([
224
243
  (0, import_sequelize_typescript2.Column)({
225
244
  allowNull: true,
226
- type: import_sequelize_typescript2.DataType.STRING(255)
245
+ type: import_sequelize_typescript2.DataType.INTEGER
227
246
  })
228
247
  ], msExecutive.prototype, "status", 2);
229
248
  __decorateClass([
@@ -260,6 +279,14 @@ __decorateClass([
260
279
  type: import_sequelize_typescript2.DataType.DATE
261
280
  })
262
281
  ], msExecutive.prototype, "updatedDate", 2);
282
+ __decorateClass([
283
+ (0, import_sequelize_typescript2.ForeignKey)(() => msExecutivePosition),
284
+ (0, import_sequelize_typescript2.Column)({
285
+ field: "position_id",
286
+ allowNull: true,
287
+ type: import_sequelize_typescript2.DataType.INTEGER
288
+ })
289
+ ], msExecutive.prototype, "positionId", 2);
263
290
  __decorateClass([
264
291
  (0, import_sequelize_typescript2.BelongsTo)(() => msExecutiveGroup)
265
292
  ], msExecutive.prototype, "msExecutiveGroup", 2);
@@ -1,2 +1,2 @@
1
1
  import 'sequelize-typescript';
2
- export { e as msExecutivePosition, d as msExecutivePositionAttributes } from '../../msExecutive-1j_DcKu7.js';
2
+ export { e as msExecutivePosition, d as msExecutivePositionAttributes } from '../../msExecutive-B7lTHxSZ.js';
@@ -156,13 +156,12 @@ __decorateClass([
156
156
  })
157
157
  ], msExecutive.prototype, "groupId", 2);
158
158
  __decorateClass([
159
- (0, import_sequelize_typescript2.ForeignKey)(() => msExecutivePosition),
160
159
  (0, import_sequelize_typescript2.Column)({
161
- field: "position_id",
160
+ field: "level_id",
162
161
  allowNull: true,
163
162
  type: import_sequelize_typescript2.DataType.INTEGER
164
163
  })
165
- ], msExecutive.prototype, "positionId", 2);
164
+ ], msExecutive.prototype, "levelId", 2);
166
165
  __decorateClass([
167
166
  (0, import_sequelize_typescript2.Column)({
168
167
  field: "position_name",
@@ -243,7 +242,7 @@ __decorateClass([
243
242
  __decorateClass([
244
243
  (0, import_sequelize_typescript2.Column)({
245
244
  allowNull: true,
246
- type: import_sequelize_typescript2.DataType.STRING(255)
245
+ type: import_sequelize_typescript2.DataType.INTEGER
247
246
  })
248
247
  ], msExecutive.prototype, "status", 2);
249
248
  __decorateClass([
@@ -280,6 +279,14 @@ __decorateClass([
280
279
  type: import_sequelize_typescript2.DataType.DATE
281
280
  })
282
281
  ], msExecutive.prototype, "updatedDate", 2);
282
+ __decorateClass([
283
+ (0, import_sequelize_typescript2.ForeignKey)(() => msExecutivePosition),
284
+ (0, import_sequelize_typescript2.Column)({
285
+ field: "position_id",
286
+ allowNull: true,
287
+ type: import_sequelize_typescript2.DataType.INTEGER
288
+ })
289
+ ], msExecutive.prototype, "positionId", 2);
283
290
  __decorateClass([
284
291
  (0, import_sequelize_typescript2.BelongsTo)(() => msExecutiveGroup)
285
292
  ], msExecutive.prototype, "msExecutiveGroup", 2);
@@ -303,6 +310,13 @@ __decorateClass([
303
310
  type: import_sequelize_typescript3.DataType.INTEGER
304
311
  })
305
312
  ], msExecutivePosition.prototype, "id", 2);
313
+ __decorateClass([
314
+ (0, import_sequelize_typescript3.Column)({
315
+ field: "group_id",
316
+ allowNull: true,
317
+ type: import_sequelize_typescript3.DataType.INTEGER
318
+ })
319
+ ], msExecutivePosition.prototype, "groupId", 2);
306
320
  __decorateClass([
307
321
  (0, import_sequelize_typescript3.Column)({
308
322
  allowNull: true,
@@ -315,6 +329,19 @@ __decorateClass([
315
329
  type: import_sequelize_typescript3.DataType.STRING(255)
316
330
  })
317
331
  ], msExecutivePosition.prototype, "description", 2);
332
+ __decorateClass([
333
+ (0, import_sequelize_typescript3.Column)({
334
+ field: "updated_info",
335
+ allowNull: true,
336
+ type: import_sequelize_typescript3.DataType.STRING(255)
337
+ })
338
+ ], msExecutivePosition.prototype, "updatedInfo", 2);
339
+ __decorateClass([
340
+ (0, import_sequelize_typescript3.Column)({
341
+ allowNull: true,
342
+ type: import_sequelize_typescript3.DataType.STRING
343
+ })
344
+ ], msExecutivePosition.prototype, "remark", 2);
318
345
  __decorateClass([
319
346
  (0, import_sequelize_typescript3.Column)({
320
347
  allowNull: true,
@@ -1,2 +1,2 @@
1
1
  import 'sequelize-typescript';
2
- export { a as recruitment, r as recruitmentAttributes } from '../../recruitment-DmJeINPg.js';
2
+ export { a as recruitment, r as recruitmentAttributes } from '../../recruitment-5Pi7YA8x.js';