@admc-go-th/admc-library 1.0.124 → 1.0.126

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 (49) hide show
  1. package/{appReportCorruption-4BY0wm49.d.ts → appReportCorruption-BsdsQQ1q.d.ts} +2 -0
  2. package/{authAssignment-BSZ2AlIE.d.ts → authAssignment-Te_XO-S8.d.ts} +28 -1
  3. package/databases/schema/appQueue.ts +15 -0
  4. package/databases/schema/appQueueTour.ts +7 -0
  5. package/databases/schema/appReportCorruption.ts +9 -1
  6. package/databases/schema/index.ts +5 -0
  7. package/databases/schema/mdQuestionnaire.ts +7 -1
  8. package/databases/schema/mdQuestionnaireData.ts +97 -0
  9. package/databases/schema/msConsultSiteChannel.ts +77 -0
  10. package/databases/schema/msConsultSiteHoliday.ts +99 -0
  11. package/databases/schema/msConsultSiteStaff.ts +76 -0
  12. package/databases/schema/msVariable.ts +68 -0
  13. package/databases/tables/appQueue.d.ts +4 -0
  14. package/databases/tables/appQueue.js +13 -0
  15. package/databases/tables/appQueueTour.d.ts +2 -0
  16. package/databases/tables/appQueueTour.js +6 -0
  17. package/databases/tables/appReportCorruption.d.ts +1 -1
  18. package/databases/tables/appReportCorruption.js +8 -1
  19. package/databases/tables/appReportCorruptionTransaction.d.ts +1 -1
  20. package/databases/tables/appReportCorruptionTransaction.js +8 -1
  21. package/databases/tables/authAssignment.d.ts +1 -1
  22. package/databases/tables/authAssignment.js +262 -172
  23. package/databases/tables/authRole.d.ts +1 -1
  24. package/databases/tables/authRole.js +262 -172
  25. package/databases/tables/authRoleChild.d.ts +1 -1
  26. package/databases/tables/authRoleChild.js +262 -172
  27. package/databases/tables/index.d.ts +6 -2
  28. package/databases/tables/index.js +2510 -2110
  29. package/databases/tables/mdContent.d.ts +1 -1
  30. package/databases/tables/mdContent.js +292 -202
  31. package/databases/tables/mdContentGroup.d.ts +1 -1
  32. package/databases/tables/mdContentGroup.js +292 -202
  33. package/databases/tables/mdQuestionnaire.d.ts +1 -1
  34. package/databases/tables/mdQuestionnaire.js +129 -41
  35. package/databases/tables/mdQuestionnaireData.d.ts +2 -0
  36. package/databases/tables/mdQuestionnaireData.js +992 -0
  37. package/databases/tables/msConsultSiteChannel.d.ts +24 -0
  38. package/databases/tables/msConsultSiteChannel.js +101 -0
  39. package/databases/tables/msConsultSiteHoliday.d.ts +30 -0
  40. package/databases/tables/msConsultSiteHoliday.js +120 -0
  41. package/databases/tables/msConsultSiteStaff.d.ts +24 -0
  42. package/databases/tables/msConsultSiteStaff.js +100 -0
  43. package/databases/tables/msVariable.d.ts +22 -0
  44. package/databases/tables/msVariable.js +93 -0
  45. package/databases/tables/users.d.ts +1 -1
  46. package/databases/tables/users.js +209 -119
  47. package/databases/tables/usersVerify.d.ts +1 -1
  48. package/databases/tables/usersVerify.js +209 -119
  49. package/package.json +1 -1
@@ -47,6 +47,7 @@ interface appReportCorruptionAttributes {
47
47
  isRequestPostOffice?: number;
48
48
  ipAddress?: string;
49
49
  considerationDate?: Date;
50
+ extendDate?: Date;
50
51
  status?: number;
51
52
  createdBy?: string;
52
53
  createdDate?: Date;
@@ -72,6 +73,7 @@ declare class appReportCorruption extends Model<appReportCorruptionAttributes, a
72
73
  isRequestPostOffice?: number;
73
74
  ipAddress?: string;
74
75
  considerationDate?: Date;
76
+ extendDate?: Date;
75
77
  status?: number;
76
78
  createdBy?: string;
77
79
  createdDate?: Date;
@@ -85,6 +85,32 @@ declare class mdContent extends Model<mdContentAttributes, mdContentAttributes>
85
85
  mdContentGroup?: mdContentGroup;
86
86
  }
