@admc-go-th/admc-library 1.0.36 → 1.0.37

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,8 +6,10 @@ export interface mdFaqAttributes {
6
6
  id?: number;
7
7
  uuid?: string;
8
8
  keyName?: string;
9
+ userId?: number;
9
10
  groupId?: number;
10
11
  title?: string;
12
+ description?: string;
11
13
  detail?: string;
12
14
  attachments?: object;
13
15
  sort?: number;
@@ -47,6 +49,13 @@ export class mdFaq extends Model<mdFaqAttributes, mdFaqAttributes> implements md
47
49
  })
48
50
  declare keyName?: string;
49
51
 
52
+ @Column({
53
+ field: "user_id",
54
+ allowNull: true,
55
+ type: DataType.INTEGER
56
+ })
57
+ declare userId?: number;
58
+
50
59
  @Column({
51
60
  field: "group_id",
52
61
  allowNull: true,
@@ -60,6 +69,12 @@ export class mdFaq extends Model<mdFaqAttributes, mdFaqAttributes> implements md
60
69
  })
61
70
  declare title?: string;
62
71
 
72
+ @Column({
73
+ allowNull: true,
74
+ type: DataType.STRING(255)
75
+ })
76
+ declare description?: string;
77
+
63
78
  @Column({
64
79
  allowNull: true,
65
80
  type: DataType.STRING
@@ -1827,6 +1827,13 @@ __decorateClass([
1827
1827
  type: import_sequelize_typescript18.DataType.STRING(100)
1828
1828
  })
1829
1829
  ], mdFaq.prototype, "keyName", 2);
1830
+ __decorateClass([
1831
+ (0, import_sequelize_typescript18.Column)({
1832
+ field: "user_id",
1833
+ allowNull: true,
1834
+ type: import_sequelize_typescript18.DataType.INTEGER
1835
+ })
1836
+ ], mdFaq.prototype, "userId", 2);
1830
1837
  __decorateClass([
1831
1838
  (0, import_sequelize_typescript18.Column)({
1832
1839
  field: "group_id",
@@ -1840,6 +1847,12 @@ __decorateClass([
1840
1847
  type: import_sequelize_typescript18.DataType.STRING(255)
1841
1848
  })
1842
1849
  ], mdFaq.prototype, "title", 2);
1850
+ __decorateClass([
1851
+ (0, import_sequelize_typescript18.Column)({
1852
+ allowNull: true,
1853
+ type: import_sequelize_typescript18.DataType.STRING(255)
1854
+ })
1855
+ ], mdFaq.prototype, "description", 2);
1843
1856
  __decorateClass([
1844
1857
  (0, import_sequelize_typescript18.Column)({
1845
1858
  allowNull: true,
@@ -4,8 +4,10 @@ interface mdFaqAttributes {
4
4
  id?: number;
5
5
  uuid?: string;
6
6
  keyName?: string;
7
+ userId?: number;
7
8
  groupId?: number;
8
9
  title?: string;
10
+ description?: string;
9
11
  detail?: string;
10
12
  attachments?: object;
11
13
  sort?: number;
@@ -22,8 +24,10 @@ declare class mdFaq extends Model<mdFaqAttributes, mdFaqAttributes> implements m
22
24
  id?: number;
23
25
  uuid?: string;
24
26
  keyName?: string;
27
+ userId?: number;
25
28
  groupId?: number;
26
29
  title?: string;
30
+ description?: string;
27
31
  detail?: string;
28
32
  attachments?: object;
29
33
  sort?: number;
@@ -54,6 +54,13 @@ __decorateClass([
54
54
  type: import_sequelize_typescript.DataType.STRING(100)
55
55
  })
56
56
  ], mdFaq.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
+ ], mdFaq.prototype, "userId", 2);
57
64
  __decorateClass([
58
65
  (0, import_sequelize_typescript.Column)({
59
66
  field: "group_id",
@@ -67,6 +74,12 @@ __decorateClass([
67
74
  type: import_sequelize_typescript.DataType.STRING(255)
68
75
  })
69
76
  ], mdFaq.prototype, "title", 2);
77
+ __decorateClass([
78
+ (0, import_sequelize_typescript.Column)({
79
+ allowNull: true,
80
+ type: import_sequelize_typescript.DataType.STRING(255)
81
+ })
82
+ ], mdFaq.prototype, "description", 2);
70
83
  __decorateClass([
71
84
  (0, import_sequelize_typescript.Column)({
72
85
  allowNull: true,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@admc-go-th/admc-library",
3
- "version": "1.0.36",
3
+ "version": "1.0.37",
4
4
  "description": "",
5
5
  "main": "./index.js",
6
6
  "types": "./index.d.ts",