@admc-go-th/admc-library 1.0.130 → 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-QJ9ECucz.d.ts → appQueue-HW5J6Gb9.d.ts} +6 -2
- package/{authAssignment-BAUCoEP6.d.ts → authAssignment-De3034JH.d.ts} +16 -0
- package/databases/schema/appQueue.ts +24 -8
- package/databases/schema/appScore.ts +8 -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/mdDownloadBk.ts +136 -136
- package/databases/schema/msConsultCase.ts +0 -8
- 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/setting.ts +73 -73
- package/databases/schema/userPermissionV.ts +78 -0
- package/databases/schema/users.ts +62 -0
- package/databases/tables/appQueue.d.ts +1 -1
- package/databases/tables/appQueue.js +21 -7
- 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/index.d.ts +13 -7
- package/databases/tables/index.js +1236 -708
- 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/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 +1 -1
- package/databases/tables/msConsultChannels.js +21 -7
- 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 +1 -1
- package/databases/tables/msWebsite.js +21 -7
- 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/package.json +1 -1
|
@@ -1,89 +1,89 @@
|
|
|
1
|
-
import {
|
|
2
|
-
Model, Table, Column, DataType, Index, Sequelize, ForeignKey
|
|
3
|
-
} from "sequelize-typescript";
|
|
4
|
-
|
|
5
|
-
export interface msGuidelinesAttributes {
|
|
6
|
-
id?: number;
|
|
7
|
-
site?: string;
|
|
8
|
-
title?: string;
|
|
9
|
-
detail?: string;
|
|
10
|
-
sort?: number;
|
|
11
|
-
status?: number;
|
|
12
|
-
createdBy?: string;
|
|
13
|
-
createdDate?: Date;
|
|
14
|
-
updatedBy?: string;
|
|
15
|
-
updatedDate?: Date;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
@Table({
|
|
19
|
-
tableName: "ms_guidelines",
|
|
20
|
-
timestamps: false
|
|
21
|
-
})
|
|
22
|
-
export class msGuidelines extends Model<msGuidelinesAttributes, msGuidelinesAttributes> implements msGuidelinesAttributes {
|
|
23
|
-
|
|
24
|
-
@Column({
|
|
25
|
-
primaryKey: true,
|
|
26
|
-
autoIncrement: true,
|
|
27
|
-
type: DataType.INTEGER
|
|
28
|
-
})
|
|
29
|
-
declare id?: number;
|
|
30
|
-
|
|
31
|
-
@Column({
|
|
32
|
-
allowNull: true,
|
|
33
|
-
type: DataType.STRING(10)
|
|
34
|
-
})
|
|
35
|
-
declare site?: string;
|
|
36
|
-
|
|
37
|
-
@Column({
|
|
38
|
-
allowNull: true,
|
|
39
|
-
type: DataType.STRING(255)
|
|
40
|
-
})
|
|
41
|
-
declare title?: 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
|
-
})
|
|
53
|
-
declare sort?: number;
|
|
54
|
-
|
|
55
|
-
@Column({
|
|
56
|
-
allowNull: true,
|
|
57
|
-
type: DataType.INTEGER
|
|
58
|
-
})
|
|
59
|
-
declare status?: number;
|
|
60
|
-
|
|
61
|
-
@Column({
|
|
62
|
-
field: "created_by",
|
|
63
|
-
allowNull: true,
|
|
64
|
-
type: DataType.STRING(60)
|
|
65
|
-
})
|
|
66
|
-
declare createdBy?: string;
|
|
67
|
-
|
|
68
|
-
@Column({
|
|
69
|
-
field: "created_date",
|
|
70
|
-
allowNull: true,
|
|
71
|
-
type: DataType.DATE
|
|
72
|
-
})
|
|
73
|
-
declare createdDate?: Date;
|
|
74
|
-
|
|
75
|
-
@Column({
|
|
76
|
-
field: "updated_by",
|
|
77
|
-
allowNull: true,
|
|
78
|
-
type: DataType.STRING(60)
|
|
79
|
-
})
|
|
80
|
-
declare updatedBy?: string;
|
|
81
|
-
|
|
82
|
-
@Column({
|
|
83
|
-
field: "updated_date",
|
|
84
|
-
allowNull: true,
|
|
85
|
-
type: DataType.DATE
|
|
86
|
-
})
|
|
87
|
-
declare updatedDate?: Date;
|
|
88
|
-
|
|
1
|
+
import {
|
|
2
|
+
Model, Table, Column, DataType, Index, Sequelize, ForeignKey
|
|
3
|
+
} from "sequelize-typescript";
|
|
4
|
+
|
|
5
|
+
export interface msGuidelinesAttributes {
|
|
6
|
+
id?: number;
|
|
7
|
+
site?: string;
|
|
8
|
+
title?: string;
|
|
9
|
+
detail?: string;
|
|
10
|
+
sort?: number;
|
|
11
|
+
status?: number;
|
|
12
|
+
createdBy?: string;
|
|
13
|
+
createdDate?: Date;
|
|
14
|
+
updatedBy?: string;
|
|
15
|
+
updatedDate?: Date;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
@Table({
|
|
19
|
+
tableName: "ms_guidelines",
|
|
20
|
+
timestamps: false
|
|
21
|
+
})
|
|
22
|
+
export class msGuidelines extends Model<msGuidelinesAttributes, msGuidelinesAttributes> implements msGuidelinesAttributes {
|
|
23
|
+
|
|
24
|
+
@Column({
|
|
25
|
+
primaryKey: true,
|
|
26
|
+
autoIncrement: true,
|
|
27
|
+
type: DataType.INTEGER
|
|
28
|
+
})
|
|
29
|
+
declare id?: number;
|
|
30
|
+
|
|
31
|
+
@Column({
|
|
32
|
+
allowNull: true,
|
|
33
|
+
type: DataType.STRING(10)
|
|
34
|
+
})
|
|
35
|
+
declare site?: string;
|
|
36
|
+
|
|
37
|
+
@Column({
|
|
38
|
+
allowNull: true,
|
|
39
|
+
type: DataType.STRING(255)
|
|
40
|
+
})
|
|
41
|
+
declare title?: 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
|
+
})
|
|
53
|
+
declare sort?: number;
|
|
54
|
+
|
|
55
|
+
@Column({
|
|
56
|
+
allowNull: true,
|
|
57
|
+
type: DataType.INTEGER
|
|
58
|
+
})
|
|
59
|
+
declare status?: number;
|
|
60
|
+
|
|
61
|
+
@Column({
|
|
62
|
+
field: "created_by",
|
|
63
|
+
allowNull: true,
|
|
64
|
+
type: DataType.STRING(60)
|
|
65
|
+
})
|
|
66
|
+
declare createdBy?: string;
|
|
67
|
+
|
|
68
|
+
@Column({
|
|
69
|
+
field: "created_date",
|
|
70
|
+
allowNull: true,
|
|
71
|
+
type: DataType.DATE
|
|
72
|
+
})
|
|
73
|
+
declare createdDate?: Date;
|
|
74
|
+
|
|
75
|
+
@Column({
|
|
76
|
+
field: "updated_by",
|
|
77
|
+
allowNull: true,
|
|
78
|
+
type: DataType.STRING(60)
|
|
79
|
+
})
|
|
80
|
+
declare updatedBy?: string;
|
|
81
|
+
|
|
82
|
+
@Column({
|
|
83
|
+
field: "updated_date",
|
|
84
|
+
allowNull: true,
|
|
85
|
+
type: DataType.DATE
|
|
86
|
+
})
|
|
87
|
+
declare updatedDate?: Date;
|
|
88
|
+
|
|
89
89
|
}
|
|
@@ -0,0 +1,139 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Model, Table, Column, DataType, Index, Sequelize, ForeignKey
|
|
3
|
+
} from "sequelize-typescript";
|
|
4
|
+
|
|
5
|
+
export interface msOrganizationAttributes {
|
|
6
|
+
id?: number;
|
|
7
|
+
parentId?: number;
|
|
8
|
+
organizationId?: number;
|
|
9
|
+
organizationCode?: string;
|
|
10
|
+
name?: string;
|
|
11
|
+
nameShort?: string;
|
|
12
|
+
description?: string;
|
|
13
|
+
olCode?: string;
|
|
14
|
+
otCode?: string;
|
|
15
|
+
otName?: string;
|
|
16
|
+
status?: number;
|
|
17
|
+
sort?: number;
|
|
18
|
+
createdBy?: string;
|
|
19
|
+
createdDate?: Date;
|
|
20
|
+
updatedBy?: string;
|
|
21
|
+
updatedDate?: Date;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
@Table({
|
|
25
|
+
tableName: "ms_organization",
|
|
26
|
+
timestamps: false
|
|
27
|
+
})
|
|
28
|
+
export class msOrganization extends Model<msOrganizationAttributes, msOrganizationAttributes> implements msOrganizationAttributes {
|
|
29
|
+
|
|
30
|
+
@Column({
|
|
31
|
+
primaryKey: true,
|
|
32
|
+
autoIncrement: true,
|
|
33
|
+
type: DataType.INTEGER
|
|
34
|
+
})
|
|
35
|
+
declare id?: number;
|
|
36
|
+
|
|
37
|
+
@Column({
|
|
38
|
+
field: "parent_id",
|
|
39
|
+
allowNull: true,
|
|
40
|
+
type: DataType.INTEGER
|
|
41
|
+
})
|
|
42
|
+
declare parentId?: number;
|
|
43
|
+
|
|
44
|
+
@Column({
|
|
45
|
+
field: "organization_id",
|
|
46
|
+
allowNull: true,
|
|
47
|
+
type: DataType.INTEGER
|
|
48
|
+
})
|
|
49
|
+
declare organizationId?: number;
|
|
50
|
+
|
|
51
|
+
@Column({
|
|
52
|
+
field: "organization_code",
|
|
53
|
+
allowNull: true,
|
|
54
|
+
type: DataType.STRING(10)
|
|
55
|
+
})
|
|
56
|
+
declare organizationCode?: string;
|
|
57
|
+
|
|
58
|
+
@Column({
|
|
59
|
+
allowNull: true,
|
|
60
|
+
type: DataType.STRING(255)
|
|
61
|
+
})
|
|
62
|
+
declare name?: string;
|
|
63
|
+
|
|
64
|
+
@Column({
|
|
65
|
+
field: "name_short",
|
|
66
|
+
allowNull: true,
|
|
67
|
+
type: DataType.STRING(30)
|
|
68
|
+
})
|
|
69
|
+
declare nameShort?: string;
|
|
70
|
+
|
|
71
|
+
@Column({
|
|
72
|
+
allowNull: true,
|
|
73
|
+
type: DataType.STRING(255)
|
|
74
|
+
})
|
|
75
|
+
declare description?: string;
|
|
76
|
+
|
|
77
|
+
@Column({
|
|
78
|
+
field: "ol_code",
|
|
79
|
+
allowNull: true,
|
|
80
|
+
type: DataType.STRING(10)
|
|
81
|
+
})
|
|
82
|
+
declare olCode?: string;
|
|
83
|
+
|
|
84
|
+
@Column({
|
|
85
|
+
field: "ot_code",
|
|
86
|
+
allowNull: true,
|
|
87
|
+
type: DataType.STRING(10)
|
|
88
|
+
})
|
|
89
|
+
declare otCode?: string;
|
|
90
|
+
|
|
91
|
+
@Column({
|
|
92
|
+
field: "ot_name",
|
|
93
|
+
allowNull: true,
|
|
94
|
+
type: DataType.STRING(255)
|
|
95
|
+
})
|
|
96
|
+
declare otName?: string;
|
|
97
|
+
|
|
98
|
+
@Column({
|
|
99
|
+
allowNull: true,
|
|
100
|
+
type: DataType.INTEGER,
|
|
101
|
+
defaultValue: "1"
|
|
102
|
+
})
|
|
103
|
+
declare status?: number;
|
|
104
|
+
|
|
105
|
+
@Column({
|
|
106
|
+
allowNull: true,
|
|
107
|
+
type: DataType.INTEGER
|
|
108
|
+
})
|
|
109
|
+
declare sort?: number;
|
|
110
|
+
|
|
111
|
+
@Column({
|
|
112
|
+
field: "created_by",
|
|
113
|
+
allowNull: true,
|
|
114
|
+
type: DataType.STRING(60)
|
|
115
|
+
})
|
|
116
|
+
declare createdBy?: string;
|
|
117
|
+
|
|
118
|
+
@Column({
|
|
119
|
+
field: "created_date",
|
|
120
|
+
allowNull: true,
|
|
121
|
+
type: DataType.DATE
|
|
122
|
+
})
|
|
123
|
+
declare createdDate?: Date;
|
|
124
|
+
|
|
125
|
+
@Column({
|
|
126
|
+
field: "updated_by",
|
|
127
|
+
allowNull: true,
|
|
128
|
+
type: DataType.STRING(60)
|
|
129
|
+
})
|
|
130
|
+
declare updatedBy?: string;
|
|
131
|
+
|
|
132
|
+
@Column({
|
|
133
|
+
field: "updated_date",
|
|
134
|
+
allowNull: true,
|
|
135
|
+
type: DataType.DATE
|
|
136
|
+
})
|
|
137
|
+
declare updatedDate?: Date;
|
|
138
|
+
|
|
139
|
+
}
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Model, Table, Column, DataType, Index, Sequelize, ForeignKey
|
|
3
|
+
} from "sequelize-typescript";
|
|
4
|
+
|
|
5
|
+
export interface msPositionAttributes {
|
|
6
|
+
id?: number;
|
|
7
|
+
name?: string;
|
|
8
|
+
description?: string;
|
|
9
|
+
status?: number;
|
|
10
|
+
createdBy?: string;
|
|
11
|
+
createdDate?: Date;
|
|
12
|
+
updatedBy?: string;
|
|
13
|
+
updatedDate?: Date;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
@Table({
|
|
17
|
+
tableName: "ms_position",
|
|
18
|
+
timestamps: false
|
|
19
|
+
})
|
|
20
|
+
export class msPosition extends Model<msPositionAttributes, msPositionAttributes> implements msPositionAttributes {
|
|
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(100)
|
|
32
|
+
})
|
|
33
|
+
declare name?: string;
|
|
34
|
+
|
|
35
|
+
@Column({
|
|
36
|
+
allowNull: true,
|
|
37
|
+
type: DataType.STRING(255)
|
|
38
|
+
})
|
|
39
|
+
declare description?: string;
|
|
40
|
+
|
|
41
|
+
@Column({
|
|
42
|
+
allowNull: true,
|
|
43
|
+
type: DataType.INTEGER,
|
|
44
|
+
defaultValue: "1"
|
|
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,90 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Model, Table, Column, DataType, Index, Sequelize, ForeignKey
|
|
3
|
+
} from "sequelize-typescript";
|
|
4
|
+
|
|
5
|
+
export interface msQueueTourFaqAttributes {
|
|
6
|
+
id?: number;
|
|
7
|
+
siteId?: number;
|
|
8
|
+
title?: string;
|
|
9
|
+
detail?: string;
|
|
10
|
+
sort?: number;
|
|
11
|
+
status?: number;
|
|
12
|
+
createdBy?: string;
|
|
13
|
+
createdDate?: Date;
|
|
14
|
+
updatedBy?: string;
|
|
15
|
+
updatedDate?: Date;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
@Table({
|
|
19
|
+
tableName: "ms_queue_tour_faq",
|
|
20
|
+
timestamps: false
|
|
21
|
+
})
|
|
22
|
+
export class msQueueTourFaq extends Model<msQueueTourFaqAttributes, msQueueTourFaqAttributes> implements msQueueTourFaqAttributes {
|
|
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
|
+
allowNull: true,
|
|
40
|
+
type: DataType.STRING(255)
|
|
41
|
+
})
|
|
42
|
+
declare title?: string;
|
|
43
|
+
|
|
44
|
+
@Column({
|
|
45
|
+
allowNull: true,
|
|
46
|
+
type: DataType.STRING
|
|
47
|
+
})
|
|
48
|
+
declare detail?: string;
|
|
49
|
+
|
|
50
|
+
@Column({
|
|
51
|
+
allowNull: true,
|
|
52
|
+
type: DataType.INTEGER
|
|
53
|
+
})
|
|
54
|
+
declare sort?: number;
|
|
55
|
+
|
|
56
|
+
@Column({
|
|
57
|
+
allowNull: true,
|
|
58
|
+
type: DataType.INTEGER
|
|
59
|
+
})
|
|
60
|
+
declare status?: number;
|
|
61
|
+
|
|
62
|
+
@Column({
|
|
63
|
+
field: "created_by",
|
|
64
|
+
allowNull: true,
|
|
65
|
+
type: DataType.STRING(60)
|
|
66
|
+
})
|
|
67
|
+
declare createdBy?: string;
|
|
68
|
+
|
|
69
|
+
@Column({
|
|
70
|
+
field: "created_date",
|
|
71
|
+
allowNull: true,
|
|
72
|
+
type: DataType.DATE
|
|
73
|
+
})
|
|
74
|
+
declare createdDate?: Date;
|
|
75
|
+
|
|
76
|
+
@Column({
|
|
77
|
+
field: "updated_by",
|
|
78
|
+
allowNull: true,
|
|
79
|
+
type: DataType.STRING(60)
|
|
80
|
+
})
|
|
81
|
+
declare updatedBy?: string;
|
|
82
|
+
|
|
83
|
+
@Column({
|
|
84
|
+
field: "updated_date",
|
|
85
|
+
allowNull: true,
|
|
86
|
+
type: DataType.DATE
|
|
87
|
+
})
|
|
88
|
+
declare updatedDate?: Date;
|
|
89
|
+
|
|
90
|
+
}
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Model, Table, Column, DataType, Index, Sequelize, ForeignKey
|
|
3
|
+
} from "sequelize-typescript";
|
|
4
|
+
|
|
5
|
+
export interface msQueueTourGuidelinesAttributes {
|
|
6
|
+
id?: number;
|
|
7
|
+
siteId?: number;
|
|
8
|
+
title?: string;
|
|
9
|
+
detail?: string;
|
|
10
|
+
sort?: number;
|
|
11
|
+
status?: number;
|
|
12
|
+
createdBy?: string;
|
|
13
|
+
createdDate?: Date;
|
|
14
|
+
updatedBy?: string;
|
|
15
|
+
updatedDate?: Date;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
@Table({
|
|
19
|
+
tableName: "ms_queue_tour_guidelines",
|
|
20
|
+
timestamps: false
|
|
21
|
+
})
|
|
22
|
+
export class msQueueTourGuidelines extends Model<msQueueTourGuidelinesAttributes, msQueueTourGuidelinesAttributes> implements msQueueTourGuidelinesAttributes {
|
|
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
|
+
allowNull: true,
|
|
40
|
+
type: DataType.STRING(255)
|
|
41
|
+
})
|
|
42
|
+
declare title?: string;
|
|
43
|
+
|
|
44
|
+
@Column({
|
|
45
|
+
allowNull: true,
|
|
46
|
+
type: DataType.STRING
|
|
47
|
+
})
|
|
48
|
+
declare detail?: string;
|
|
49
|
+
|
|
50
|
+
@Column({
|
|
51
|
+
allowNull: true,
|
|
52
|
+
type: DataType.INTEGER
|
|
53
|
+
})
|
|
54
|
+
declare sort?: number;
|
|
55
|
+
|
|
56
|
+
@Column({
|
|
57
|
+
allowNull: true,
|
|
58
|
+
type: DataType.INTEGER
|
|
59
|
+
})
|
|
60
|
+
declare status?: number;
|
|
61
|
+
|
|
62
|
+
@Column({
|
|
63
|
+
field: "created_by",
|
|
64
|
+
allowNull: true,
|
|
65
|
+
type: DataType.STRING(60)
|
|
66
|
+
})
|
|
67
|
+
declare createdBy?: string;
|
|
68
|
+
|
|
69
|
+
@Column({
|
|
70
|
+
field: "created_date",
|
|
71
|
+
allowNull: true,
|
|
72
|
+
type: DataType.DATE
|
|
73
|
+
})
|
|
74
|
+
declare createdDate?: Date;
|
|
75
|
+
|
|
76
|
+
@Column({
|
|
77
|
+
field: "updated_by",
|
|
78
|
+
allowNull: true,
|
|
79
|
+
type: DataType.STRING(60)
|
|
80
|
+
})
|
|
81
|
+
declare updatedBy?: string;
|
|
82
|
+
|
|
83
|
+
@Column({
|
|
84
|
+
field: "updated_date",
|
|
85
|
+
allowNull: true,
|
|
86
|
+
type: DataType.DATE
|
|
87
|
+
})
|
|
88
|
+
declare updatedDate?: Date;
|
|
89
|
+
|
|
90
|
+
}
|