87
87
 
88
+ interface mdQuestionnaireDataAttributes {
89
+ id?: number;
90
+ uuid?: string;
91
+ questionnaireId?: number;
92
+ dataInfo?: object;
93
+ status?: number;
94
+ ipAddress?: string;
95
+ createdBy?: string;
96
+ createdDate?: Date;
97
+ updatedBy?: string;
98
+ updatedDate?: Date;
99
+ }
100
+ declare class mdQuestionnaireData extends Model<mdQuestionnaireDataAttributes, mdQuestionnaireDataAttributes> implements mdQuestionnaireDataAttributes {
101
+ id?: number;
102
+ uuid?: string;
103
+ questionnaireId?: number;
104
+ dataInfo?: object;
105
+ status?: number;
106
+ ipAddress?: string;
107
+ createdBy?: string;
108
+ createdDate?: Date;
109
+ updatedBy?: string;
110
+ updatedDate?: Date;
111
+ mdQuestionnaire?: mdQuestionnaire;
112
+ }
113
+
88
114
  interface mdQuestionnaireAttributes {
89
115
  id?: number;
90
116
  uuid?: string;
@@ -127,6 +153,7 @@ declare class mdQuestionnaire extends Model<mdQuestionnaireAttributes, mdQuestio
127
153
  updatedBy?: string;
128
154
  updatedDate?: Date;
129
155
  user?: users;
156
+ mdQuestionnaireData?: mdQuestionnaireData[];
130
157
  }
131
158
 
132
159
  interface usersVerifyAttributes {
@@ -268,4 +295,4 @@ declare class authAssignment extends Model<authAssignmentAttributes, authAssignm
268
295
  authRole?: authRole;
269
296
  }
270
297
 
