@admc-go-th/admc-library 1.0.129 → 1.0.132
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.
- package/appQueue-HW5J6Gb9.d.ts +162 -0
- package/{authAssignment-BAUCoEP6.d.ts → authAssignment-De3034JH.d.ts} +16 -0
- package/databases/schema/appQueue.ts +93 -3
- package/databases/schema/appReportCorruption.ts +1 -1
- package/databases/schema/appScore.ts +8 -0
- package/databases/schema/files.ts +7 -0
- package/databases/schema/formFaq.ts +126 -126
- package/databases/schema/index.ts +10 -5
- package/databases/schema/informationIndex.ts +211 -211
- package/databases/schema/informationIndexGroup.ts +103 -103
- package/databases/schema/mdBanner.ts +8 -0
- package/databases/schema/mdDownloadBk.ts +136 -136
- package/databases/schema/mdEbookGroup.ts +8 -0
- package/databases/schema/msConsultCase.ts +0 -8
- package/databases/schema/msConsultChannels.ts +14 -1
- package/databases/schema/msConsultSiteCase.ts +91 -0
- package/databases/schema/msConsultSiteIssue.ts +84 -0
- package/databases/schema/msExecutiveActing.ts +75 -0
- package/databases/schema/msExecutiveBoard.ts +82 -82
- package/databases/schema/msExecutiveBoardBk.ts +83 -0
- package/databases/schema/msExecutivePosition.ts +117 -117
- package/databases/schema/msExecutivePositionBk.ts +112 -0
- package/databases/schema/msGuidelines.ts +88 -88
- package/databases/schema/msOrganization.ts +139 -0
- package/databases/schema/msPosition.ts +76 -0
- package/databases/schema/msQueueTourFaq.ts +90 -0
- package/databases/schema/msQueueTourGuidelines.ts +90 -0
- package/databases/schema/msWebsite.ts +7 -1
- package/databases/schema/setting.ts +73 -73
- package/databases/schema/userPermissionV.ts +78 -0
- package/databases/schema/users.ts +62 -0
- package/databases/tables/appQueue.d.ts +2 -62
- package/databases/tables/appQueue.js +380 -54
- package/databases/tables/appReportCorruption.js +1 -1
- package/databases/tables/appReportCorruptionTransaction.js +1 -1
- package/databases/tables/appScore.d.ts +2 -0
- package/databases/tables/appScore.js +7 -0
- package/databases/tables/authAssignment.d.ts +1 -1
- package/databases/tables/authAssignment.js +54 -0
- package/databases/tables/authRole.d.ts +1 -1
- package/databases/tables/authRole.js +54 -0
- package/databases/tables/authRoleChild.d.ts +1 -1
- package/databases/tables/authRoleChild.js +54 -0
- package/databases/tables/files.d.ts +1 -1
- package/databases/tables/files.js +13 -0
- package/databases/tables/index.d.ts +15 -11
- package/databases/tables/index.js +4440 -3810
- package/databases/tables/mdBanner.d.ts +1 -1
- package/databases/tables/mdBanner.js +13 -0
- package/databases/tables/mdContent.d.ts +1 -1
- package/databases/tables/mdContent.js +54 -0
- package/databases/tables/mdContentGroup.d.ts +1 -1
- package/databases/tables/mdContentGroup.js +54 -0
- package/databases/tables/mdEbook.d.ts +1 -1
- package/databases/tables/mdEbook.js +7 -0
- package/databases/tables/mdEbookGroup.d.ts +1 -1
- package/databases/tables/mdEbookGroup.js +7 -0
- package/databases/tables/mdQuestionnaire.d.ts +1 -1
- package/databases/tables/mdQuestionnaire.js +54 -0
- package/databases/tables/mdQuestionnaireData.d.ts +1 -1
- package/databases/tables/mdQuestionnaireData.js +54 -0
- package/databases/tables/msConsultCase.d.ts +0 -2
- package/databases/tables/msConsultCase.js +0 -7
- package/databases/tables/msConsultChannels.d.ts +2 -24
- package/databases/tables/msConsultChannels.js +469 -13
- package/databases/tables/msConsultSiteCase.d.ts +28 -0
- package/databases/tables/msConsultSiteCase.js +113 -0
- package/databases/tables/msConsultSiteIssue.d.ts +26 -0
- package/databases/tables/msConsultSiteIssue.js +107 -0
- package/databases/tables/msExecutiveActing.d.ts +24 -0
- package/databases/tables/msExecutiveActing.js +99 -0
- package/databases/tables/msExecutiveBoardBk.d.ts +26 -0
- package/databases/tables/msExecutiveBoardBk.js +106 -0
- package/databases/tables/msExecutivePositionBk.d.ts +34 -0
- package/databases/tables/msExecutivePositionBk.js +131 -0
- package/databases/tables/msOrganization.d.ts +40 -0
- package/databases/tables/msOrganization.js +155 -0
- package/databases/tables/msPosition.d.ts +24 -0
- package/databases/tables/msPosition.js +100 -0
- package/databases/tables/msQueueTourFaq.d.ts +28 -0
- package/databases/tables/msQueueTourFaq.js +112 -0
- package/databases/tables/msQueueTourGuidelines.d.ts +28 -0
- package/databases/tables/msQueueTourGuidelines.js +112 -0
- package/databases/tables/msWebsite.d.ts +2 -56
- package/databases/tables/msWebsite.js +400 -46
- package/databases/tables/userPermissionV.d.ts +26 -0
- package/databases/tables/userPermissionV.js +101 -0
- package/databases/tables/users.d.ts +1 -1
- package/databases/tables/users.js +54 -0
- package/databases/tables/usersVerify.d.ts +1 -1
- package/databases/tables/usersVerify.js +54 -0
- package/{files-Dp2zDQAj.d.ts → files-CXIMD4Bk.d.ts} +4 -0
- package/{mdEbook-yzNQjFhx.d.ts → mdEbook-DVvRlFVe.d.ts} +2 -0
- package/package.json +1 -1
|
@@ -1,137 +1,137 @@
|
|
|
1
|
-
import {
|
|
2
|
-
Model, Table, Column, DataType, Index, Sequelize, ForeignKey
|
|
3
|
-
} from "sequelize-typescript";
|
|
4
|
-
|
|
5
|
-
export interface mdDownloadBkAttributes {
|
|
6
|
-
id?: number;
|
|
7
|
-
uuid?: string;
|
|
8
|
-
keyName?: string;
|
|
9
|
-
title?: string;
|
|
10
|
-
description?: string;
|
|
11
|
-
fileUuid?: string;
|
|
12
|
-
totalDownload?: number;
|
|
13
|
-
sort?: number;
|
|
14
|
-
status?: number;
|
|
15
|
-
hasExpire?: number;
|
|
16
|
-
startDate?: Date;
|
|
17
|
-
expireDate?: Date;
|
|
18
|
-
createdBy?: string;
|
|
19
|
-
createdDate?: Date;
|
|
20
|
-
updatedBy?: string;
|
|
21
|
-
updatedDate?: Date;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
@Table({
|
|
25
|
-
tableName: "md_download@bk",
|
|
26
|
-
timestamps: false
|
|
27
|
-
})
|
|
28
|
-
export class mdDownloadBk extends Model<mdDownloadBkAttributes, mdDownloadBkAttributes> implements mdDownloadBkAttributes {
|
|
29
|
-
|
|
30
|
-
@Column({
|
|
31
|
-
primaryKey: true,
|
|
32
|
-
autoIncrement: true,
|
|
33
|
-
type: DataType.INTEGER
|
|
34
|
-
})
|
|
35
|
-
declare id?: number;
|
|
36
|
-
|
|
37
|
-
@Column({
|
|
38
|
-
allowNull: true,
|
|
39
|
-
type: DataType.STRING(60)
|
|
40
|
-
})
|
|
41
|
-
declare uuid?: string;
|
|
42
|
-
|
|
43
|
-
@Column({
|
|
44
|
-
field: "key_name",
|
|
45
|
-
allowNull: true,
|
|
46
|
-
type: DataType.STRING(100)
|
|
47
|
-
})
|
|
48
|
-
declare keyName?: string;
|
|
49
|
-
|
|
50
|
-
@Column({
|
|
51
|
-
allowNull: true,
|
|
52
|
-
type: DataType.STRING(255)
|
|
53
|
-
})
|
|
54
|
-
declare title?: string;
|
|
55
|
-
|
|
56
|
-
@Column({
|
|
57
|
-
allowNull: true,
|
|
58
|
-
type: DataType.STRING
|
|
59
|
-
})
|
|
60
|
-
declare description?: string;
|
|
61
|
-
|
|
62
|
-
@Column({
|
|
63
|
-
field: "file_uuid",
|
|
64
|
-
allowNull: true,
|
|
65
|
-
type: DataType.STRING(60)
|
|
66
|
-
})
|
|
67
|
-
declare fileUuid?: string;
|
|
68
|
-
|
|
69
|
-
@Column({
|
|
70
|
-
field: "total_download",
|
|
71
|
-
allowNull: true,
|
|
72
|
-
type: DataType.INTEGER
|
|
73
|
-
})
|
|
74
|
-
declare totalDownload?: number;
|
|
75
|
-
|
|
76
|
-
@Column({
|
|
77
|
-
allowNull: true,
|
|
78
|
-
type: DataType.INTEGER
|
|
79
|
-
})
|
|
80
|
-
declare sort?: number;
|
|
81
|
-
|
|
82
|
-
@Column({
|
|
83
|
-
allowNull: true,
|
|
84
|
-
type: DataType.INTEGER
|
|
85
|
-
})
|
|
86
|
-
declare status?: number;
|
|
87
|
-
|
|
88
|
-
@Column({
|
|
89
|
-
field: "has_expire",
|
|
90
|
-
allowNull: true,
|
|
91
|
-
type: DataType.INTEGER
|
|
92
|
-
})
|
|
93
|
-
declare hasExpire?: number;
|
|
94
|
-
|
|
95
|
-
@Column({
|
|
96
|
-
field: "start_date",
|
|
97
|
-
allowNull: true,
|
|
98
|
-
type: DataType.DATE
|
|
99
|
-
})
|
|
100
|
-
declare startDate?: Date;
|
|
101
|
-
|
|
102
|
-
@Column({
|
|
103
|
-
field: "expire_date",
|
|
104
|
-
allowNull: true,
|
|
105
|
-
type: DataType.DATE
|
|
106
|
-
})
|
|
107
|
-
declare expireDate?: Date;
|
|
108
|
-
|
|
109
|
-
@Column({
|
|
110
|
-
field: "created_by",
|
|
111
|
-
allowNull: true,
|
|
112
|
-
type: DataType.STRING(60)
|
|
113
|
-
})
|
|
114
|
-
declare createdBy?: string;
|
|
115
|
-
|
|
116
|
-
@Column({
|
|
117
|
-
field: "created_date",
|
|
118
|
-
allowNull: true,
|
|
119
|
-
type: DataType.DATE
|
|
120
|
-
})
|
|
121
|
-
declare createdDate?: Date;
|
|
122
|
-
|
|
123
|
-
@Column({
|
|
124
|
-
field: "updated_by",
|
|
125
|
-
allowNull: true,
|
|
126
|
-
type: DataType.STRING(60)
|
|
127
|
-
})
|
|
128
|
-
declare updatedBy?: string;
|
|
129
|
-
|
|
130
|
-
@Column({
|
|
131
|
-
field: "updated_date",
|
|
132
|
-
allowNull: true,
|
|
133
|
-
type: DataType.DATE
|
|
134
|
-
})
|
|
135
|
-
declare updatedDate?: Date;
|
|
136
|
-
|
|
1
|
+
import {
|
|
2
|
+
Model, Table, Column, DataType, Index, Sequelize, ForeignKey
|
|
3
|
+
} from "sequelize-typescript";
|
|
4
|
+
|
|
5
|
+
export interface mdDownloadBkAttributes {
|
|
6
|
+
id?: number;
|
|
7
|
+
uuid?: string;
|
|
8
|
+
keyName?: string;
|
|
9
|
+
title?: string;
|
|
10
|
+
description?: string;
|
|
11
|
+
fileUuid?: string;
|
|
12
|
+
totalDownload?: number;
|
|
13
|
+
sort?: number;
|
|
14
|
+
status?: number;
|
|
15
|
+
hasExpire?: number;
|
|
16
|
+
startDate?: Date;
|
|
17
|
+
expireDate?: Date;
|
|
18
|
+
createdBy?: string;
|
|
19
|
+
createdDate?: Date;
|
|
20
|
+
updatedBy?: string;
|
|
21
|
+
updatedDate?: Date;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
@Table({
|
|
25
|
+
tableName: "md_download@bk",
|
|
26
|
+
timestamps: false
|
|
27
|
+
})
|
|
28
|
+
export class mdDownloadBk extends Model<mdDownloadBkAttributes, mdDownloadBkAttributes> implements mdDownloadBkAttributes {
|
|
29
|
+
|
|
30
|
+
@Column({
|
|
31
|
+
primaryKey: true,
|
|
32
|
+
autoIncrement: true,
|
|
33
|
+
type: DataType.INTEGER
|
|
34
|
+
})
|
|
35
|
+
declare id?: number;
|
|
36
|
+
|
|
37
|
+
@Column({
|
|
38
|
+
allowNull: true,
|
|
39
|
+
type: DataType.STRING(60)
|
|
40
|
+
})
|
|
41
|
+
declare uuid?: string;
|
|
42
|
+
|
|
43
|
+
@Column({
|
|
44
|
+
field: "key_name",
|
|
45
|
+
allowNull: true,
|
|
46
|
+
type: DataType.STRING(100)
|
|
47
|
+
})
|
|
48
|
+
declare keyName?: string;
|
|
49
|
+
|
|
50
|
+
@Column({
|
|
51
|
+
allowNull: true,
|
|
52
|
+
type: DataType.STRING(255)
|
|
53
|
+
})
|
|
54
|
+
declare title?: string;
|
|
55
|
+
|
|
56
|
+
@Column({
|
|
57
|
+
allowNull: true,
|
|
58
|
+
type: DataType.STRING
|
|
59
|
+
})
|
|
60
|
+
declare description?: string;
|
|
61
|
+
|
|
62
|
+
@Column({
|
|
63
|
+
field: "file_uuid",
|
|
64
|
+
allowNull: true,
|
|
65
|
+
type: DataType.STRING(60)
|
|
66
|
+
})
|
|
67
|
+
declare fileUuid?: string;
|
|
68
|
+
|
|
69
|
+
@Column({
|
|
70
|
+
field: "total_download",
|
|
71
|
+
allowNull: true,
|
|
72
|
+
type: DataType.INTEGER
|
|
73
|
+
})
|
|
74
|
+
declare totalDownload?: number;
|
|
75
|
+
|
|
76
|
+
@Column({
|
|
77
|
+
allowNull: true,
|
|
78
|
+
type: DataType.INTEGER
|
|
79
|
+
})
|
|
80
|
+
declare sort?: number;
|
|
81
|
+
|
|
82
|
+
@Column({
|
|
83
|
+
allowNull: true,
|
|
84
|
+
type: DataType.INTEGER
|
|
85
|
+
})
|
|
86
|
+
declare status?: number;
|
|
87
|
+
|
|
88
|
+
@Column({
|
|
89
|
+
field: "has_expire",
|
|
90
|
+
allowNull: true,
|
|
91
|
+
type: DataType.INTEGER
|
|
92
|
+
})
|
|
93
|
+
declare hasExpire?: number;
|
|
94
|
+
|
|
95
|
+
@Column({
|
|
96
|
+
field: "start_date",
|
|
97
|
+
allowNull: true,
|
|
98
|
+
type: DataType.DATE
|
|
99
|
+
})
|
|
100
|
+
declare startDate?: Date;
|
|
101
|
+
|
|
102
|
+
@Column({
|
|
103
|
+
field: "expire_date",
|
|
104
|
+
allowNull: true,
|
|
105
|
+
type: DataType.DATE
|
|
106
|
+
})
|
|
107
|
+
declare expireDate?: Date;
|
|
108
|
+
|
|
109
|
+
@Column({
|
|
110
|
+
field: "created_by",
|
|
111
|
+
allowNull: true,
|
|
112
|
+
type: DataType.STRING(60)
|
|
113
|
+
})
|
|
114
|
+
declare createdBy?: string;
|
|
115
|
+
|
|
116
|
+
@Column({
|
|
117
|
+
field: "created_date",
|
|
118
|
+
allowNull: true,
|
|
119
|
+
type: DataType.DATE
|
|
120
|
+
})
|
|
121
|
+
declare createdDate?: Date;
|
|
122
|
+
|
|
123
|
+
@Column({
|
|
124
|
+
field: "updated_by",
|
|
125
|
+
allowNull: true,
|
|
126
|
+
type: DataType.STRING(60)
|
|
127
|
+
})
|
|
128
|
+
declare updatedBy?: string;
|
|
129
|
+
|
|
130
|
+
@Column({
|
|
131
|
+
field: "updated_date",
|
|
132
|
+
allowNull: true,
|
|
133
|
+
type: DataType.DATE
|
|
134
|
+
})
|
|
135
|
+
declare updatedDate?: Date;
|
|
136
|
+
|
|
137
137
|
}
|
|
@@ -8,6 +8,7 @@ export interface mdEbookGroupAttributes {
|
|
|
8
8
|
uuid?: string;
|
|
9
9
|
keyName?: string;
|
|
10
10
|
userId?: number;
|
|
11
|
+
typeId?: number;
|
|
11
12
|
name: string;
|
|
12
13
|
description?: string;
|
|
13
14
|
sort?: number;
|
|
@@ -51,6 +52,13 @@ export class mdEbookGroup extends Model<mdEbookGroupAttributes, mdEbookGroupAttr
|
|
|
51
52
|
})
|
|
52
53
|
declare userId?: number;
|
|
53
54
|
|
|
55
|
+
@Column({
|
|
56
|
+
field: "type_id",
|
|
57
|
+
allowNull: true,
|
|
58
|
+
type: DataType.INTEGER
|
|
59
|
+
})
|
|
60
|
+
declare typeId?: number;
|
|
61
|
+
|
|
54
62
|
@Column({
|
|
55
63
|
type: DataType.STRING(255)
|
|
56
64
|
})
|
|
@@ -4,7 +4,6 @@ import {
|
|
|
4
4
|
|
|
5
5
|
export interface msConsultCaseAttributes {
|
|
6
6
|
id?: number;
|
|
7
|
-
siteId?: number;
|
|
8
7
|
name?: string;
|
|
9
8
|
sort?: number;
|
|
10
9
|
status?: number;
|
|
@@ -27,13 +26,6 @@ export class msConsultCase extends Model<msConsultCaseAttributes, msConsultCaseA
|
|
|
27
26
|
})
|
|
28
27
|
declare id?: number;
|
|
29
28
|
|
|
30
|
-
@Column({
|
|
31
|
-
field: "site_id",
|
|
32
|
-
allowNull: true,
|
|
33
|
-
type: DataType.INTEGER
|
|
34
|
-
})
|
|
35
|
-
declare siteId?: number;
|
|
36
|
-
|
|
37
29
|
@Column({
|
|
38
30
|
allowNull: true,
|
|
39
31
|
type: DataType.STRING(255)
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
|
-
Model, Table, Column, DataType, Index, Sequelize, ForeignKey
|
|
2
|
+
Model, Table, Column, DataType, Index, Sequelize, ForeignKey, HasMany
|
|
3
3
|
} from "sequelize-typescript";
|
|
4
|
+
import { appQueue } from "./appQueue";
|
|
4
5
|
|
|
5
6
|
export interface msConsultChannelsAttributes {
|
|
6
7
|
id?: number;
|
|
7
8
|
name?: string;
|
|
8
9
|
sort?: number;
|
|
10
|
+
message?: string;
|
|
9
11
|
status?: number;
|
|
10
12
|
createdBy?: string;
|
|
11
13
|
createdDate?: Date;
|
|
@@ -38,6 +40,12 @@ export class msConsultChannels extends Model<msConsultChannelsAttributes, msCons
|
|
|
38
40
|
})
|
|
39
41
|
declare sort?: number;
|
|
40
42
|
|
|
43
|
+
@Column({
|
|
44
|
+
allowNull: true,
|
|
45
|
+
type: DataType.STRING(255)
|
|
46
|
+
})
|
|
47
|
+
declare message?: string;
|
|
48
|
+
|
|
41
49
|
@Column({
|
|
42
50
|
allowNull: true,
|
|
43
51
|
type: DataType.INTEGER
|
|
@@ -72,4 +80,9 @@ export class msConsultChannels extends Model<msConsultChannelsAttributes, msCons
|
|
|
72
80
|
})
|
|
73
81
|
declare updatedDate?: Date;
|
|
74
82
|
|
|
83
|
+
@HasMany(() => appQueue, {
|
|
84
|
+
sourceKey: "id"
|
|
85
|
+
})
|
|
86
|
+
declare appQueues?: appQueue[];
|
|
87
|
+
|
|
75
88
|
}
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Model, Table, Column, DataType, Index, Sequelize, ForeignKey
|
|
3
|
+
} from "sequelize-typescript";
|
|
4
|
+
|
|
5
|
+
export interface msConsultSiteCaseAttributes {
|
|
6
|
+
id?: number;
|
|
7
|
+
siteId?: number;
|
|
8
|
+
caseId?: number;
|
|
9
|
+
name?: string;
|
|
10
|
+
detail?: string;
|
|
11
|
+
status?: number;
|
|
12
|
+
createdBy?: string;
|
|
13
|
+
createdDate?: Date;
|
|
14
|
+
updatedBy?: string;
|
|
15
|
+
updatedDate?: Date;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
@Table({
|
|
19
|
+
tableName: "ms_consult_site_case",
|
|
20
|
+
timestamps: false
|
|
21
|
+
})
|
|
22
|
+
export class msConsultSiteCase extends Model<msConsultSiteCaseAttributes, msConsultSiteCaseAttributes> implements msConsultSiteCaseAttributes {
|
|
23
|
+
|
|
24
|
+
@Column({
|
|
25
|
+
primaryKey: true,
|
|
26
|
+
autoIncrement: true,
|
|
27
|
+
type: DataType.INTEGER
|
|
28
|
+
})
|
|
29
|
+
declare id?: number;
|
|
30
|
+
|
|
31
|
+
@Column({
|
|
32
|
+
field: "site_id",
|
|
33
|
+
allowNull: true,
|
|
34
|
+
type: DataType.INTEGER
|
|
35
|
+
})
|
|
36
|
+
declare siteId?: number;
|
|
37
|
+
|
|
38
|
+
@Column({
|
|
39
|
+
field: "case_id",
|
|
40
|
+
allowNull: true,
|
|
41
|
+
type: DataType.INTEGER
|
|
42
|
+
})
|
|
43
|
+
declare caseId?: number;
|
|
44
|
+
|
|
45
|
+
@Column({
|
|
46
|
+
allowNull: true,
|
|
47
|
+
type: DataType.STRING(255)
|
|
48
|
+
})
|
|
49
|
+
declare name?: string;
|
|
50
|
+
|
|
51
|
+
@Column({
|
|
52
|
+
allowNull: true,
|
|
53
|
+
type: DataType.STRING
|
|
54
|
+
})
|
|
55
|
+
declare detail?: string;
|
|
56
|
+
|
|
57
|
+
@Column({
|
|
58
|
+
allowNull: true,
|
|
59
|
+
type: DataType.INTEGER
|
|
60
|
+
})
|
|
61
|
+
declare status?: number;
|
|
62
|
+
|
|
63
|
+
@Column({
|
|
64
|
+
field: "created_by",
|
|
65
|
+
allowNull: true,
|
|
66
|
+
type: DataType.STRING(60)
|
|
67
|
+
})
|
|
68
|
+
declare createdBy?: string;
|
|
69
|
+
|
|
70
|
+
@Column({
|
|
71
|
+
field: "created_date",
|
|
72
|
+
allowNull: true,
|
|
73
|
+
type: DataType.DATE
|
|
74
|
+
})
|
|
75
|
+
declare createdDate?: Date;
|
|
76
|
+
|
|
77
|
+
@Column({
|
|
78
|
+
field: "updated_by",
|
|
79
|
+
allowNull: true,
|
|
80
|
+
type: DataType.STRING(60)
|
|
81
|
+
})
|
|
82
|
+
declare updatedBy?: string;
|
|
83
|
+
|
|
84
|
+
@Column({
|
|
85
|
+
field: "updated_date",
|
|
86
|
+
allowNull: true,
|
|
87
|
+
type: DataType.DATE
|
|
88
|
+
})
|
|
89
|
+
declare updatedDate?: Date;
|
|
90
|
+
|
|
91
|
+
}
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Model, Table, Column, DataType, Index, Sequelize, ForeignKey
|
|
3
|
+
} from "sequelize-typescript";
|
|
4
|
+
|
|
5
|
+
export interface msConsultSiteIssueAttributes {
|
|
6
|
+
id?: number;
|
|
7
|
+
siteId?: number;
|
|
8
|
+
name?: string;
|
|
9
|
+
detail?: string;
|
|
10
|
+
status?: number;
|
|
11
|
+
createdBy?: string;
|
|
12
|
+
createdDate?: Date;
|
|
13
|
+
updatedBy?: string;
|
|
14
|
+
updatedDate?: Date;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
@Table({
|
|
18
|
+
tableName: "ms_consult_site_issue",
|
|
19
|
+
timestamps: false
|
|
20
|
+
})
|
|
21
|
+
export class msConsultSiteIssue extends Model<msConsultSiteIssueAttributes, msConsultSiteIssueAttributes> implements msConsultSiteIssueAttributes {
|
|
22
|
+
|
|
23
|
+
@Column({
|
|
24
|
+
primaryKey: true,
|
|
25
|
+
autoIncrement: true,
|
|
26
|
+
type: DataType.INTEGER
|
|
27
|
+
})
|
|
28
|
+
declare id?: number;
|
|
29
|
+
|
|
30
|
+
@Column({
|
|
31
|
+
field: "site_id",
|
|
32
|
+
allowNull: true,
|
|
33
|
+
type: DataType.INTEGER
|
|
34
|
+
})
|
|
35
|
+
declare siteId?: number;
|
|
36
|
+
|
|
37
|
+
@Column({
|
|
38
|
+
allowNull: true,
|
|
39
|
+
type: DataType.STRING(255)
|
|
40
|
+
})
|
|
41
|
+
declare name?: string;
|
|
42
|
+
|
|
43
|
+
@Column({
|
|
44
|
+
allowNull: true,
|
|
45
|
+
type: DataType.STRING
|
|
46
|
+
})
|
|
47
|
+
declare detail?: string;
|
|
48
|
+
|
|
49
|
+
@Column({
|
|
50
|
+
allowNull: true,
|
|
51
|
+
type: DataType.INTEGER,
|
|
52
|
+
defaultValue: "1"
|
|
53
|
+
})
|
|
54
|
+
declare status?: number;
|
|
55
|
+
|
|
56
|
+
@Column({
|
|
57
|
+
field: "created_by",
|
|
58
|
+
allowNull: true,
|
|
59
|
+
type: DataType.STRING(60)
|
|
60
|
+
})
|
|
61
|
+
declare createdBy?: string;
|
|
62
|
+
|
|
63
|
+
@Column({
|
|
64
|
+
field: "created_date",
|
|
65
|
+
allowNull: true,
|
|
66
|
+
type: DataType.DATE
|
|
67
|
+
})
|
|
68
|
+
declare createdDate?: Date;
|
|
69
|
+
|
|
70
|
+
@Column({
|
|
71
|
+
field: "updated_by",
|
|
72
|
+
allowNull: true,
|
|
73
|
+
type: DataType.STRING(60)
|
|
74
|
+
})
|
|
75
|
+
declare updatedBy?: string;
|
|
76
|
+
|
|
77
|
+
@Column({
|
|
78
|
+
field: "updated_date",
|
|
79
|
+
allowNull: true,
|
|
80
|
+
type: DataType.DATE
|
|
81
|
+
})
|
|
82
|
+
declare updatedDate?: Date;
|
|
83
|
+
|
|
84
|
+
}
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Model, Table, Column, DataType, Index, Sequelize, ForeignKey
|
|
3
|
+
} from "sequelize-typescript";
|
|
4
|
+
|
|
5
|
+
export interface msExecutiveActingAttributes {
|
|
6
|
+
id?: number;
|
|
7
|
+
name?: string;
|
|
8
|
+
info?: object;
|
|
9
|
+
status?: number;
|
|
10
|
+
createdBy?: string;
|
|
11
|
+
createdDate?: Date;
|
|
12
|
+
updatedBy?: string;
|
|
13
|
+
updatedDate?: Date;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
@Table({
|
|
17
|
+
tableName: "ms_executive_acting",
|
|
18
|
+
timestamps: false
|
|
19
|
+
})
|
|
20
|
+
export class msExecutiveActing extends Model<msExecutiveActingAttributes, msExecutiveActingAttributes> implements msExecutiveActingAttributes {
|
|
21
|
+
|
|
22
|
+
@Column({
|
|
23
|
+
primaryKey: true,
|
|
24
|
+
autoIncrement: true,
|
|
25
|
+
type: DataType.INTEGER
|
|
26
|
+
})
|
|
27
|
+
declare id?: number;
|
|
28
|
+
|
|
29
|
+
@Column({
|
|
30
|
+
allowNull: true,
|
|
31
|
+
type: DataType.STRING(255)
|
|
32
|
+
})
|
|
33
|
+
declare name?: string;
|
|
34
|
+
|
|
35
|
+
@Column({
|
|
36
|
+
allowNull: true,
|
|
37
|
+
type: DataType.JSON
|
|
38
|
+
})
|
|
39
|
+
declare info?: object;
|
|
40
|
+
|
|
41
|
+
@Column({
|
|
42
|
+
allowNull: true,
|
|
43
|
+
type: DataType.INTEGER
|
|
44
|
+
})
|
|
45
|
+
declare status?: number;
|
|
46
|
+
|
|
47
|
+
@Column({
|
|
48
|
+
field: "created_by",
|
|
49
|
+
allowNull: true,
|
|
50
|
+
type: DataType.STRING(60)
|
|
51
|
+
})
|
|
52
|
+
declare createdBy?: string;
|
|
53
|
+
|
|
54
|
+
@Column({
|
|
55
|
+
field: "created_date",
|
|
56
|
+
allowNull: true,
|
|
57
|
+
type: DataType.DATE
|
|
58
|
+
})
|
|
59
|
+
declare createdDate?: Date;
|
|
60
|
+
|
|
61
|
+
@Column({
|
|
62
|
+
field: "updated_by",
|
|
63
|
+
allowNull: true,
|
|
64
|
+
type: DataType.STRING(60)
|
|
65
|
+
})
|
|
66
|
+
declare updatedBy?: string;
|
|
67
|
+
|
|
68
|
+
@Column({
|
|
69
|
+
field: "updated_date",
|
|
70
|
+
allowNull: true,
|
|
71
|
+
type: DataType.DATE
|
|
72
|
+
})
|
|
73
|
+
declare updatedDate?: Date;
|
|
74
|
+
|
|
75
|
+
}
|