@admc-go-th/admc-library 1.0.121 → 1.0.123
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/{appBlessings-peNBIrhQ.d.ts → appBlessings-DcXFhNjP.d.ts} +4 -2
- package/databases/schema/appBlessings.ts +11 -3
- package/databases/schema/appScore.ts +161 -0
- package/databases/schema/appScoreData.ts +101 -0
- package/databases/schema/appScorePerson.ts +101 -0
- package/databases/schema/index.ts +4 -0
- package/databases/schema/logsMember.ts +60 -0
- package/databases/schema/mdApplication.ts +8 -0
- package/databases/schema/mdEgp.ts +114 -0
- package/databases/schema/msExecutiveGroup.ts +7 -0
- package/databases/schema/msHoliday.ts +29 -6
- package/databases/tables/appBlessings.d.ts +1 -1
- package/databases/tables/appBlessings.js +8 -1
- package/databases/tables/appBlessingsTransaction.d.ts +1 -1
- package/databases/tables/appBlessingsTransaction.js +8 -1
- package/databases/tables/appScore.d.ts +46 -0
- package/databases/tables/appScore.js +174 -0
- package/databases/tables/appScoreData.d.ts +30 -0
- package/databases/tables/appScoreData.js +122 -0
- package/databases/tables/appScorePerson.d.ts +30 -0
- package/databases/tables/appScorePerson.js +122 -0
- package/databases/tables/index.d.ts +6 -2
- package/databases/tables/index.js +2561 -2149
- package/databases/tables/logsMember.d.ts +20 -0
- package/databases/tables/logsMember.js +86 -0
- package/databases/tables/mdApplication.d.ts +2 -0
- package/databases/tables/mdApplication.js +7 -0
- package/databases/tables/mdEgp.d.ts +34 -0
- package/databases/tables/mdEgp.js +133 -0
- package/databases/tables/msExecutive.d.ts +1 -1
- package/databases/tables/msExecutive.js +6 -0
- package/databases/tables/msExecutiveGroup.d.ts +1 -1
- package/databases/tables/msExecutiveGroup.js +6 -0
- package/databases/tables/msExecutivePosition.d.ts +1 -1
- package/databases/tables/msExecutivePosition.js +6 -0
- package/databases/tables/msHoliday.d.ts +10 -4
- package/databases/tables/msHoliday.js +23 -3
- package/{msExecutive-B7lTHxSZ.d.ts → msExecutive-BFeU4P0-.d.ts} +2 -0
- package/package.json +1 -1
|
@@ -31,7 +31,8 @@ interface appBlessingsAttributes {
|
|
|
31
31
|
uuid?: string;
|
|
32
32
|
title?: string;
|
|
33
33
|
detail?: string;
|
|
34
|
-
words?:
|
|
34
|
+
words?: object;
|
|
35
|
+
imageCover?: string;
|
|
35
36
|
status?: number;
|
|
36
37
|
hasExpire?: number;
|
|
37
38
|
startDate?: Date;
|
|
@@ -46,7 +47,8 @@ declare class appBlessings extends Model<appBlessingsAttributes, appBlessingsAtt
|
|
|
46
47
|
uuid?: string;
|
|
47
48
|
title?: string;
|
|
48
49
|
detail?: string;
|
|
49
|
-
words?:
|
|
50
|
+
words?: object;
|
|
51
|
+
imageCover?: string;
|
|
50
52
|
status?: number;
|
|
51
53
|
hasExpire?: number;
|
|
52
54
|
startDate?: Date;
|
|
@@ -8,7 +8,8 @@ export interface appBlessingsAttributes {
|
|
|
8
8
|
uuid?: string;
|
|
9
9
|
title?: string;
|
|
10
10
|
detail?: string;
|
|
11
|
-
words?:
|
|
11
|
+
words?: object;
|
|
12
|
+
imageCover?: string;
|
|
12
13
|
status?: number;
|
|
13
14
|
hasExpire?: number;
|
|
14
15
|
startDate?: Date;
|
|
@@ -52,9 +53,16 @@ export class appBlessings extends Model<appBlessingsAttributes, appBlessingsAttr
|
|
|
52
53
|
|
|
53
54
|
@Column({
|
|
54
55
|
allowNull: true,
|
|
55
|
-
type: DataType.
|
|
56
|
+
type: DataType.JSON
|
|
57
|
+
})
|
|
58
|
+
declare words?: object;
|
|
59
|
+
|
|
60
|
+
@Column({
|
|
61
|
+
field: "image_cover",
|
|
62
|
+
allowNull: true,
|
|
63
|
+
type: DataType.STRING(60)
|
|
56
64
|
})
|
|
57
|
-
declare
|
|
65
|
+
declare imageCover?: string;
|
|
58
66
|
|
|
59
67
|
@Column({
|
|
60
68
|
allowNull: true,
|
|
@@ -0,0 +1,161 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Model, Table, Column, DataType, Index, Sequelize, ForeignKey
|
|
3
|
+
} from "sequelize-typescript";
|
|
4
|
+
|
|
5
|
+
export interface appScoreAttributes {
|
|
6
|
+
id?: number;
|
|
7
|
+
uuid?: string;
|
|
8
|
+
typeId?: number;
|
|
9
|
+
name?: string;
|
|
10
|
+
description?: string;
|
|
11
|
+
loginLabel?: string;
|
|
12
|
+
topicInfo?: object;
|
|
13
|
+
labelInfo?: object;
|
|
14
|
+
note?: string;
|
|
15
|
+
scoreInfo?: object;
|
|
16
|
+
signInfo?: object;
|
|
17
|
+
startDate?: Date;
|
|
18
|
+
endDate?: Date;
|
|
19
|
+
status?: number;
|
|
20
|
+
apiInfo?: object;
|
|
21
|
+
createdBy?: string;
|
|
22
|
+
createdDate?: Date;
|
|
23
|
+
updatedBy?: string;
|
|
24
|
+
updatedDate?: Date;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
@Table({
|
|
28
|
+
tableName: "app_score",
|
|
29
|
+
timestamps: false
|
|
30
|
+
})
|
|
31
|
+
export class appScore extends Model<appScoreAttributes, appScoreAttributes> implements appScoreAttributes {
|
|
32
|
+
|
|
33
|
+
@Column({
|
|
34
|
+
primaryKey: true,
|
|
35
|
+
autoIncrement: true,
|
|
36
|
+
type: DataType.INTEGER
|
|
37
|
+
})
|
|
38
|
+
declare id?: number;
|
|
39
|
+
|
|
40
|
+
@Column({
|
|
41
|
+
allowNull: true,
|
|
42
|
+
type: DataType.STRING(60)
|
|
43
|
+
})
|
|
44
|
+
declare uuid?: string;
|
|
45
|
+
|
|
46
|
+
@Column({
|
|
47
|
+
field: "type_id",
|
|
48
|
+
allowNull: true,
|
|
49
|
+
type: DataType.INTEGER
|
|
50
|
+
})
|
|
51
|
+
declare typeId?: number;
|
|
52
|
+
|
|
53
|
+
@Column({
|
|
54
|
+
allowNull: true,
|
|
55
|
+
type: DataType.STRING(255)
|
|
56
|
+
})
|
|
57
|
+
declare name?: string;
|
|
58
|
+
|
|
59
|
+
@Column({
|
|
60
|
+
allowNull: true,
|
|
61
|
+
type: DataType.STRING(255)
|
|
62
|
+
})
|
|
63
|
+
declare description?: string;
|
|
64
|
+
|
|
65
|
+
@Column({
|
|
66
|
+
field: "login_label",
|
|
67
|
+
allowNull: true,
|
|
68
|
+
type: DataType.STRING(255)
|
|
69
|
+
})
|
|
70
|
+
declare loginLabel?: string;
|
|
71
|
+
|
|
72
|
+
@Column({
|
|
73
|
+
field: "topic_info",
|
|
74
|
+
allowNull: true,
|
|
75
|
+
type: DataType.JSON
|
|
76
|
+
})
|
|
77
|
+
declare topicInfo?: object;
|
|
78
|
+
|
|
79
|
+
@Column({
|
|
80
|
+
field: "label_info",
|
|
81
|
+
allowNull: true,
|
|
82
|
+
type: DataType.JSON
|
|
83
|
+
})
|
|
84
|
+
declare labelInfo?: object;
|
|
85
|
+
|
|
86
|
+
@Column({
|
|
87
|
+
allowNull: true,
|
|
88
|
+
type: DataType.STRING
|
|
89
|
+
})
|
|
90
|
+
declare note?: string;
|
|
91
|
+
|
|
92
|
+
@Column({
|
|
93
|
+
field: "score_info",
|
|
94
|
+
allowNull: true,
|
|
95
|
+
type: DataType.JSON
|
|
96
|
+
})
|
|
97
|
+
declare scoreInfo?: object;
|
|
98
|
+
|
|
99
|
+
@Column({
|
|
100
|
+
field: "sign_info",
|
|
101
|
+
allowNull: true,
|
|
102
|
+
type: DataType.JSON
|
|
103
|
+
})
|
|
104
|
+
declare signInfo?: object;
|
|
105
|
+
|
|
106
|
+
@Column({
|
|
107
|
+
field: "start_date",
|
|
108
|
+
allowNull: true,
|
|
109
|
+
type: DataType.DATE
|
|
110
|
+
})
|
|
111
|
+
declare startDate?: Date;
|
|
112
|
+
|
|
113
|
+
@Column({
|
|
114
|
+
field: "end_date",
|
|
115
|
+
allowNull: true,
|
|
116
|
+
type: DataType.DATE
|
|
117
|
+
})
|
|
118
|
+
declare endDate?: Date;
|
|
119
|
+
|
|
120
|
+
@Column({
|
|
121
|
+
allowNull: true,
|
|
122
|
+
type: DataType.INTEGER
|
|
123
|
+
})
|
|
124
|
+
declare status?: number;
|
|
125
|
+
|
|
126
|
+
@Column({
|
|
127
|
+
field: "api_info",
|
|
128
|
+
allowNull: true,
|
|
129
|
+
type: DataType.JSON
|
|
130
|
+
})
|
|
131
|
+
declare apiInfo?: object;
|
|
132
|
+
|
|
133
|
+
@Column({
|
|
134
|
+
field: "created_by",
|
|
135
|
+
allowNull: true,
|
|
136
|
+
type: DataType.STRING(60)
|
|
137
|
+
})
|
|
138
|
+
declare createdBy?: string;
|
|
139
|
+
|
|
140
|
+
@Column({
|
|
141
|
+
field: "created_date",
|
|
142
|
+
allowNull: true,
|
|
143
|
+
type: DataType.DATE
|
|
144
|
+
})
|
|
145
|
+
declare createdDate?: Date;
|
|
146
|
+
|
|
147
|
+
@Column({
|
|
148
|
+
field: "updated_by",
|
|
149
|
+
allowNull: true,
|
|
150
|
+
type: DataType.STRING(60)
|
|
151
|
+
})
|
|
152
|
+
declare updatedBy?: string;
|
|
153
|
+
|
|
154
|
+
@Column({
|
|
155
|
+
field: "updated_date",
|
|
156
|
+
allowNull: true,
|
|
157
|
+
type: DataType.DATE
|
|
158
|
+
})
|
|
159
|
+
declare updatedDate?: Date;
|
|
160
|
+
|
|
161
|
+
}
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Model, Table, Column, DataType, Index, Sequelize, ForeignKey
|
|
3
|
+
} from "sequelize-typescript";
|
|
4
|
+
|
|
5
|
+
export interface appScoreDataAttributes {
|
|
6
|
+
id?: number;
|
|
7
|
+
scoreId?: number;
|
|
8
|
+
personId?: number;
|
|
9
|
+
personNo?: string;
|
|
10
|
+
dataInfo?: object;
|
|
11
|
+
scoreInfo?: object;
|
|
12
|
+
status?: number;
|
|
13
|
+
createdBy?: string;
|
|
14
|
+
createdDate?: Date;
|
|
15
|
+
updatedBy?: string;
|
|
16
|
+
updatedDate?: Date;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
@Table({
|
|
20
|
+
tableName: "app_score_data",
|
|
21
|
+
timestamps: false
|
|
22
|
+
})
|
|
23
|
+
export class appScoreData extends Model<appScoreDataAttributes, appScoreDataAttributes> implements appScoreDataAttributes {
|
|
24
|
+
|
|
25
|
+
@Column({
|
|
26
|
+
primaryKey: true,
|
|
27
|
+
autoIncrement: true,
|
|
28
|
+
type: DataType.INTEGER
|
|
29
|
+
})
|
|
30
|
+
declare id?: number;
|
|
31
|
+
|
|
32
|
+
@Column({
|
|
33
|
+
field: "score_id",
|
|
34
|
+
allowNull: true,
|
|
35
|
+
type: DataType.INTEGER
|
|
36
|
+
})
|
|
37
|
+
declare scoreId?: number;
|
|
38
|
+
|
|
39
|
+
@Column({
|
|
40
|
+
field: "person_id",
|
|
41
|
+
allowNull: true,
|
|
42
|
+
type: DataType.INTEGER
|
|
43
|
+
})
|
|
44
|
+
declare personId?: number;
|
|
45
|
+
|
|
46
|
+
@Column({
|
|
47
|
+
field: "person_no",
|
|
48
|
+
allowNull: true,
|
|
49
|
+
type: DataType.STRING(20)
|
|
50
|
+
})
|
|
51
|
+
declare personNo?: string;
|
|
52
|
+
|
|
53
|
+
@Column({
|
|
54
|
+
field: "data_info",
|
|
55
|
+
allowNull: true,
|
|
56
|
+
type: DataType.JSON
|
|
57
|
+
})
|
|
58
|
+
declare dataInfo?: object;
|
|
59
|
+
|
|
60
|
+
@Column({
|
|
61
|
+
field: "score_info",
|
|
62
|
+
allowNull: true,
|
|
63
|
+
type: DataType.JSON
|
|
64
|
+
})
|
|
65
|
+
declare scoreInfo?: object;
|
|
66
|
+
|
|
67
|
+
@Column({
|
|
68
|
+
allowNull: true,
|
|
69
|
+
type: DataType.INTEGER
|
|
70
|
+
})
|
|
71
|
+
declare status?: number;
|
|
72
|
+
|
|
73
|
+
@Column({
|
|
74
|
+
field: "created_by",
|
|
75
|
+
allowNull: true,
|
|
76
|
+
type: DataType.STRING(60)
|
|
77
|
+
})
|
|
78
|
+
declare createdBy?: string;
|
|
79
|
+
|
|
80
|
+
@Column({
|
|
81
|
+
field: "created_date",
|
|
82
|
+
allowNull: true,
|
|
83
|
+
type: DataType.DATE
|
|
84
|
+
})
|
|
85
|
+
declare createdDate?: Date;
|
|
86
|
+
|
|
87
|
+
@Column({
|
|
88
|
+
field: "updated_by",
|
|
89
|
+
allowNull: true,
|
|
90
|
+
type: DataType.STRING(60)
|
|
91
|
+
})
|
|
92
|
+
declare updatedBy?: string;
|
|
93
|
+
|
|
94
|
+
@Column({
|
|
95
|
+
field: "updated_date",
|
|
96
|
+
allowNull: true,
|
|
97
|
+
type: DataType.DATE
|
|
98
|
+
})
|
|
99
|
+
declare updatedDate?: Date;
|
|
100
|
+
|
|
101
|
+
}
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Model, Table, Column, DataType, Index, Sequelize, ForeignKey
|
|
3
|
+
} from "sequelize-typescript";
|
|
4
|
+
|
|
5
|
+
export interface appScorePersonAttributes {
|
|
6
|
+
id?: number;
|
|
7
|
+
scoreId?: number;
|
|
8
|
+
personCardNo?: string;
|
|
9
|
+
personNo?: string;
|
|
10
|
+
personFullName?: string;
|
|
11
|
+
personOrganization?: string;
|
|
12
|
+
status?: number;
|
|
13
|
+
createdBy?: string;
|
|
14
|
+
createdDate?: Date;
|
|
15
|
+
updatedBy?: string;
|
|
16
|
+
updatedDate?: Date;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
@Table({
|
|
20
|
+
tableName: "app_score_person",
|
|
21
|
+
timestamps: false
|
|
22
|
+
})
|
|
23
|
+
export class appScorePerson extends Model<appScorePersonAttributes, appScorePersonAttributes> implements appScorePersonAttributes {
|
|
24
|
+
|
|
25
|
+
@Column({
|
|
26
|
+
primaryKey: true,
|
|
27
|
+
autoIncrement: true,
|
|
28
|
+
type: DataType.INTEGER
|
|
29
|
+
})
|
|
30
|
+
declare id?: number;
|
|
31
|
+
|
|
32
|
+
@Column({
|
|
33
|
+
field: "score_id",
|
|
34
|
+
allowNull: true,
|
|
35
|
+
type: DataType.INTEGER
|
|
36
|
+
})
|
|
37
|
+
declare scoreId?: number;
|
|
38
|
+
|
|
39
|
+
@Column({
|
|
40
|
+
field: "person_card_no",
|
|
41
|
+
allowNull: true,
|
|
42
|
+
type: DataType.STRING(32)
|
|
43
|
+
})
|
|
44
|
+
declare personCardNo?: string;
|
|
45
|
+
|
|
46
|
+
@Column({
|
|
47
|
+
field: "person_no",
|
|
48
|
+
allowNull: true,
|
|
49
|
+
type: DataType.STRING(20)
|
|
50
|
+
})
|
|
51
|
+
declare personNo?: string;
|
|
52
|
+
|
|
53
|
+
@Column({
|
|
54
|
+
field: "person_full_name",
|
|
55
|
+
allowNull: true,
|
|
56
|
+
type: DataType.STRING(255)
|
|
57
|
+
})
|
|
58
|
+
declare personFullName?: string;
|
|
59
|
+
|
|
60
|
+
@Column({
|
|
61
|
+
field: "person_organization",
|
|
62
|
+
allowNull: true,
|
|
63
|
+
type: DataType.STRING(255)
|
|
64
|
+
})
|
|
65
|
+
declare personOrganization?: string;
|
|
66
|
+
|
|
67
|
+
@Column({
|
|
68
|
+
allowNull: true,
|
|
69
|
+
type: DataType.INTEGER
|
|
70
|
+
})
|
|
71
|
+
declare status?: number;
|
|
72
|
+
|
|
73
|
+
@Column({
|
|
74
|
+
field: "created_by",
|
|
75
|
+
allowNull: true,
|
|
76
|
+
type: DataType.STRING(60)
|
|
77
|
+
})
|
|
78
|
+
declare createdBy?: string;
|
|
79
|
+
|
|
80
|
+
@Column({
|
|
81
|
+
field: "created_date",
|
|
82
|
+
allowNull: true,
|
|
83
|
+
type: DataType.DATE
|
|
84
|
+
})
|
|
85
|
+
declare createdDate?: Date;
|
|
86
|
+
|
|
87
|
+
@Column({
|
|
88
|
+
field: "updated_by",
|
|
89
|
+
allowNull: true,
|
|
90
|
+
type: DataType.STRING(60)
|
|
91
|
+
})
|
|
92
|
+
declare updatedBy?: string;
|
|
93
|
+
|
|
94
|
+
@Column({
|
|
95
|
+
field: "updated_date",
|
|
96
|
+
allowNull: true,
|
|
97
|
+
type: DataType.DATE
|
|
98
|
+
})
|
|
99
|
+
declare updatedDate?: Date;
|
|
100
|
+
|
|
101
|
+
}
|
|
@@ -5,6 +5,9 @@ export * from "./appQueue";
|
|
|
5
5
|
export * from "./appQueueTour";
|
|
6
6
|
export * from "./appReportCorruption";
|
|
7
7
|
export * from "./appReportCorruptionTransaction";
|
|
8
|
+
export * from "./appScore";
|
|
9
|
+
export * from "./appScoreData";
|
|
10
|
+
export * from "./appScorePerson";
|
|
8
11
|
export * from "./authAssignment";
|
|
9
12
|
export * from "./authItem";
|
|
10
13
|
export * from "./authItemChild";
|
|
@@ -15,6 +18,7 @@ export * from "./contentGuidelinesTour";
|
|
|
15
18
|
export * from "./files";
|
|
16
19
|
export * from "./helper";
|
|
17
20
|
export * from "./logs";
|
|
21
|
+
export * from "./logsMember";
|
|
18
22
|
export * from "./mdApplication";
|
|
19
23
|
export * from "./mdBanner";
|
|
20
24
|
export * from "./mdCmsSingle";
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Model, Table, Column, DataType, Index, Sequelize, ForeignKey
|
|
3
|
+
} from "sequelize-typescript";
|
|
4
|
+
|
|
5
|
+
export interface logsMemberAttributes {
|
|
6
|
+
id?: number;
|
|
7
|
+
memberUuid?: string;
|
|
8
|
+
type?: string;
|
|
9
|
+
data?: object;
|
|
10
|
+
createdBy?: string;
|
|
11
|
+
createdDate?: Date;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
@Table({
|
|
15
|
+
tableName: "logs_member",
|
|
16
|
+
timestamps: false
|
|
17
|
+
})
|
|
18
|
+
export class logsMember extends Model<logsMemberAttributes, logsMemberAttributes> implements logsMemberAttributes {
|
|
19
|
+
|
|
20
|
+
@Column({
|
|
21
|
+
primaryKey: true,
|
|
22
|
+
autoIncrement: true,
|
|
23
|
+
type: DataType.INTEGER
|
|
24
|
+
})
|
|
25
|
+
declare id?: number;
|
|
26
|
+
|
|
27
|
+
@Column({
|
|
28
|
+
field: "member_uuid",
|
|
29
|
+
allowNull: true,
|
|
30
|
+
type: DataType.STRING(60)
|
|
31
|
+
})
|
|
32
|
+
declare memberUuid?: string;
|
|
33
|
+
|
|
34
|
+
@Column({
|
|
35
|
+
allowNull: true,
|
|
36
|
+
type: DataType.STRING(50)
|
|
37
|
+
})
|
|
38
|
+
declare type?: string;
|
|
39
|
+
|
|
40
|
+
@Column({
|
|
41
|
+
allowNull: true,
|
|
42
|
+
type: DataType.JSON
|
|
43
|
+
})
|
|
44
|
+
declare data?: object;
|
|
45
|
+
|
|
46
|
+
@Column({
|
|
47
|
+
field: "created_by",
|
|
48
|
+
allowNull: true,
|
|
49
|
+
type: DataType.STRING(60)
|
|
50
|
+
})
|
|
51
|
+
declare createdBy?: string;
|
|
52
|
+
|
|
53
|
+
@Column({
|
|
54
|
+
field: "created_date",
|
|
55
|
+
allowNull: true,
|
|
56
|
+
type: DataType.DATE
|
|
57
|
+
})
|
|
58
|
+
declare createdDate?: Date;
|
|
59
|
+
|
|
60
|
+
}
|
|
@@ -8,6 +8,7 @@ export interface mdApplicationAttributes {
|
|
|
8
8
|
keyName?: string;
|
|
9
9
|
title?: string;
|
|
10
10
|
description?: string;
|
|
11
|
+
textHeader?: string;
|
|
11
12
|
imageCover?: string;
|
|
12
13
|
fileUuid?: string;
|
|
13
14
|
attachments?: object;
|
|
@@ -69,6 +70,13 @@ export class mdApplication extends Model<mdApplicationAttributes, mdApplicationA
|
|
|
69
70
|
})
|
|
70
71
|
declare description?: string;
|
|
71
72
|
|
|
73
|
+
@Column({
|
|
74
|
+
field: "text_header",
|
|
75
|
+
allowNull: true,
|
|
76
|
+
type: DataType.STRING(255)
|
|
77
|
+
})
|
|
78
|
+
declare textHeader?: string;
|
|
79
|
+
|
|
72
80
|
@Column({
|
|
73
81
|
field: "image_cover",
|
|
74
82
|
allowNull: true,
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Model, Table, Column, DataType, Index, Sequelize, ForeignKey
|
|
3
|
+
} from "sequelize-typescript";
|
|
4
|
+
|
|
5
|
+
export interface mdEgpAttributes {
|
|
6
|
+
id?: number;
|
|
7
|
+
uuid: string;
|
|
8
|
+
agencyCode?: string;
|
|
9
|
+
title?: string;
|
|
10
|
+
description?: string;
|
|
11
|
+
projectCode?: string;
|
|
12
|
+
publishedDate?: Date;
|
|
13
|
+
attachmentLink?: string;
|
|
14
|
+
fileUuid?: string;
|
|
15
|
+
methodId?: string;
|
|
16
|
+
announceType?: string;
|
|
17
|
+
createdDate?: Date;
|
|
18
|
+
updatedDate?: Date;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
@Table({
|
|
22
|
+
tableName: "md_egp",
|
|
23
|
+
timestamps: false
|
|
24
|
+
})
|
|
25
|
+
export class mdEgp extends Model<mdEgpAttributes, mdEgpAttributes> implements mdEgpAttributes {
|
|
26
|
+
|
|
27
|
+
@Column({
|
|
28
|
+
primaryKey: true,
|
|
29
|
+
autoIncrement: true,
|
|
30
|
+
type: DataType.INTEGER
|
|
31
|
+
})
|
|
32
|
+
declare id?: number;
|
|
33
|
+
|
|
34
|
+
@Column({
|
|
35
|
+
type: DataType.STRING(60)
|
|
36
|
+
})
|
|
37
|
+
declare uuid: string;
|
|
38
|
+
|
|
39
|
+
@Column({
|
|
40
|
+
field: "agency_code",
|
|
41
|
+
allowNull: true,
|
|
42
|
+
type: DataType.STRING(60)
|
|
43
|
+
})
|
|
44
|
+
declare agencyCode?: string;
|
|
45
|
+
|
|
46
|
+
@Column({
|
|
47
|
+
allowNull: true,
|
|
48
|
+
type: DataType.STRING(255)
|
|
49
|
+
})
|
|
50
|
+
declare title?: string;
|
|
51
|
+
|
|
52
|
+
@Column({
|
|
53
|
+
allowNull: true,
|
|
54
|
+
type: DataType.STRING(255)
|
|
55
|
+
})
|
|
56
|
+
declare description?: string;
|
|
57
|
+
|
|
58
|
+
@Column({
|
|
59
|
+
field: "project_code",
|
|
60
|
+
allowNull: true,
|
|
61
|
+
type: DataType.STRING(60)
|
|
62
|
+
})
|
|
63
|
+
declare projectCode?: string;
|
|
64
|
+
|
|
65
|
+
@Column({
|
|
66
|
+
field: "published_date",
|
|
67
|
+
allowNull: true,
|
|
68
|
+
type: DataType.DATE
|
|
69
|
+
})
|
|
70
|
+
declare publishedDate?: Date;
|
|
71
|
+
|
|
72
|
+
@Column({
|
|
73
|
+
field: "attachment_link",
|
|
74
|
+
allowNull: true,
|
|
75
|
+
type: DataType.STRING(255)
|
|
76
|
+
})
|
|
77
|
+
declare attachmentLink?: string;
|
|
78
|
+
|
|
79
|
+
@Column({
|
|
80
|
+
field: "file_uuid",
|
|
81
|
+
allowNull: true,
|
|
82
|
+
type: DataType.STRING(255)
|
|
83
|
+
})
|
|
84
|
+
declare fileUuid?: string;
|
|
85
|
+
|
|
86
|
+
@Column({
|
|
87
|
+
field: "method_id",
|
|
88
|
+
allowNull: true,
|
|
89
|
+
type: DataType.STRING(20)
|
|
90
|
+
})
|
|
91
|
+
declare methodId?: string;
|
|
92
|
+
|
|
93
|
+
@Column({
|
|
94
|
+
field: "announce_type",
|
|
95
|
+
allowNull: true,
|
|
96
|
+
type: DataType.STRING(20)
|
|
97
|
+
})
|
|
98
|
+
declare announceType?: string;
|
|
99
|
+
|
|
100
|
+
@Column({
|
|
101
|
+
field: "created_date",
|
|
102
|
+
allowNull: true,
|
|
103
|
+
type: DataType.DATE
|
|
104
|
+
})
|
|
105
|
+
declare createdDate?: Date;
|
|
106
|
+
|
|
107
|
+
@Column({
|
|
108
|
+
field: "updated_date",
|
|
109
|
+
allowNull: true,
|
|
110
|
+
type: DataType.DATE
|
|
111
|
+
})
|
|
112
|
+
declare updatedDate?: Date;
|
|
113
|
+
|
|
114
|
+
}
|
|
@@ -6,6 +6,7 @@ import { msExecutive } from "./msExecutive";
|
|
|
6
6
|
export interface msExecutiveGroupAttributes {
|
|
7
7
|
id?: number;
|
|
8
8
|
uuid?: string;
|
|
9
|
+
type?: number;
|
|
9
10
|
name?: string;
|
|
10
11
|
description?: string;
|
|
11
12
|
startDate?: string;
|
|
@@ -38,6 +39,12 @@ export class msExecutiveGroup extends Model<msExecutiveGroupAttributes, msExecut
|
|
|
38
39
|
})
|
|
39
40
|
declare uuid?: string;
|
|
40
41
|
|
|
42
|
+
@Column({
|
|
43
|
+
allowNull: true,
|
|
44
|
+
type: DataType.INTEGER
|
|
45
|
+
})
|
|
46
|
+
declare type?: number;
|
|
47
|
+
|
|
41
48
|
@Column({
|
|
42
49
|
allowNull: true,
|
|
43
50
|
type: DataType.STRING(255)
|
|
@@ -4,9 +4,12 @@ import {
|
|
|
4
4
|
|
|
5
5
|
export interface msHolidayAttributes {
|
|
6
6
|
id?: number;
|
|
7
|
+
siteId?: number;
|
|
8
|
+
typeId?: number;
|
|
9
|
+
year?: number;
|
|
7
10
|
name?: string;
|
|
8
|
-
|
|
9
|
-
status?:
|
|
11
|
+
atDate?: string;
|
|
12
|
+
status?: number;
|
|
10
13
|
createdBy?: string;
|
|
11
14
|
createdDate?: Date;
|
|
12
15
|
updatedBy?: string;
|
|
@@ -26,6 +29,26 @@ export class msHoliday extends Model<msHolidayAttributes, msHolidayAttributes> i
|
|
|
26
29
|
})
|
|
27
30
|
declare id?: number;
|
|
28
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
|
+
|
|
29
52
|
@Column({
|
|
30
53
|
allowNull: true,
|
|
31
54
|
type: DataType.STRING(255)
|
|
@@ -33,17 +56,17 @@ export class msHoliday extends Model<msHolidayAttributes, msHolidayAttributes> i
|
|
|
33
56
|
declare name?: string;
|
|
34
57
|
|
|
35
58
|
@Column({
|
|
36
|
-
field: "
|
|
59
|
+
field: "at_date",
|
|
37
60
|
allowNull: true,
|
|
38
61
|
type: DataType.DATEONLY
|
|
39
62
|
})
|
|
40
|
-
declare
|
|
63
|
+
declare atDate?: string;
|
|
41
64
|
|
|
42
65
|
@Column({
|
|
43
66
|
allowNull: true,
|
|
44
|
-
type: DataType.
|
|
67
|
+
type: DataType.INTEGER
|
|
45
68
|
})
|
|
46
|
-
declare status?:
|
|
69
|
+
declare status?: number;
|
|
47
70
|
|
|
48
71
|
@Column({
|
|
49
72
|
field: "created_by",
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import 'sequelize-typescript';
|
|
2
|
-
export { b as appBlessings, a as appBlessingsAttributes } from '../../appBlessings-
|
|
2
|
+
export { b as appBlessings, a as appBlessingsAttributes } from '../../appBlessings-DcXFhNjP.js';
|