271
- export { type authAssignmentAttributes as a, authAssignment as b, type authRoleAttributes as c, authRole as d, type authRoleChildAttributes as e, authRoleChild as f, mdContent as g, type mdContentGroupAttributes as h, mdContentGroup as i, type mdQuestionnaireAttributes as j, mdQuestionnaire as k, users as l, type mdContentAttributes as m, type usersVerifyAttributes as n, usersVerify as o, type usersAttributes as u };
298
+ export { type authAssignmentAttributes as a, authAssignment as b, type authRoleAttributes as c, authRole as d, type authRoleChildAttributes as e, authRoleChild as f, mdContent as g, type mdContentGroupAttributes as h, mdContentGroup as i, type mdQuestionnaireAttributes as j, mdQuestionnaire as k, type mdQuestionnaireDataAttributes as l, type mdContentAttributes as m, mdQuestionnaireData as n, users as o, type usersVerifyAttributes as p, usersVerify as q, type usersAttributes as u };
@@ -5,6 +5,7 @@ import {
5
5
  export interface appQueueAttributes {
6
6
  id?: number;
7
7
  uuid?: string;
8
+ code?: string;
8
9
  siteId?: number;
9
10
  requestDate?: string;
10
11
  approveDate?: string;
@@ -23,6 +24,7 @@ export interface appQueueAttributes {
23
24
  issues?: string;
24
25
  attachments?: object;
25
26
  ipAddress?: string;
27
+ staffId?: number;
26
28
  status?: number;
27
29
  createdBy?: string;
28
30
  createdDate?: Date;
@@ -49,6 +51,12 @@ export class appQueue extends Model<appQueueAttributes, appQueueAttributes> impl
49
51
  })
50
52
  declare uuid?: string;
51
53
 
54
+ @Column({
55
+ allowNull: true,
56
+ type: DataType.STRING(15)
57
+ })
58
+ declare code?: string;
59
+
52
60
  @Column({
53
61
  field: "site_id",
54
62
  allowNull: true,
@@ -170,6 +178,13 @@ export class appQueue extends Model<appQueueAttributes, appQueueAttributes> impl
170
178
  })
171
179
  declare ipAddress?: string;
172
180
 
181
+ @Column({
182
+ field: "staff_id",
183
+ allowNull: true,
184
+ type: DataType.INTEGER
185
+ })
186
+ declare staffId?: number;
187
+
173
188
  @Column({
174
189
  allowNull: true,
175
190
  type: DataType.INTEGER
@@ -5,6 +5,7 @@ import {
5
5
  export interface appQueueTourAttributes {
6
6
  id?: number;
7
7
  uuid?: string;
8
+ code?: string;
8
9
  requestDate?: string;
9
10
  approveDate?: string;
10
11
  timeSlot?: number;
@@ -47,6 +48,12 @@ export class appQueueTour extends Model<appQueueTourAttributes, appQueueTourAttr
47
48
  })
48
49
  declare uuid?: string;
49
50
 
51
+ @Column({
52
+ allowNull: true,
53
+ type: DataType.STRING(15)
54
+ })
55
+ declare code?: string;
56
+
50
57
  @Column({
51
58
  field: "request_date",
52
59
  allowNull: true,
@@ -22,6 +22,7 @@ export interface appReportCorruptionAttributes {
22
22
  isRequestPostOffice?: number;
23
23
  ipAddress?: string;
24
24
  considerationDate?: Date;
25
+ extendDate?: Date;
25
26
  status?: number;
26
27
  createdBy?: string;
27
28
  createdDate?: Date;
@@ -50,7 +51,7 @@ export class appReportCorruption extends Model<appReportCorruptionAttributes, ap
50
51
 
51
52
  @Column({
52
53
  allowNull: true,
53
- type: DataType.STRING(10)
54
+ type: DataType.STRING(15)
54
55
  })
55
56
  declare code?: string;
56
57
 
@@ -152,6 +153,13 @@ export class appReportCorruption extends Model<appReportCorruptionAttributes, ap
152
153
  })
153
154
  declare considerationDate?: Date;
154
155
 
156
+ @Column({
157
+ field: "extend_date",
158
+ allowNull: true,
159
+ type: DataType.DATE
160
+ })
161
+ declare extendDate?: Date;
162
+
155
163
  @Column({
156
164
  allowNull: true,
157
165
  type: DataType.INTEGER
@@ -43,6 +43,7 @@ export * from "./mdNews";
43
43
  export * from "./mdNewsGroup";
44
44
  export * from "./mdPopup";
45
45
  export * from "./mdQuestionnaire";
46
+ export * from "./mdQuestionnaireData";
46
47
  export * from "./mdSetting";
47
48
  export * from "./mdTranslate";
48
49
  export * from "./mdTranslateGroup";
@@ -54,6 +55,9 @@ export * from "./msConsultCase";
54
55
  export * from "./msConsultChannels";
55
56
  export * from "./msConsultInstructions";
56
57
  export * from "./msConsultService";
58
+ export * from "./msConsultSiteChannel";
59
+ export * from "./msConsultSiteHoliday";
60
+ export * from "./msConsultSiteStaff";
57
61
  export * from "./msExecutive";
58
62
  export * from "./msExecutiveBoard";
59
63
  export * from "./msExecutiveGroup";
@@ -64,6 +68,7 @@ export * from "./msHoliday";
64
68
  export * from "./msModule";
65
69
  export * from "./msProvince";
66
70
  export * from "./msTitle";
71
+ export * from "./msVariable";
67
72
  export * from "./msWebsite";
68
73
  export * from "./oauthAccessToken";
69
74
  export * from "./oauthRefreshToken";
@@ -1,7 +1,8 @@
1
1
  import {
2
- Model, Table, Column, DataType, Index, Sequelize, ForeignKey, BelongsTo
2
+ Model, Table, Column, DataType, Index, Sequelize, ForeignKey, BelongsTo, HasMany
3
3
  } from "sequelize-typescript";
4
4
  import { users } from "./users";
5
+ import { mdQuestionnaireData } from "./mdQuestionnaireData";
5
6
 
6
7
  export interface mdQuestionnaireAttributes {
7
8
  id?: number;
@@ -160,4 +161,9 @@ export class mdQuestionnaire extends Model<mdQuestionnaireAttributes, mdQuestion
160
161
  @BelongsTo(() => users)
161
162
  declare user?: users;
162
163
 
164
+ @HasMany(() => mdQuestionnaireData, {
165
+ sourceKey: "id"
166
+ })
167
+ declare mdQuestionnaireData?: mdQuestionnaireData[];
168
+
163
169
  }
@@ -0,0 +1,97 @@
1
+ import {
2
+ Model, Table, Column, DataType, Index, Sequelize, ForeignKey, BelongsTo
3
+ } from "sequelize-typescript";
4
+ import { mdQuestionnaire } from "./mdQuestionnaire";
5
+
6
+ export interface mdQuestionnaireDataAttributes {
7
+ id?: number;
8
+ uuid?: string;
9
+ questionnaireId?: number;
10
+ dataInfo?: object;
11
+ status?: number;
12
+ ipAddress?: string;
13
+ createdBy?: string;
14
+ createdDate?: Date;
15
+ updatedBy?: string;
16
+ updatedDate?: Date;
17
+ }
18
+
19
+ @Table({
20
+ tableName: "md_questionnaire_data",
21
+ timestamps: false
22
+ })
23
+ export class mdQuestionnaireData extends Model<mdQuestionnaireDataAttributes, mdQuestionnaireDataAttributes> implements mdQuestionnaireDataAttributes {
24
+
25
+ @Column({
26
+ primaryKey: true,
27
+ autoIncrement: true,
28
+ type: DataType.INTEGER
29
+ })
30
+ declare id?: number;
31
+
32
+ @Column({
33
+ allowNull: true,
34
+ type: DataType.STRING(60)
35
+ })
36
+ declare uuid?: string;
37
+
38
+ @ForeignKey(() => mdQuestionnaire)
39
+ @Column({
40
+ field: "questionnaire_id",
41
+ allowNull: true,
42
+ type: DataType.INTEGER
43
+ })
44
+ declare questionnaireId?: number;
45
+
46
+ @Column({
47
+ field: "data_info",
48
+ allowNull: true,
49
+ type: DataType.JSON
50
+ })
51
+ declare dataInfo?: object;
52
+
53
+ @Column({
54
+ allowNull: true,
55
+ type: DataType.INTEGER
56
+ })
57
+ declare status?: number;
58
+
59
+ @Column({
60
+ field: "ip_address",
61
+ allowNull: true,
62
+ type: DataType.STRING(255)
63
+ })
64
+ declare ipAddress?: string;
65
+
66
+ @Column({
67
+ field: "created_by",
68
+ allowNull: true,
69
+ type: DataType.STRING(60)
70
+ })
71
+ declare createdBy?: string;
72
+
73
+ @Column({
74
+ field: "created_date",
75
+ allowNull: true,
76
+ type: DataType.DATE
77
+ })
78
+ declare createdDate?: Date;
79
+
80
+ @Column({
81
+ field: "updated_by",
82
+ allowNull: true,
83
+ type: DataType.STRING(60)
84
+ })
85
+ declare updatedBy?: string;
86
+
87
+ @Column({
88
+ field: "updated_date",
89
+ allowNull: true,
90
+ type: DataType.DATE
91
+ })
92
+ declare updatedDate?: Date;
93
+
94
+ @BelongsTo(() => mdQuestionnaire)
95
+ declare mdQuestionnaire?: mdQuestionnaire;
96
+
97
+ }
@@ -0,0 +1,77 @@
1
+ import {
2
+ Model, Table, Column, DataType, Index, Sequelize, ForeignKey
3
+ } from "sequelize-typescript";
4
+
5
+ export interface msConsultSiteChannelAttributes {
6
+ id?: number;
7
+ siteId?: number;
8
+ channelId?: number;
9
+ status?: number;
10
+ createdBy?: string;
11
+ createdDate?: Date;
12
+ updatedBy?: string;
13
+ updatedDate?: Date;
14
+ }
15
+
16
+ @Table({
17
+ tableName: "ms_consult_site_channel",
18
+ timestamps: false
19
+ })
20
+ export class msConsultSiteChannel extends Model<msConsultSiteChannelAttributes, msConsultSiteChannelAttributes> implements msConsultSiteChannelAttributes {
21
+
22
+ @Column({
23
+ primaryKey: true,
24
+ autoIncrement: true,
25
+ type: DataType.INTEGER
26
+ })
27
+ declare id?: number;
28
+
29
+ @Column({
30
+ field: "site_id",
31
+ allowNull: true,
32
+ type: DataType.INTEGER
33
+ })
34
+ declare siteId?: number;
35
+
36
+ @Column({
37
+ field: "channel_id",
38
+ allowNull: true,
39
+ type: DataType.INTEGER
40
+ })
41
+ declare channelId?: number;
42
+
43
+ @Column({
44
+ allowNull: true,
45
+ type: DataType.INTEGER
46
+ })
47
+ declare status?: number;
48
+
49
+ @Column({
50
+ field: "created_by",
51
+ allowNull: true,
52
+ type: DataType.STRING(60)
53
+ })
54
+ declare createdBy?: string;
55
+
56
+ @Column({
57
+ field: "created_date",
58
+ allowNull: true,
59
+ type: DataType.DATE
60
+ })
61
+ declare createdDate?: Date;
62
+
63
+ @Column({
64
+ field: "updated_by",
65
+ allowNull: true,
66
+ type: DataType.STRING(60)
67
+ })
68
+ declare updatedBy?: string;
69
+
70
+ @Column({
71
+ field: "updated_date",
72
+ allowNull: true,
73
+ type: DataType.DATE
74
+ })
75
+ declare updatedDate?: Date;
76
+
77
+ }
@@ -0,0 +1,99 @@
1
+ import {
2
+ Model, Table, Column, DataType, Index, Sequelize, ForeignKey
3
+ } from "sequelize-typescript";
4
+
5
+ export interface msConsultSiteHolidayAttributes {
6
+ id?: number;
7
+ siteId?: number;
8
+ typeId?: number;
9
+ year?: number;
10
+ name?: string;
11
+ atDate?: string;
12
+ status?: number;
13
+ createdBy?: string;
14
+ createdDate?: Date;
15
+ updatedBy?: string;
16
+ updatedDate?: Date;
17
+ }
18
+
19
+ @Table({
20
+ tableName: "ms_consult_site_holiday",
21
+ timestamps: false
22
+ })
23
+ export class msConsultSiteHoliday extends Model<msConsultSiteHolidayAttributes, msConsultSiteHolidayAttributes> implements msConsultSiteHolidayAttributes {
24
+
25
+ @Column({
26
+ primaryKey: true,
27
+ autoIncrement: true,
28
+ type: DataType.INTEGER
29
+ })
30
+ declare id?: number;
31
+
32
+ @Column({
33
+ field: "site_id",
34
+ allowNull: true,
35
+ type: DataType.INTEGER
36
+ })
37
+ declare siteId?: number;
38
+
39
+ @Column({
40
+ field: "type_id",
41
+ allowNull: true,
42
+ type: DataType.INTEGER
43
+ })
44
+ declare typeId?: number;
45
+
46
+ @Column({
47
+ allowNull: true,
48
+ type: DataType.INTEGER
49
+ })
50
+ declare year?: number;
51
+
52
+ @Column({
53
+ allowNull: true,
54
+ type: DataType.STRING(255)
55
+ })
56
+ declare name?: string;
57
+
58
+ @Column({
59
+ field: "at_date",
60
+ allowNull: true,
61
+ type: DataType.DATEONLY
62
+ })
63
+ declare atDate?: string;
64
+
65
+ @Column({
66
+ allowNull: true,
67
+ type: DataType.INTEGER
68
+ })
69
+ declare status?: number;
70
+
71
+ @Column({
72
+ field: "created_by",
73
+ allowNull: true,
74
+ type: DataType.STRING(60)
75
+ })
76
+ declare createdBy?: string;
77
+
78
+ @Column({
79
+ field: "created_date",
80
+ allowNull: true,
81
+ type: DataType.DATE
82
+ })
83
+ declare createdDate?: Date;
84
+
85
+ @Column({
86
+ field: "updated_by",
87
+ allowNull: true,
88
+ type: DataType.STRING(60)
89
+ })
90
+ declare updatedBy?: string;
91
+
92
+ @Column({
93
+ field: "updated_date",
94
+ allowNull: true,
95
+ type: DataType.DATE
96
+ })
97
+ declare updatedDate?: Date;
98
+
99
+ }
@@ -0,0 +1,76 @@
1
+ import {
2
+ Model, Table, Column, DataType, Index, Sequelize, ForeignKey
3
+ } from "sequelize-typescript";
4
+
5
+ export interface msConsultSiteStaffAttributes {
6
+ id?: number;
7
+ siteId?: number;
8
+ name?: string;
9
+ status?: number;
10
+ createdBy?: string;
11
+ createdDate?: Date;
12
+ updatedBy?: string;
13
+ updatedDate?: Date;
14
+ }
15
+
16
+ @Table({
17
+ tableName: "ms_consult_site_staff",
18
+ timestamps: false
19
+ })
20
+ export class msConsultSiteStaff extends Model<msConsultSiteStaffAttributes, msConsultSiteStaffAttributes> implements msConsultSiteStaffAttributes {
21
+
22
+ @Column({
23
+ primaryKey: true,
24
+ autoIncrement: true,
25
+ type: DataType.INTEGER
26
+ })
27
+ declare id?: number;
28
+
29
+ @Column({
30
+ field: "site_id",
31
+ allowNull: true,
32
+ type: DataType.INTEGER
33
+ })
34
+ declare siteId?: number;
35
+
36
+ @Column({
37
+ allowNull: true,
38
+ type: DataType.STRING(255)
39
+ })
40
+ declare name?: string;
41
+
42
+ @Column({
43
+ allowNull: true,
44
+ type: DataType.INTEGER
45
+ })
46
+ declare status?: number;
47
+
48
+ @Column({
49
+ field: "created_by",
50
+ allowNull: true,
51
+ type: DataType.STRING(60)
52
+ })
53
+ declare createdBy?: string;
54
+
55
+ @Column({
56
+ field: "created_date",
57
+ allowNull: true,
58
+ type: DataType.DATE
59
+ })
60
+ declare createdDate?: Date;
61
+
62
+ @Column({
63
+ field: "updated_by",
64
+ allowNull: true,
65
+ type: DataType.STRING(60)
66
+ })
67
+ declare updatedBy?: string;
68
+
69
+ @Column({
70
+ field: "updated_date",
71
+ allowNull: true,
72
+ type: DataType.DATE
73
+ })
74
+ declare updatedDate?: Date;
75
+
76
+ }
@@ -0,0 +1,68 @@
1
+ import {
2
+ Model, Table, Column, DataType, Index, Sequelize, ForeignKey
3
+ } from "sequelize-typescript";
4
+
5
+ export interface msVariableAttributes {
6
+ id?: number;
7
+ name?: string;
8
+ data?: object;
9
+ createdBy?: string;
10
+ createdDate?: Date;
11
+ updatedBy?: string;
12
+ updatedDate?: Date;
13
+ }
14
+
15
+ @Table({
16
+ tableName: "ms_variable",
17
+ timestamps: false
18
+ })
19
+ export class msVariable extends Model<msVariableAttributes, msVariableAttributes> implements msVariableAttributes {
20
+
21
+ @Column({
22
+ primaryKey: true,
23
+ autoIncrement: true,
24
+ type: DataType.INTEGER
25
+ })
26
+ declare id?: number;
27
+
28
+ @Column({
29
+ allowNull: true,
30
+ type: DataType.STRING(255)
31
+ })
32
+ declare name?: string;
33
+
34
+ @Column({
35
+ allowNull: true,
36
+ type: DataType.JSON
37
+ })
38
+ declare data?: object;
39
+
40
+ @Column({
41
+ field: "created_by",
42
+ allowNull: true,
43
+ type: DataType.STRING(60)
44
+ })
45
+ declare createdBy?: string;
46
+
47
+ @Column({
48
+ field: "created_date",
49
+ allowNull: true,
50
+ type: DataType.DATE
51
+ })
52
+ declare createdDate?: Date;
53
+
54
+ @Column({
55
+ field: "updated_by",
56
+ allowNull: true,
57
+ type: DataType.STRING(60)
58
+ })
59
+ declare updatedBy?: string;
60
+
61
+ @Column({
62
+ field: "updated_date",
63
+ allowNull: true,
64
+ type: DataType.DATE
65
+ })
66
+ declare updatedDate?: Date;
67
+
68
+ }
@@ -3,6 +3,7 @@ import { Model } from 'sequelize-typescript';
3
3
  interface appQueueAttributes {
4
4
  id?: number;
5
5
  uuid?: string;
6
+ code?: string;
6
7
  siteId?: number;
7
8
  requestDate?: string;
8
9
  approveDate?: string;
@@ -21,6 +22,7 @@ interface appQueueAttributes {
21
22
  issues?: string;
22
23
  attachments?: object;
23
24
  ipAddress?: string;
25
+ staffId?: number;
24
26
  status?: number;
25
27
  createdBy?: string;
26
28
  createdDate?: Date;
@@ -30,6 +32,7 @@ interface appQueueAttributes {
30
32
  declare class appQueue extends Model<appQueueAttributes, appQueueAttributes> implements appQueueAttributes {
31
33
  id?: number;
32
34
  uuid?: string;
35
+ code?: string;
33
36
  siteId?: number;
34
37
  requestDate?: string;
35
38
  approveDate?: string;
@@ -48,6 +51,7 @@ declare class appQueue extends Model<appQueueAttributes, appQueueAttributes> imp
48
51
  issues?: string;
49
52
  attachments?: object;
50
53
  ipAddress?: string;
54
+ staffId?: number;
51
55
  status?: number;
52
56
  createdBy?: string;
53
57
  createdDate?: Date;
@@ -47,6 +47,12 @@ __decorateClass([
47
47
  type: import_sequelize_typescript.DataType.STRING(60)
48
48
  })
49
49
  ], appQueue.prototype, "uuid", 2);
50
+ __decorateClass([
51
+ (0, import_sequelize_typescript.Column)({
52
+ allowNull: true,
53
+ type: import_sequelize_typescript.DataType.STRING(15)
54
+ })
55
+ ], appQueue.prototype, "code", 2);
50
56
  __decorateClass([
51
57
  (0, import_sequelize_typescript.Column)({
52
58
  field: "site_id",
@@ -168,6 +174,13 @@ __decorateClass([
168
174
  type: import_sequelize_typescript.DataType.STRING(30)
169
175
  })
170
176
  ], appQueue.prototype, "ipAddress", 2);
177
+ __decorateClass([
178
+ (0, import_sequelize_typescript.Column)({
179
+ field: "staff_id",
180
+ allowNull: true,
181
+ type: import_sequelize_typescript.DataType.INTEGER
182
+ })
183
+ ], appQueue.prototype, "staffId", 2);
171
184
  __decorateClass([
172
185
  (0, import_sequelize_typescript.Column)({
173
186
  allowNull: true,
@@ -3,6 +3,7 @@ import { Model } from 'sequelize-typescript';
3
3
  interface appQueueTourAttributes {
4
4
  id?: number;
5
5
  uuid?: string;
6
+ code?: string;
6
7
  requestDate?: string;
7
8
  approveDate?: string;
8
9
  timeSlot?: number;
@@ -28,6 +29,7 @@ interface appQueueTourAttributes {
28
29
  declare class appQueueTour extends Model<appQueueTourAttributes, appQueueTourAttributes> implements appQueueTourAttributes {
29
30
  id?: number;
30
31
  uuid?: string;
32
+ code?: string;
31
33
  requestDate?: string;
32
34
  approveDate?: string;
33
35
  timeSlot?: number;