@admc-go-th/admc-library 1.0.39 → 1.0.40
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.
|
@@ -6,6 +6,7 @@ export interface mdNewsGroupAttributes {
|
|
|
6
6
|
id?: number;
|
|
7
7
|
uuid?: string;
|
|
8
8
|
keyName?: string;
|
|
9
|
+
userId?: number;
|
|
9
10
|
name: string;
|
|
10
11
|
description?: string;
|
|
11
12
|
status?: number;
|
|
@@ -41,6 +42,13 @@ export class mdNewsGroup extends Model<mdNewsGroupAttributes, mdNewsGroupAttribu
|
|
|
41
42
|
})
|
|
42
43
|
declare keyName?: string;
|
|
43
44
|
|
|
45
|
+
@Column({
|
|
46
|
+
field: "user_id",
|
|
47
|
+
allowNull: true,
|
|
48
|
+
type: DataType.INTEGER
|
|
49
|
+
})
|
|
50
|
+
declare userId?: number;
|
|
51
|
+
|
|
44
52
|
@Column({
|
|
45
53
|
type: DataType.STRING(255)
|
|
46
54
|
})
|
|
@@ -2338,6 +2338,13 @@ __decorateClass([
|
|
|
2338
2338
|
type: import_sequelize_typescript22.DataType.STRING(100)
|
|
2339
2339
|
})
|
|
2340
2340
|
], mdNewsGroup.prototype, "keyName", 2);
|
|
2341
|
+
__decorateClass([
|
|
2342
|
+
(0, import_sequelize_typescript22.Column)({
|
|
2343
|
+
field: "user_id",
|
|
2344
|
+
allowNull: true,
|
|
2345
|
+
type: import_sequelize_typescript22.DataType.INTEGER
|
|
2346
|
+
})
|
|
2347
|
+
], mdNewsGroup.prototype, "userId", 2);
|
|
2341
2348
|
__decorateClass([
|
|
2342
2349
|
(0, import_sequelize_typescript22.Column)({
|
|
2343
2350
|
type: import_sequelize_typescript22.DataType.STRING(255)
|
|
@@ -4,6 +4,7 @@ interface mdNewsGroupAttributes {
|
|
|
4
4
|
id?: number;
|
|
5
5
|
uuid?: string;
|
|
6
6
|
keyName?: string;
|
|
7
|
+
userId?: number;
|
|
7
8
|
name: string;
|
|
8
9
|
description?: string;
|
|
9
10
|
status?: number;
|
|
@@ -16,6 +17,7 @@ declare class mdNewsGroup extends Model<mdNewsGroupAttributes, mdNewsGroupAttrib
|
|
|
16
17
|
id?: number;
|
|
17
18
|
uuid?: string;
|
|
18
19
|
keyName?: string;
|
|
20
|
+
userId?: number;
|
|
19
21
|
name: string;
|
|
20
22
|
description?: string;
|
|
21
23
|
status?: number;
|
|
@@ -54,6 +54,13 @@ __decorateClass([
|
|
|
54
54
|
type: import_sequelize_typescript.DataType.STRING(100)
|
|
55
55
|
})
|
|
56
56
|
], mdNewsGroup.prototype, "keyName", 2);
|
|
57
|
+
__decorateClass([
|
|
58
|
+
(0, import_sequelize_typescript.Column)({
|
|
59
|
+
field: "user_id",
|
|
60
|
+
allowNull: true,
|
|
61
|
+
type: import_sequelize_typescript.DataType.INTEGER
|
|
62
|
+
})
|
|
63
|
+
], mdNewsGroup.prototype, "userId", 2);
|
|
57
64
|
__decorateClass([
|
|
58
65
|
(0, import_sequelize_typescript.Column)({
|
|
59
66
|
type: import_sequelize_typescript.DataType.STRING(255)
|