@admc-go-th/admc-library 1.0.75 → 1.0.78

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.
@@ -0,0 +1,2 @@
1
+ import 'sequelize-typescript';
2
+ export { a as mdInformationIndex, m as mdInformationIndexAttributes } from '../../mdInformationIndex-BoCz0Vkk.js';
@@ -0,0 +1,318 @@
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/mdInformationIndex.ts
29
+ var mdInformationIndex_exports = {};
30
+ __export(mdInformationIndex_exports, {
31
+ mdInformationIndex: () => mdInformationIndex
32
+ });
33
+ module.exports = __toCommonJS(mdInformationIndex_exports);
34
+ var import_sequelize_typescript2 = require("sequelize-typescript");
35
+
36
+ // src/databases/tables/mdInformationIndexGroup.ts
37
+ var import_sequelize_typescript = require("sequelize-typescript");
38
+ var mdInformationIndexGroup = class extends import_sequelize_typescript.Model {
39
+ };
40
+ __decorateClass([
41
+ (0, import_sequelize_typescript.Column)({
42
+ primaryKey: true,
43
+ autoIncrement: true,
44
+ type: import_sequelize_typescript.DataType.INTEGER
45
+ })
46
+ ], mdInformationIndexGroup.prototype, "id", 2);
47
+ __decorateClass([
48
+ (0, import_sequelize_typescript.Column)({
49
+ allowNull: true,
50
+ type: import_sequelize_typescript.DataType.STRING(60)
51
+ })
52
+ ], mdInformationIndexGroup.prototype, "uuid", 2);
53
+ __decorateClass([
54
+ (0, import_sequelize_typescript.Column)({
55
+ field: "key_name",
56
+ allowNull: true,
57
+ type: import_sequelize_typescript.DataType.STRING(100)
58
+ })
59
+ ], mdInformationIndexGroup.prototype, "keyName", 2);
60
+ __decorateClass([
61
+ (0, import_sequelize_typescript.Column)({
62
+ field: "user_id",
63
+ allowNull: true,
64
+ type: import_sequelize_typescript.DataType.INTEGER
65
+ })
66
+ ], mdInformationIndexGroup.prototype, "userId", 2);
67
+ __decorateClass([
68
+ (0, import_sequelize_typescript.Column)({
69
+ type: import_sequelize_typescript.DataType.STRING(255)
70
+ })
71
+ ], mdInformationIndexGroup.prototype, "name", 2);
72
+ __decorateClass([
73
+ (0, import_sequelize_typescript.Column)({
74
+ allowNull: true,
75
+ type: import_sequelize_typescript.DataType.STRING(255)
76
+ })
77
+ ], mdInformationIndexGroup.prototype, "description", 2);
78
+ __decorateClass([
79
+ (0, import_sequelize_typescript.Column)({
80
+ allowNull: true,
81
+ type: import_sequelize_typescript.DataType.INTEGER
82
+ })
83
+ ], mdInformationIndexGroup.prototype, "sort", 2);
84
+ __decorateClass([
85
+ (0, import_sequelize_typescript.Column)({
86
+ allowNull: true,
87
+ type: import_sequelize_typescript.DataType.INTEGER
88
+ })
89
+ ], mdInformationIndexGroup.prototype, "status", 2);
90
+ __decorateClass([
91
+ (0, import_sequelize_typescript.Column)({
92
+ field: "created_by",
93
+ allowNull: true,
94
+ type: import_sequelize_typescript.DataType.STRING(60)
95
+ })
96
+ ], mdInformationIndexGroup.prototype, "createdBy", 2);
97
+ __decorateClass([
98
+ (0, import_sequelize_typescript.Column)({
99
+ field: "created_date",
100
+ allowNull: true,
101
+ type: import_sequelize_typescript.DataType.DATE
102
+ })
103
+ ], mdInformationIndexGroup.prototype, "createdDate", 2);
104
+ __decorateClass([
105
+ (0, import_sequelize_typescript.Column)({
106
+ field: "updated_by",
107
+ allowNull: true,
108
+ type: import_sequelize_typescript.DataType.STRING(60)
109
+ })
110
+ ], mdInformationIndexGroup.prototype, "updatedBy", 2);
111
+ __decorateClass([
112
+ (0, import_sequelize_typescript.Column)({
113
+ field: "updated_date",
114
+ allowNull: true,
115
+ type: import_sequelize_typescript.DataType.DATE
116
+ })
117
+ ], mdInformationIndexGroup.prototype, "updatedDate", 2);
118
+ __decorateClass([
119
+ (0, import_sequelize_typescript.HasMany)(() => mdInformationIndex, {
120
+ sourceKey: "id"
121
+ })
122
+ ], mdInformationIndexGroup.prototype, "mdInformationIndices", 2);
123
+ mdInformationIndexGroup = __decorateClass([
124
+ (0, import_sequelize_typescript.Table)({
125
+ tableName: "md_information_index_group",
126
+ timestamps: false
127
+ })
128
+ ], mdInformationIndexGroup);
129
+
130
+ // src/databases/tables/mdInformationIndex.ts
131
+ var mdInformationIndex = class extends import_sequelize_typescript2.Model {
132
+ };
133
+ __decorateClass([
134
+ (0, import_sequelize_typescript2.Column)({
135
+ primaryKey: true,
136
+ autoIncrement: true,
137
+ type: import_sequelize_typescript2.DataType.INTEGER
138
+ })
139
+ ], mdInformationIndex.prototype, "id", 2);
140
+ __decorateClass([
141
+ (0, import_sequelize_typescript2.Column)({
142
+ allowNull: true,
143
+ type: import_sequelize_typescript2.DataType.STRING(60)
144
+ })
145
+ ], mdInformationIndex.prototype, "uuid", 2);
146
+ __decorateClass([
147
+ (0, import_sequelize_typescript2.Column)({
148
+ field: "key_name",
149
+ allowNull: true,
150
+ type: import_sequelize_typescript2.DataType.STRING(100)
151
+ })
152
+ ], mdInformationIndex.prototype, "keyName", 2);
153
+ __decorateClass([
154
+ (0, import_sequelize_typescript2.ForeignKey)(() => mdInformationIndexGroup),
155
+ (0, import_sequelize_typescript2.Column)({
156
+ field: "group_id",
157
+ allowNull: true,
158
+ type: import_sequelize_typescript2.DataType.INTEGER
159
+ })
160
+ ], mdInformationIndex.prototype, "groupId", 2);
161
+ __decorateClass([
162
+ (0, import_sequelize_typescript2.Column)({
163
+ field: "user_id",
164
+ type: import_sequelize_typescript2.DataType.INTEGER
165
+ })
166
+ ], mdInformationIndex.prototype, "userId", 2);
167
+ __decorateClass([
168
+ (0, import_sequelize_typescript2.Column)({
169
+ allowNull: true,
170
+ type: import_sequelize_typescript2.DataType.STRING(255)
171
+ })
172
+ ], mdInformationIndex.prototype, "title", 2);
173
+ __decorateClass([
174
+ (0, import_sequelize_typescript2.Column)({
175
+ allowNull: true,
176
+ type: import_sequelize_typescript2.DataType.STRING
177
+ })
178
+ ], mdInformationIndex.prototype, "description", 2);
179
+ __decorateClass([
180
+ (0, import_sequelize_typescript2.Column)({
181
+ allowNull: true,
182
+ type: import_sequelize_typescript2.DataType.STRING
183
+ })
184
+ ], mdInformationIndex.prototype, "detail", 2);
185
+ __decorateClass([
186
+ (0, import_sequelize_typescript2.Column)({
187
+ field: "meta_title",
188
+ allowNull: true,
189
+ type: import_sequelize_typescript2.DataType.STRING(255)
190
+ })
191
+ ], mdInformationIndex.prototype, "metaTitle", 2);
192
+ __decorateClass([
193
+ (0, import_sequelize_typescript2.Column)({
194
+ field: "meta_keyword",
195
+ allowNull: true,
196
+ type: import_sequelize_typescript2.DataType.STRING(255)
197
+ })
198
+ ], mdInformationIndex.prototype, "metaKeyword", 2);
199
+ __decorateClass([
200
+ (0, import_sequelize_typescript2.Column)({
201
+ field: "meta_description",
202
+ allowNull: true,
203
+ type: import_sequelize_typescript2.DataType.STRING(255)
204
+ })
205
+ ], mdInformationIndex.prototype, "metaDescription", 2);
206
+ __decorateClass([
207
+ (0, import_sequelize_typescript2.Column)({
208
+ field: "category_no",
209
+ allowNull: true,
210
+ type: import_sequelize_typescript2.DataType.INTEGER
211
+ })
212
+ ], mdInformationIndex.prototype, "categoryNo", 2);
213
+ __decorateClass([
214
+ (0, import_sequelize_typescript2.Column)({
215
+ field: "book_no",
216
+ allowNull: true,
217
+ type: import_sequelize_typescript2.DataType.INTEGER
218
+ })
219
+ ], mdInformationIndex.prototype, "bookNo", 2);
220
+ __decorateClass([
221
+ (0, import_sequelize_typescript2.Column)({
222
+ allowNull: true,
223
+ type: import_sequelize_typescript2.DataType.STRING(255)
224
+ })
225
+ ], mdInformationIndex.prototype, "chapter", 2);
226
+ __decorateClass([
227
+ (0, import_sequelize_typescript2.Column)({
228
+ field: "announcement_date",
229
+ allowNull: true,
230
+ type: import_sequelize_typescript2.DataType.DATE
231
+ })
232
+ ], mdInformationIndex.prototype, "announcementDate", 2);
233
+ __decorateClass([
234
+ (0, import_sequelize_typescript2.Column)({
235
+ allowNull: true,
236
+ type: import_sequelize_typescript2.DataType.JSON
237
+ })
238
+ ], mdInformationIndex.prototype, "attachments", 2);
239
+ __decorateClass([
240
+ (0, import_sequelize_typescript2.Column)({
241
+ allowNull: true,
242
+ type: import_sequelize_typescript2.DataType.INTEGER
243
+ })
244
+ ], mdInformationIndex.prototype, "sort", 2);
245
+ __decorateClass([
246
+ (0, import_sequelize_typescript2.Column)({
247
+ allowNull: true,
248
+ type: import_sequelize_typescript2.DataType.INTEGER
249
+ })
250
+ ], mdInformationIndex.prototype, "publish", 2);
251
+ __decorateClass([
252
+ (0, import_sequelize_typescript2.Column)({
253
+ allowNull: true,
254
+ type: import_sequelize_typescript2.DataType.INTEGER
255
+ })
256
+ ], mdInformationIndex.prototype, "status", 2);
257
+ __decorateClass([
258
+ (0, import_sequelize_typescript2.Column)({
259
+ field: "has_expire",
260
+ allowNull: true,
261
+ type: import_sequelize_typescript2.DataType.INTEGER
262
+ })
263
+ ], mdInformationIndex.prototype, "hasExpire", 2);
264
+ __decorateClass([
265
+ (0, import_sequelize_typescript2.Column)({
266
+ field: "start_date",
267
+ allowNull: true,
268
+ type: import_sequelize_typescript2.DataType.DATE
269
+ })
270
+ ], mdInformationIndex.prototype, "startDate", 2);
271
+ __decorateClass([
272
+ (0, import_sequelize_typescript2.Column)({
273
+ field: "expire_date",
274
+ allowNull: true,
275
+ type: import_sequelize_typescript2.DataType.DATE
276
+ })
277
+ ], mdInformationIndex.prototype, "expireDate", 2);
278
+ __decorateClass([
279
+ (0, import_sequelize_typescript2.Column)({
280
+ field: "created_by",
281
+ allowNull: true,
282
+ type: import_sequelize_typescript2.DataType.STRING(60)
283
+ })
284
+ ], mdInformationIndex.prototype, "createdBy", 2);
285
+ __decorateClass([
286
+ (0, import_sequelize_typescript2.Column)({
287
+ field: "created_date",
288
+ allowNull: true,
289
+ type: import_sequelize_typescript2.DataType.DATE
290
+ })
291
+ ], mdInformationIndex.prototype, "createdDate", 2);
292
+ __decorateClass([
293
+ (0, import_sequelize_typescript2.Column)({
294
+ field: "updated_by",
295
+ allowNull: true,
296
+ type: import_sequelize_typescript2.DataType.STRING(60)
297
+ })
298
+ ], mdInformationIndex.prototype, "updatedBy", 2);
299
+ __decorateClass([
300
+ (0, import_sequelize_typescript2.Column)({
301
+ field: "updated_date",
302
+ allowNull: true,
303
+ type: import_sequelize_typescript2.DataType.DATE
304
+ })
305
+ ], mdInformationIndex.prototype, "updatedDate", 2);
306
+ __decorateClass([
307
+ (0, import_sequelize_typescript2.BelongsTo)(() => mdInformationIndexGroup)
308
+ ], mdInformationIndex.prototype, "mdInformationIndexGroup", 2);
309
+ mdInformationIndex = __decorateClass([
310
+ (0, import_sequelize_typescript2.Table)({
311
+ tableName: "md_information_index",
312
+ timestamps: false
313
+ })
314
+ ], mdInformationIndex);
315
+ // Annotate the CommonJS export names for ESM import in node:
316
+ 0 && (module.exports = {
317
+ mdInformationIndex
318
+ });
@@ -0,0 +1,2 @@
1
+ import 'sequelize-typescript';
2
+ export { c as mdInformationIndexGroup, b as mdInformationIndexGroupAttributes } from '../../mdInformationIndex-BoCz0Vkk.js';
@@ -0,0 +1,318 @@
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/mdInformationIndexGroup.ts
29
+ var mdInformationIndexGroup_exports = {};
30
+ __export(mdInformationIndexGroup_exports, {
31
+ mdInformationIndexGroup: () => mdInformationIndexGroup
32
+ });
33
+ module.exports = __toCommonJS(mdInformationIndexGroup_exports);
34
+ var import_sequelize_typescript2 = require("sequelize-typescript");
35
+
36
+ // src/databases/tables/mdInformationIndex.ts
37
+ var import_sequelize_typescript = require("sequelize-typescript");
38
+ var mdInformationIndex = class extends import_sequelize_typescript.Model {
39
+ };
40
+ __decorateClass([
41
+ (0, import_sequelize_typescript.Column)({
42
+ primaryKey: true,
43
+ autoIncrement: true,
44
+ type: import_sequelize_typescript.DataType.INTEGER
45
+ })
46
+ ], mdInformationIndex.prototype, "id", 2);
47
+ __decorateClass([
48
+ (0, import_sequelize_typescript.Column)({
49
+ allowNull: true,
50
+ type: import_sequelize_typescript.DataType.STRING(60)
51
+ })
52
+ ], mdInformationIndex.prototype, "uuid", 2);
53
+ __decorateClass([
54
+ (0, import_sequelize_typescript.Column)({
55
+ field: "key_name",
56
+ allowNull: true,
57
+ type: import_sequelize_typescript.DataType.STRING(100)
58
+ })
59
+ ], mdInformationIndex.prototype, "keyName", 2);
60
+ __decorateClass([
61
+ (0, import_sequelize_typescript.ForeignKey)(() => mdInformationIndexGroup),
62
+ (0, import_sequelize_typescript.Column)({
63
+ field: "group_id",
64
+ allowNull: true,
65
+ type: import_sequelize_typescript.DataType.INTEGER
66
+ })
67
+ ], mdInformationIndex.prototype, "groupId", 2);
68
+ __decorateClass([
69
+ (0, import_sequelize_typescript.Column)({
70
+ field: "user_id",
71
+ type: import_sequelize_typescript.DataType.INTEGER
72
+ })
73
+ ], mdInformationIndex.prototype, "userId", 2);
74
+ __decorateClass([
75
+ (0, import_sequelize_typescript.Column)({
76
+ allowNull: true,
77
+ type: import_sequelize_typescript.DataType.STRING(255)
78
+ })
79
+ ], mdInformationIndex.prototype, "title", 2);
80
+ __decorateClass([
81
+ (0, import_sequelize_typescript.Column)({
82
+ allowNull: true,
83
+ type: import_sequelize_typescript.DataType.STRING
84
+ })
85
+ ], mdInformationIndex.prototype, "description", 2);
86
+ __decorateClass([
87
+ (0, import_sequelize_typescript.Column)({
88
+ allowNull: true,
89
+ type: import_sequelize_typescript.DataType.STRING
90
+ })
91
+ ], mdInformationIndex.prototype, "detail", 2);
92
+ __decorateClass([
93
+ (0, import_sequelize_typescript.Column)({
94
+ field: "meta_title",
95
+ allowNull: true,
96
+ type: import_sequelize_typescript.DataType.STRING(255)
97
+ })
98
+ ], mdInformationIndex.prototype, "metaTitle", 2);
99
+ __decorateClass([
100
+ (0, import_sequelize_typescript.Column)({
101
+ field: "meta_keyword",
102
+ allowNull: true,
103
+ type: import_sequelize_typescript.DataType.STRING(255)
104
+ })
105
+ ], mdInformationIndex.prototype, "metaKeyword", 2);
106
+ __decorateClass([
107
+ (0, import_sequelize_typescript.Column)({
108
+ field: "meta_description",
109
+ allowNull: true,
110
+ type: import_sequelize_typescript.DataType.STRING(255)
111
+ })
112
+ ], mdInformationIndex.prototype, "metaDescription", 2);
113
+ __decorateClass([
114
+ (0, import_sequelize_typescript.Column)({
115
+ field: "category_no",
116
+ allowNull: true,
117
+ type: import_sequelize_typescript.DataType.INTEGER
118
+ })
119
+ ], mdInformationIndex.prototype, "categoryNo", 2);
120
+ __decorateClass([
121
+ (0, import_sequelize_typescript.Column)({
122
+ field: "book_no",
123
+ allowNull: true,
124
+ type: import_sequelize_typescript.DataType.INTEGER
125
+ })
126
+ ], mdInformationIndex.prototype, "bookNo", 2);
127
+ __decorateClass([
128
+ (0, import_sequelize_typescript.Column)({
129
+ allowNull: true,
130
+ type: import_sequelize_typescript.DataType.STRING(255)
131
+ })
132
+ ], mdInformationIndex.prototype, "chapter", 2);
133
+ __decorateClass([
134
+ (0, import_sequelize_typescript.Column)({
135
+ field: "announcement_date",
136
+ allowNull: true,
137
+ type: import_sequelize_typescript.DataType.DATE
138
+ })
139
+ ], mdInformationIndex.prototype, "announcementDate", 2);
140
+ __decorateClass([
141
+ (0, import_sequelize_typescript.Column)({
142
+ allowNull: true,
143
+ type: import_sequelize_typescript.DataType.JSON
144
+ })
145
+ ], mdInformationIndex.prototype, "attachments", 2);
146
+ __decorateClass([
147
+ (0, import_sequelize_typescript.Column)({
148
+ allowNull: true,
149
+ type: import_sequelize_typescript.DataType.INTEGER
150
+ })
151
+ ], mdInformationIndex.prototype, "sort", 2);
152
+ __decorateClass([
153
+ (0, import_sequelize_typescript.Column)({
154
+ allowNull: true,
155
+ type: import_sequelize_typescript.DataType.INTEGER
156
+ })
157
+ ], mdInformationIndex.prototype, "publish", 2);
158
+ __decorateClass([
159
+ (0, import_sequelize_typescript.Column)({
160
+ allowNull: true,
161
+ type: import_sequelize_typescript.DataType.INTEGER
162
+ })
163
+ ], mdInformationIndex.prototype, "status", 2);
164
+ __decorateClass([
165
+ (0, import_sequelize_typescript.Column)({
166
+ field: "has_expire",
167
+ allowNull: true,
168
+ type: import_sequelize_typescript.DataType.INTEGER
169
+ })
170
+ ], mdInformationIndex.prototype, "hasExpire", 2);
171
+ __decorateClass([
172
+ (0, import_sequelize_typescript.Column)({
173
+ field: "start_date",
174
+ allowNull: true,
175
+ type: import_sequelize_typescript.DataType.DATE
176
+ })
177
+ ], mdInformationIndex.prototype, "startDate", 2);
178
+ __decorateClass([
179
+ (0, import_sequelize_typescript.Column)({
180
+ field: "expire_date",
181
+ allowNull: true,
182
+ type: import_sequelize_typescript.DataType.DATE
183
+ })
184
+ ], mdInformationIndex.prototype, "expireDate", 2);
185
+ __decorateClass([
186
+ (0, import_sequelize_typescript.Column)({
187
+ field: "created_by",
188
+ allowNull: true,
189
+ type: import_sequelize_typescript.DataType.STRING(60)
190
+ })
191
+ ], mdInformationIndex.prototype, "createdBy", 2);
192
+ __decorateClass([
193
+ (0, import_sequelize_typescript.Column)({
194
+ field: "created_date",
195
+ allowNull: true,
196
+ type: import_sequelize_typescript.DataType.DATE
197
+ })
198
+ ], mdInformationIndex.prototype, "createdDate", 2);
199
+ __decorateClass([
200
+ (0, import_sequelize_typescript.Column)({
201
+ field: "updated_by",
202
+ allowNull: true,
203
+ type: import_sequelize_typescript.DataType.STRING(60)
204
+ })
205
+ ], mdInformationIndex.prototype, "updatedBy", 2);
206
+ __decorateClass([
207
+ (0, import_sequelize_typescript.Column)({
208
+ field: "updated_date",
209
+ allowNull: true,
210
+ type: import_sequelize_typescript.DataType.DATE
211
+ })
212
+ ], mdInformationIndex.prototype, "updatedDate", 2);
213
+ __decorateClass([
214
+ (0, import_sequelize_typescript.BelongsTo)(() => mdInformationIndexGroup)
215
+ ], mdInformationIndex.prototype, "mdInformationIndexGroup", 2);
216
+ mdInformationIndex = __decorateClass([
217
+ (0, import_sequelize_typescript.Table)({
218
+ tableName: "md_information_index",
219
+ timestamps: false
220
+ })
221
+ ], mdInformationIndex);
222
+
223
+ // src/databases/tables/mdInformationIndexGroup.ts
224
+ var mdInformationIndexGroup = class extends import_sequelize_typescript2.Model {
225
+ };
226
+ __decorateClass([
227
+ (0, import_sequelize_typescript2.Column)({
228
+ primaryKey: true,
229
+ autoIncrement: true,
230
+ type: import_sequelize_typescript2.DataType.INTEGER
231
+ })
232
+ ], mdInformationIndexGroup.prototype, "id", 2);
233
+ __decorateClass([
234
+ (0, import_sequelize_typescript2.Column)({
235
+ allowNull: true,
236
+ type: import_sequelize_typescript2.DataType.STRING(60)
237
+ })
238
+ ], mdInformationIndexGroup.prototype, "uuid", 2);
239
+ __decorateClass([
240
+ (0, import_sequelize_typescript2.Column)({
241
+ field: "key_name",
242
+ allowNull: true,
243
+ type: import_sequelize_typescript2.DataType.STRING(100)
244
+ })
245
+ ], mdInformationIndexGroup.prototype, "keyName", 2);
246
+ __decorateClass([
247
+ (0, import_sequelize_typescript2.Column)({
248
+ field: "user_id",
249
+ allowNull: true,
250
+ type: import_sequelize_typescript2.DataType.INTEGER
251
+ })
252
+ ], mdInformationIndexGroup.prototype, "userId", 2);
253
+ __decorateClass([
254
+ (0, import_sequelize_typescript2.Column)({
255
+ type: import_sequelize_typescript2.DataType.STRING(255)
256
+ })
257
+ ], mdInformationIndexGroup.prototype, "name", 2);
258
+ __decorateClass([
259
+ (0, import_sequelize_typescript2.Column)({
260
+ allowNull: true,
261
+ type: import_sequelize_typescript2.DataType.STRING(255)
262
+ })
263
+ ], mdInformationIndexGroup.prototype, "description", 2);
264
+ __decorateClass([
265
+ (0, import_sequelize_typescript2.Column)({
266
+ allowNull: true,
267
+ type: import_sequelize_typescript2.DataType.INTEGER
268
+ })
269
+ ], mdInformationIndexGroup.prototype, "sort", 2);
270
+ __decorateClass([
271
+ (0, import_sequelize_typescript2.Column)({
272
+ allowNull: true,
273
+ type: import_sequelize_typescript2.DataType.INTEGER
274
+ })
275
+ ], mdInformationIndexGroup.prototype, "status", 2);
276
+ __decorateClass([
277
+ (0, import_sequelize_typescript2.Column)({
278
+ field: "created_by",
279
+ allowNull: true,
280
+ type: import_sequelize_typescript2.DataType.STRING(60)
281
+ })
282
+ ], mdInformationIndexGroup.prototype, "createdBy", 2);
283
+ __decorateClass([
284
+ (0, import_sequelize_typescript2.Column)({
285
+ field: "created_date",
286
+ allowNull: true,
287
+ type: import_sequelize_typescript2.DataType.DATE
288
+ })
289
+ ], mdInformationIndexGroup.prototype, "createdDate", 2);
290
+ __decorateClass([
291
+ (0, import_sequelize_typescript2.Column)({
292
+ field: "updated_by",
293
+ allowNull: true,
294
+ type: import_sequelize_typescript2.DataType.STRING(60)
295
+ })
296
+ ], mdInformationIndexGroup.prototype, "updatedBy", 2);
297
+ __decorateClass([
298
+ (0, import_sequelize_typescript2.Column)({
299
+ field: "updated_date",
300
+ allowNull: true,
301
+ type: import_sequelize_typescript2.DataType.DATE
302
+ })
303
+ ], mdInformationIndexGroup.prototype, "updatedDate", 2);
304
+ __decorateClass([
305
+ (0, import_sequelize_typescript2.HasMany)(() => mdInformationIndex, {
306
+ sourceKey: "id"
307
+ })
308
+ ], mdInformationIndexGroup.prototype, "mdInformationIndices", 2);
309
+ mdInformationIndexGroup = __decorateClass([
310
+ (0, import_sequelize_typescript2.Table)({
311
+ tableName: "md_information_index_group",
312
+ timestamps: false
313
+ })
314
+ ], mdInformationIndexGroup);
315
+ // Annotate the CommonJS export names for ESM import in node:
316
+ 0 && (module.exports = {
317
+ mdInformationIndexGroup
318
+ });