@admc-go-th/admc-library 1.0.138 → 1.1.137
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/databases/schema/formFaq.ts +126 -126
- package/databases/schema/index.ts +3 -0
- package/databases/schema/informationIndex.ts +211 -211
- package/databases/schema/informationIndexGroup.ts +103 -103
- package/databases/schema/mdDownloadBk.ts +136 -136
- package/databases/schema/msExecutiveBoard.ts +82 -82
- package/databases/schema/msExecutiveBoardBk.ts +82 -82
- package/databases/schema/msExecutivePosition.ts +117 -117
- package/databases/schema/msExecutivePositionBk.ts +111 -111
- package/databases/schema/msGuidelines.ts +88 -88
- package/databases/schema/msPersonType.ts +75 -0
- package/databases/schema/setting.ts +73 -73
- package/databases/tables/index.d.ts +3 -0
- package/databases/tables/index.js +498 -239
- package/databases/tables/msPersonType.d.ts +24 -0
- package/databases/tables/msPersonType.js +99 -0
- package/package.json +1 -1
|
@@ -1,127 +1,127 @@
|
|
|
1
|
-
import {
|
|
2
|
-
Model, Table, Column, DataType, Index, Sequelize, ForeignKey
|
|
3
|
-
} from "sequelize-typescript";
|
|
4
|
-
|
|
5
|
-
export interface formFaqAttributes {
|
|
6
|
-
id?: number;
|
|
7
|
-
uuid?: string;
|
|
8
|
-
titleName?: string;
|
|
9
|
-
firstName?: string;
|
|
10
|
-
lastName?: string;
|
|
11
|
-
phone?: string;
|
|
12
|
-
email?: string;
|
|
13
|
-
question?: string;
|
|
14
|
-
detail?: string;
|
|
15
|
-
attachments?: object;
|
|
16
|
-
status?: number;
|
|
17
|
-
createdBy?: string;
|
|
18
|
-
createdDate?: Date;
|
|
19
|
-
updatedBy?: string;
|
|
20
|
-
updatedDate?: Date;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
@Table({
|
|
24
|
-
tableName: "form_faq",
|
|
25
|
-
timestamps: false
|
|
26
|
-
})
|
|
27
|
-
export class formFaq extends Model<formFaqAttributes, formFaqAttributes> implements formFaqAttributes {
|
|
28
|
-
|
|
29
|
-
@Column({
|
|
30
|
-
primaryKey: true,
|
|
31
|
-
autoIncrement: true,
|
|
32
|
-
type: DataType.INTEGER
|
|
33
|
-
})
|
|
34
|
-
declare id?: number;
|
|
35
|
-
|
|
36
|
-
@Column({
|
|
37
|
-
allowNull: true,
|
|
38
|
-
type: DataType.STRING(60)
|
|
39
|
-
})
|
|
40
|
-
declare uuid?: string;
|
|
41
|
-
|
|
42
|
-
@Column({
|
|
43
|
-
field: "title_name",
|
|
44
|
-
allowNull: true,
|
|
45
|
-
type: DataType.STRING(50)
|
|
46
|
-
})
|
|
47
|
-
declare titleName?: string;
|
|
48
|
-
|
|
49
|
-
@Column({
|
|
50
|
-
field: "first_name",
|
|
51
|
-
allowNull: true,
|
|
52
|
-
type: DataType.STRING(255)
|
|
53
|
-
})
|
|
54
|
-
declare firstName?: string;
|
|
55
|
-
|
|
56
|
-
@Column({
|
|
57
|
-
field: "last_name",
|
|
58
|
-
allowNull: true,
|
|
59
|
-
type: DataType.STRING(255)
|
|
60
|
-
})
|
|
61
|
-
declare lastName?: string;
|
|
62
|
-
|
|
63
|
-
@Column({
|
|
64
|
-
allowNull: true,
|
|
65
|
-
type: DataType.STRING(255)
|
|
66
|
-
})
|
|
67
|
-
declare phone?: string;
|
|
68
|
-
|
|
69
|
-
@Column({
|
|
70
|
-
allowNull: true,
|
|
71
|
-
type: DataType.STRING(255)
|
|
72
|
-
})
|
|
73
|
-
declare email?: string;
|
|
74
|
-
|
|
75
|
-
@Column({
|
|
76
|
-
allowNull: true,
|
|
77
|
-
type: DataType.STRING(255)
|
|
78
|
-
})
|
|
79
|
-
declare question?: string;
|
|
80
|
-
|
|
81
|
-
@Column({
|
|
82
|
-
allowNull: true,
|
|
83
|
-
type: DataType.STRING
|
|
84
|
-
})
|
|
85
|
-
declare detail?: string;
|
|
86
|
-
|
|
87
|
-
@Column({
|
|
88
|
-
allowNull: true,
|
|
89
|
-
type: DataType.JSON
|
|
90
|
-
})
|
|
91
|
-
declare attachments?: object;
|
|
92
|
-
|
|
93
|
-
@Column({
|
|
94
|
-
allowNull: true,
|
|
95
|
-
type: DataType.INTEGER
|
|
96
|
-
})
|
|
97
|
-
declare status?: number;
|
|
98
|
-
|
|
99
|
-
@Column({
|
|
100
|
-
field: "created_by",
|
|
101
|
-
allowNull: true,
|
|
102
|
-
type: DataType.STRING(60)
|
|
103
|
-
})
|
|
104
|
-
declare createdBy?: string;
|
|
105
|
-
|
|
106
|
-
@Column({
|
|
107
|
-
field: "created_date",
|
|
108
|
-
allowNull: true,
|
|
109
|
-
type: DataType.DATE
|
|
110
|
-
})
|
|
111
|
-
declare createdDate?: Date;
|
|
112
|
-
|
|
113
|
-
@Column({
|
|
114
|
-
field: "updated_by",
|
|
115
|
-
allowNull: true,
|
|
116
|
-
type: DataType.STRING(60)
|
|
117
|
-
})
|
|
118
|
-
declare updatedBy?: string;
|
|
119
|
-
|
|
120
|
-
@Column({
|
|
121
|
-
field: "updated_date",
|
|
122
|
-
allowNull: true,
|
|
123
|
-
type: DataType.DATE
|
|
124
|
-
})
|
|
125
|
-
declare updatedDate?: Date;
|
|
126
|
-
|
|
1
|
+
import {
|
|
2
|
+
Model, Table, Column, DataType, Index, Sequelize, ForeignKey
|
|
3
|
+
} from "sequelize-typescript";
|
|
4
|
+
|
|
5
|
+
export interface formFaqAttributes {
|
|
6
|
+
id?: number;
|
|
7
|
+
uuid?: string;
|
|
8
|
+
titleName?: string;
|
|
9
|
+
firstName?: string;
|
|
10
|
+
lastName?: string;
|
|
11
|
+
phone?: string;
|
|
12
|
+
email?: string;
|
|
13
|
+
question?: string;
|
|
14
|
+
detail?: string;
|
|
15
|
+
attachments?: object;
|
|
16
|
+
status?: number;
|
|
17
|
+
createdBy?: string;
|
|
18
|
+
createdDate?: Date;
|
|
19
|
+
updatedBy?: string;
|
|
20
|
+
updatedDate?: Date;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
@Table({
|
|
24
|
+
tableName: "form_faq",
|
|
25
|
+
timestamps: false
|
|
26
|
+
})
|
|
27
|
+
export class formFaq extends Model<formFaqAttributes, formFaqAttributes> implements formFaqAttributes {
|
|
28
|
+
|
|
29
|
+
@Column({
|
|
30
|
+
primaryKey: true,
|
|
31
|
+
autoIncrement: true,
|
|
32
|
+
type: DataType.INTEGER
|
|
33
|
+
})
|
|
34
|
+
declare id?: number;
|
|
35
|
+
|
|
36
|
+
@Column({
|
|
37
|
+
allowNull: true,
|
|
38
|
+
type: DataType.STRING(60)
|
|
39
|
+
})
|
|
40
|
+
declare uuid?: string;
|
|
41
|
+
|
|
42
|
+
@Column({
|
|
43
|
+
field: "title_name",
|
|
44
|
+
allowNull: true,
|
|
45
|
+
type: DataType.STRING(50)
|
|
46
|
+
})
|
|
47
|
+
declare titleName?: string;
|
|
48
|
+
|
|
49
|
+
@Column({
|
|
50
|
+
field: "first_name",
|
|
51
|
+
allowNull: true,
|
|
52
|
+
type: DataType.STRING(255)
|
|
53
|
+
})
|
|
54
|
+
declare firstName?: string;
|
|
55
|
+
|
|
56
|
+
@Column({
|
|
57
|
+
field: "last_name",
|
|
58
|
+
allowNull: true,
|
|
59
|
+
type: DataType.STRING(255)
|
|
60
|
+
})
|
|
61
|
+
declare lastName?: string;
|
|
62
|
+
|
|
63
|
+
@Column({
|
|
64
|
+
allowNull: true,
|
|
65
|
+
type: DataType.STRING(255)
|
|
66
|
+
})
|
|
67
|
+
declare phone?: string;
|
|
68
|
+
|
|
69
|
+
@Column({
|
|
70
|
+
allowNull: true,
|
|
71
|
+
type: DataType.STRING(255)
|
|
72
|
+
})
|
|
73
|
+
declare email?: string;
|
|
74
|
+
|
|
75
|
+
@Column({
|
|
76
|
+
allowNull: true,
|
|
77
|
+
type: DataType.STRING(255)
|
|
78
|
+
})
|
|
79
|
+
declare question?: string;
|
|
80
|
+
|
|
81
|
+
@Column({
|
|
82
|
+
allowNull: true,
|
|
83
|
+
type: DataType.STRING
|
|
84
|
+
})
|
|
85
|
+
declare detail?: string;
|
|
86
|
+
|
|
87
|
+
@Column({
|
|
88
|
+
allowNull: true,
|
|
89
|
+
type: DataType.JSON
|
|
90
|
+
})
|
|
91
|
+
declare attachments?: object;
|
|
92
|
+
|
|
93
|
+
@Column({
|
|
94
|
+
allowNull: true,
|
|
95
|
+
type: DataType.INTEGER
|
|
96
|
+
})
|
|
97
|
+
declare status?: number;
|
|
98
|
+
|
|
99
|
+
@Column({
|
|
100
|
+
field: "created_by",
|
|
101
|
+
allowNull: true,
|
|
102
|
+
type: DataType.STRING(60)
|
|
103
|
+
})
|
|
104
|
+
declare createdBy?: string;
|
|
105
|
+
|
|
106
|
+
@Column({
|
|
107
|
+
field: "created_date",
|
|
108
|
+
allowNull: true,
|
|
109
|
+
type: DataType.DATE
|
|
110
|
+
})
|
|
111
|
+
declare createdDate?: Date;
|
|
112
|
+
|
|
113
|
+
@Column({
|
|
114
|
+
field: "updated_by",
|
|
115
|
+
allowNull: true,
|
|
116
|
+
type: DataType.STRING(60)
|
|
117
|
+
})
|
|
118
|
+
declare updatedBy?: string;
|
|
119
|
+
|
|
120
|
+
@Column({
|
|
121
|
+
field: "updated_date",
|
|
122
|
+
allowNull: true,
|
|
123
|
+
type: DataType.DATE
|
|
124
|
+
})
|
|
125
|
+
declare updatedDate?: Date;
|
|
126
|
+
|
|
127
127
|
}
|
|
@@ -70,6 +70,7 @@ export * from "./msExecutiveLevel";
|
|
|
70
70
|
export * from "./msHoliday";
|
|
71
71
|
export * from "./msModule";
|
|
72
72
|
export * from "./msOrganization";
|
|
73
|
+
export * from "./msPersonType";
|
|
73
74
|
export * from "./msPosition";
|
|
74
75
|
export * from "./msProvince";
|
|
75
76
|
export * from "./msQueueTourFaq";
|
|
@@ -82,6 +83,8 @@ export * from "./oauthRefreshToken";
|
|
|
82
83
|
export * from "./recruitment";
|
|
83
84
|
export * from "./recruitmentGroup";
|
|
84
85
|
export * from "./settings";
|
|
86
|
+
export * from "./userCenterV";
|
|
85
87
|
export * from "./userPermissionV";
|
|
88
|
+
export * from "./userRoleV";
|
|
86
89
|
export * from "./users";
|
|
87
90
|
export * from "./usersVerify";
|
|
@@ -1,212 +1,212 @@
|
|
|
1
|
-
import {
|
|
2
|
-
Model, Table, Column, DataType, Index, Sequelize, ForeignKey
|
|
3
|
-
} from "sequelize-typescript";
|
|
4
|
-
|
|
5
|
-
export interface informationIndexAttributes {
|
|
6
|
-
id?: number;
|
|
7
|
-
uuid?: string;
|
|
8
|
-
keyName?: string;
|
|
9
|
-
groupId?: number;
|
|
10
|
-
userId: number;
|
|
11
|
-
title?: string;
|
|
12
|
-
description?: string;
|
|
13
|
-
detail?: string;
|
|
14
|
-
metaTitle?: string;
|
|
15
|
-
metaKeyword?: string;
|
|
16
|
-
metaDescription?: string;
|
|
17
|
-
categoryNo?: number;
|
|
18
|
-
bookNo?: number;
|
|
19
|
-
chapter?: string;
|
|
20
|
-
announcementDate?: Date;
|
|
21
|
-
attachments?: object;
|
|
22
|
-
sort?: number;
|
|
23
|
-
publish?: number;
|
|
24
|
-
status?: number;
|
|
25
|
-
hasExpire?: number;
|
|
26
|
-
startDate?: Date;
|
|
27
|
-
expireDate?: Date;
|
|
28
|
-
createdBy?: string;
|
|
29
|
-
createdDate?: Date;
|
|
30
|
-
updatedBy?: string;
|
|
31
|
-
updatedDate?: Date;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
@Table({
|
|
35
|
-
tableName: "information_index",
|
|
36
|
-
timestamps: false
|
|
37
|
-
})
|
|
38
|
-
export class informationIndex extends Model<informationIndexAttributes, informationIndexAttributes> implements informationIndexAttributes {
|
|
39
|
-
|
|
40
|
-
@Column({
|
|
41
|
-
primaryKey: true,
|
|
42
|
-
autoIncrement: true,
|
|
43
|
-
type: DataType.INTEGER
|
|
44
|
-
})
|
|
45
|
-
declare id?: number;
|
|
46
|
-
|
|
47
|
-
@Column({
|
|
48
|
-
allowNull: true,
|
|
49
|
-
type: DataType.STRING(60)
|
|
50
|
-
})
|
|
51
|
-
declare uuid?: string;
|
|
52
|
-
|
|
53
|
-
@Column({
|
|
54
|
-
field: "key_name",
|
|
55
|
-
allowNull: true,
|
|
56
|
-
type: DataType.STRING(100)
|
|
57
|
-
})
|
|
58
|
-
declare keyName?: string;
|
|
59
|
-
|
|
60
|
-
@Column({
|
|
61
|
-
field: "group_id",
|
|
62
|
-
allowNull: true,
|
|
63
|
-
type: DataType.INTEGER
|
|
64
|
-
})
|
|
65
|
-
declare groupId?: number;
|
|
66
|
-
|
|
67
|
-
@Column({
|
|
68
|
-
field: "user_id",
|
|
69
|
-
type: DataType.INTEGER
|
|
70
|
-
})
|
|
71
|
-
declare userId: number;
|
|
72
|
-
|
|
73
|
-
@Column({
|
|
74
|
-
allowNull: true,
|
|
75
|
-
type: DataType.STRING(255)
|
|
76
|
-
})
|
|
77
|
-
declare title?: string;
|
|
78
|
-
|
|
79
|
-
@Column({
|
|
80
|
-
allowNull: true,
|
|
81
|
-
type: DataType.STRING
|
|
82
|
-
})
|
|
83
|
-
declare description?: string;
|
|
84
|
-
|
|
85
|
-
@Column({
|
|
86
|
-
allowNull: true,
|
|
87
|
-
type: DataType.STRING
|
|
88
|
-
})
|
|
89
|
-
declare detail?: string;
|
|
90
|
-
|
|
91
|
-
@Column({
|
|
92
|
-
field: "meta_title",
|
|
93
|
-
allowNull: true,
|
|
94
|
-
type: DataType.STRING(255)
|
|
95
|
-
})
|
|
96
|
-
declare metaTitle?: string;
|
|
97
|
-
|
|
98
|
-
@Column({
|
|
99
|
-
field: "meta_keyword",
|
|
100
|
-
allowNull: true,
|
|
101
|
-
type: DataType.STRING(255)
|
|
102
|
-
})
|
|
103
|
-
declare metaKeyword?: string;
|
|
104
|
-
|
|
105
|
-
@Column({
|
|
106
|
-
field: "meta_description",
|
|
107
|
-
allowNull: true,
|
|
108
|
-
type: DataType.STRING(255)
|
|
109
|
-
})
|
|
110
|
-
declare metaDescription?: string;
|
|
111
|
-
|
|
112
|
-
@Column({
|
|
113
|
-
field: "category_no",
|
|
114
|
-
allowNull: true,
|
|
115
|
-
type: DataType.INTEGER
|
|
116
|
-
})
|
|
117
|
-
declare categoryNo?: number;
|
|
118
|
-
|
|
119
|
-
@Column({
|
|
120
|
-
field: "book_no",
|
|
121
|
-
allowNull: true,
|
|
122
|
-
type: DataType.INTEGER
|
|
123
|
-
})
|
|
124
|
-
declare bookNo?: number;
|
|
125
|
-
|
|
126
|
-
@Column({
|
|
127
|
-
allowNull: true,
|
|
128
|
-
type: DataType.STRING(255)
|
|
129
|
-
})
|
|
130
|
-
declare chapter?: string;
|
|
131
|
-
|
|
132
|
-
@Column({
|
|
133
|
-
field: "announcement_date",
|
|
134
|
-
allowNull: true,
|
|
135
|
-
type: DataType.DATE
|
|
136
|
-
})
|
|
137
|
-
declare announcementDate?: Date;
|
|
138
|
-
|
|
139
|
-
@Column({
|
|
140
|
-
allowNull: true,
|
|
141
|
-
type: DataType.JSON
|
|
142
|
-
})
|
|
143
|
-
declare attachments?: object;
|
|
144
|
-
|
|
145
|
-
@Column({
|
|
146
|
-
allowNull: true,
|
|
147
|
-
type: DataType.INTEGER
|
|
148
|
-
})
|
|
149
|
-
declare sort?: number;
|
|
150
|
-
|
|
151
|
-
@Column({
|
|
152
|
-
allowNull: true,
|
|
153
|
-
type: DataType.INTEGER
|
|
154
|
-
})
|
|
155
|
-
declare publish?: number;
|
|
156
|
-
|
|
157
|
-
@Column({
|
|
158
|
-
allowNull: true,
|
|
159
|
-
type: DataType.INTEGER
|
|
160
|
-
})
|
|
161
|
-
declare status?: number;
|
|
162
|
-
|
|
163
|
-
@Column({
|
|
164
|
-
field: "has_expire",
|
|
165
|
-
allowNull: true,
|
|
166
|
-
type: DataType.INTEGER
|
|
167
|
-
})
|
|
168
|
-
declare hasExpire?: number;
|
|
169
|
-
|
|
170
|
-
@Column({
|
|
171
|
-
field: "start_date",
|
|
172
|
-
allowNull: true,
|
|
173
|
-
type: DataType.DATE
|
|
174
|
-
})
|
|
175
|
-
declare startDate?: Date;
|
|
176
|
-
|
|
177
|
-
@Column({
|
|
178
|
-
field: "expire_date",
|
|
179
|
-
allowNull: true,
|
|
180
|
-
type: DataType.DATE
|
|
181
|
-
})
|
|
182
|
-
declare expireDate?: Date;
|
|
183
|
-
|
|
184
|
-
@Column({
|
|
185
|
-
field: "created_by",
|
|
186
|
-
allowNull: true,
|
|
187
|
-
type: DataType.STRING(60)
|
|
188
|
-
})
|
|
189
|
-
declare createdBy?: string;
|
|
190
|
-
|
|
191
|
-
@Column({
|
|
192
|
-
field: "created_date",
|
|
193
|
-
allowNull: true,
|
|
194
|
-
type: DataType.DATE
|
|
195
|
-
})
|
|
196
|
-
declare createdDate?: Date;
|
|
197
|
-
|
|
198
|
-
@Column({
|
|
199
|
-
field: "updated_by",
|
|
200
|
-
allowNull: true,
|
|
201
|
-
type: DataType.STRING(60)
|
|
202
|
-
})
|
|
203
|
-
declare updatedBy?: string;
|
|
204
|
-
|
|
205
|
-
@Column({
|
|
206
|
-
field: "updated_date",
|
|
207
|
-
allowNull: true,
|
|
208
|
-
type: DataType.DATE
|
|
209
|
-
})
|
|
210
|
-
declare updatedDate?: Date;
|
|
211
|
-
|
|
1
|
+
import {
|
|
2
|
+
Model, Table, Column, DataType, Index, Sequelize, ForeignKey
|
|
3
|
+
} from "sequelize-typescript";
|
|
4
|
+
|
|
5
|
+
export interface informationIndexAttributes {
|
|
6
|
+
id?: number;
|
|
7
|
+
uuid?: string;
|
|
8
|
+
keyName?: string;
|
|
9
|
+
groupId?: number;
|
|
10
|
+
userId: number;
|
|
11
|
+
title?: string;
|
|
12
|
+
description?: string;
|
|
13
|
+
detail?: string;
|
|
14
|
+
metaTitle?: string;
|
|
15
|
+
metaKeyword?: string;
|
|
16
|
+
metaDescription?: string;
|
|
17
|
+
categoryNo?: number;
|
|
18
|
+
bookNo?: number;
|
|
19
|
+
chapter?: string;
|
|
20
|
+
announcementDate?: Date;
|
|
21
|
+
attachments?: object;
|
|
22
|
+
sort?: number;
|
|
23
|
+
publish?: number;
|
|
24
|
+
status?: number;
|
|
25
|
+
hasExpire?: number;
|
|
26
|
+
startDate?: Date;
|
|
27
|
+
expireDate?: Date;
|
|
28
|
+
createdBy?: string;
|
|
29
|
+
createdDate?: Date;
|
|
30
|
+
updatedBy?: string;
|
|
31
|
+
updatedDate?: Date;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
@Table({
|
|
35
|
+
tableName: "information_index",
|
|
36
|
+
timestamps: false
|
|
37
|
+
})
|
|
38
|
+
export class informationIndex extends Model<informationIndexAttributes, informationIndexAttributes> implements informationIndexAttributes {
|
|
39
|
+
|
|
40
|
+
@Column({
|
|
41
|
+
primaryKey: true,
|
|
42
|
+
autoIncrement: true,
|
|
43
|
+
type: DataType.INTEGER
|
|
44
|
+
})
|
|
45
|
+
declare id?: number;
|
|
46
|
+
|
|
47
|
+
@Column({
|
|
48
|
+
allowNull: true,
|
|
49
|
+
type: DataType.STRING(60)
|
|
50
|
+
})
|
|
51
|
+
declare uuid?: string;
|
|
52
|
+
|
|
53
|
+
@Column({
|
|
54
|
+
field: "key_name",
|
|
55
|
+
allowNull: true,
|
|
56
|
+
type: DataType.STRING(100)
|
|
57
|
+
})
|
|
58
|
+
declare keyName?: string;
|
|
59
|
+
|
|
60
|
+
@Column({
|
|
61
|
+
field: "group_id",
|
|
62
|
+
allowNull: true,
|
|
63
|
+
type: DataType.INTEGER
|
|
64
|
+
})
|
|
65
|
+
declare groupId?: number;
|
|
66
|
+
|
|
67
|
+
@Column({
|
|
68
|
+
field: "user_id",
|
|
69
|
+
type: DataType.INTEGER
|
|
70
|
+
})
|
|
71
|
+
declare userId: number;
|
|
72
|
+
|
|
73
|
+
@Column({
|
|
74
|
+
allowNull: true,
|
|
75
|
+
type: DataType.STRING(255)
|
|
76
|
+
})
|
|
77
|
+
declare title?: string;
|
|
78
|
+
|
|
79
|
+
@Column({
|
|
80
|
+
allowNull: true,
|
|
81
|
+
type: DataType.STRING
|
|
82
|
+
})
|
|
83
|
+
declare description?: string;
|
|
84
|
+
|
|
85
|
+
@Column({
|
|
86
|
+
allowNull: true,
|
|
87
|
+
type: DataType.STRING
|
|
88
|
+
})
|
|
89
|
+
declare detail?: string;
|
|
90
|
+
|
|
91
|
+
@Column({
|
|
92
|
+
field: "meta_title",
|
|
93
|
+
allowNull: true,
|
|
94
|
+
type: DataType.STRING(255)
|
|
95
|
+
})
|
|
96
|
+
declare metaTitle?: string;
|
|
97
|
+
|
|
98
|
+
@Column({
|
|
99
|
+
field: "meta_keyword",
|
|
100
|
+
allowNull: true,
|
|
101
|
+
type: DataType.STRING(255)
|
|
102
|
+
})
|
|
103
|
+
declare metaKeyword?: string;
|
|
104
|
+
|
|
105
|
+
@Column({
|
|
106
|
+
field: "meta_description",
|
|
107
|
+
allowNull: true,
|
|
108
|
+
type: DataType.STRING(255)
|
|
109
|
+
})
|
|
110
|
+
declare metaDescription?: string;
|
|
111
|
+
|
|
112
|
+
@Column({
|
|
113
|
+
field: "category_no",
|
|
114
|
+
allowNull: true,
|
|
115
|
+
type: DataType.INTEGER
|
|
116
|
+
})
|
|
117
|
+
declare categoryNo?: number;
|
|
118
|
+
|
|
119
|
+
@Column({
|
|
120
|
+
field: "book_no",
|
|
121
|
+
allowNull: true,
|
|
122
|
+
type: DataType.INTEGER
|
|
123
|
+
})
|
|
124
|
+
declare bookNo?: number;
|
|
125
|
+
|
|
126
|
+
@Column({
|
|
127
|
+
allowNull: true,
|
|
128
|
+
type: DataType.STRING(255)
|
|
129
|
+
})
|
|
130
|
+
declare chapter?: string;
|
|
131
|
+
|
|
132
|
+
@Column({
|
|
133
|
+
field: "announcement_date",
|
|
134
|
+
allowNull: true,
|
|
135
|
+
type: DataType.DATE
|
|
136
|
+
})
|
|
137
|
+
declare announcementDate?: Date;
|
|
138
|
+
|
|
139
|
+
@Column({
|
|
140
|
+
allowNull: true,
|
|
141
|
+
type: DataType.JSON
|
|
142
|
+
})
|
|
143
|
+
declare attachments?: object;
|
|
144
|
+
|
|
145
|
+
@Column({
|
|
146
|
+
allowNull: true,
|
|
147
|
+
type: DataType.INTEGER
|
|
148
|
+
})
|
|
149
|
+
declare sort?: number;
|
|
150
|
+
|
|
151
|
+
@Column({
|
|
152
|
+
allowNull: true,
|
|
153
|
+
type: DataType.INTEGER
|
|
154
|
+
})
|
|
155
|
+
declare publish?: number;
|
|
156
|
+
|
|
157
|
+
@Column({
|
|
158
|
+
allowNull: true,
|
|
159
|
+
type: DataType.INTEGER
|
|
160
|
+
})
|
|
161
|
+
declare status?: number;
|
|
162
|
+
|
|
163
|
+
@Column({
|
|
164
|
+
field: "has_expire",
|
|
165
|
+
allowNull: true,
|
|
166
|
+
type: DataType.INTEGER
|
|
167
|
+
})
|
|
168
|
+
declare hasExpire?: number;
|
|
169
|
+
|
|
170
|
+
@Column({
|
|
171
|
+
field: "start_date",
|
|
172
|
+
allowNull: true,
|
|
173
|
+
type: DataType.DATE
|
|
174
|
+
})
|
|
175
|
+
declare startDate?: Date;
|
|
176
|
+
|
|
177
|
+
@Column({
|
|
178
|
+
field: "expire_date",
|
|
179
|
+
allowNull: true,
|
|
180
|
+
type: DataType.DATE
|
|
181
|
+
})
|
|
182
|
+
declare expireDate?: Date;
|
|
183
|
+
|
|
184
|
+
@Column({
|
|
185
|
+
field: "created_by",
|
|
186
|
+
allowNull: true,
|
|
187
|
+
type: DataType.STRING(60)
|
|
188
|
+
})
|
|
189
|
+
declare createdBy?: string;
|
|
190
|
+
|
|
191
|
+
@Column({
|
|
192
|
+
field: "created_date",
|
|
193
|
+
allowNull: true,
|
|
194
|
+
type: DataType.DATE
|
|
195
|
+
})
|
|
196
|
+
declare createdDate?: Date;
|
|
197
|
+
|
|
198
|
+
@Column({
|
|
199
|
+
field: "updated_by",
|
|
200
|
+
allowNull: true,
|
|
201
|
+
type: DataType.STRING(60)
|
|
202
|
+
})
|
|
203
|
+
declare updatedBy?: string;
|
|
204
|
+
|
|
205
|
+
@Column({
|
|
206
|
+
field: "updated_date",
|
|
207
|
+
allowNull: true,
|
|
208
|
+
type: DataType.DATE
|
|
209
|
+
})
|
|
210
|
+
declare updatedDate?: Date;
|
|
211
|
+
|
|
212
212
|
}
|