@admc-go-th/admc-library 1.0.137 → 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/appScoreType.ts +8 -0
- 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/appScoreType.d.ts +2 -0
- package/databases/tables/appScoreType.js +7 -0
- package/databases/tables/index.d.ts +3 -0
- package/databases/tables/index.js +505 -239
- package/databases/tables/msPersonType.d.ts +24 -0
- package/databases/tables/msPersonType.js +99 -0
- package/package.json +1 -1
|
@@ -1,118 +1,118 @@
|
|
|
1
|
-
import {
|
|
2
|
-
Model, Table, Column, DataType, Index, Sequelize, ForeignKey, HasMany
|
|
3
|
-
} from "sequelize-typescript";
|
|
4
|
-
import { msExecutive } from "./msExecutive";
|
|
5
|
-
|
|
6
|
-
export interface msExecutivePositionAttributes {
|
|
7
|
-
id?: number;
|
|
8
|
-
groupId?: number;
|
|
9
|
-
name?: string;
|
|
10
|
-
description?: string;
|
|
11
|
-
updatedInfo?: string;
|
|
12
|
-
remark?: string;
|
|
13
|
-
sort?: number;
|
|
14
|
-
status?: number;
|
|
15
|
-
info?: object;
|
|
16
|
-
createdBy?: string;
|
|
17
|
-
createdDate?: Date;
|
|
18
|
-
updatedBy?: string;
|
|
19
|
-
updatedDate?: Date;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
@Table({
|
|
23
|
-
tableName: "ms_executive_position",
|
|
24
|
-
timestamps: false
|
|
25
|
-
})
|
|
26
|
-
export class msExecutivePosition extends Model<msExecutivePositionAttributes, msExecutivePositionAttributes> implements msExecutivePositionAttributes {
|
|
27
|
-
|
|
28
|
-
@Column({
|
|
29
|
-
primaryKey: true,
|
|
30
|
-
autoIncrement: true,
|
|
31
|
-
type: DataType.INTEGER
|
|
32
|
-
})
|
|
33
|
-
declare id?: number;
|
|
34
|
-
|
|
35
|
-
@Column({
|
|
36
|
-
field: "group_id",
|
|
37
|
-
allowNull: true,
|
|
38
|
-
type: DataType.INTEGER
|
|
39
|
-
})
|
|
40
|
-
declare groupId?: number;
|
|
41
|
-
|
|
42
|
-
@Column({
|
|
43
|
-
allowNull: true,
|
|
44
|
-
type: DataType.STRING(255)
|
|
45
|
-
})
|
|
46
|
-
declare name?: string;
|
|
47
|
-
|
|
48
|
-
@Column({
|
|
49
|
-
allowNull: true,
|
|
50
|
-
type: DataType.STRING(255)
|
|
51
|
-
})
|
|
52
|
-
declare description?: string;
|
|
53
|
-
|
|
54
|
-
@Column({
|
|
55
|
-
field: "updated_info",
|
|
56
|
-
allowNull: true,
|
|
57
|
-
type: DataType.STRING(255)
|
|
58
|
-
})
|
|
59
|
-
declare updatedInfo?: string;
|
|
60
|
-
|
|
61
|
-
@Column({
|
|
62
|
-
allowNull: true,
|
|
63
|
-
type: DataType.STRING
|
|
64
|
-
})
|
|
65
|
-
declare remark?: string;
|
|
66
|
-
|
|
67
|
-
@Column({
|
|
68
|
-
allowNull: true,
|
|
69
|
-
type: DataType.INTEGER
|
|
70
|
-
})
|
|
71
|
-
declare sort?: number;
|
|
72
|
-
|
|
73
|
-
@Column({
|
|
74
|
-
allowNull: true,
|
|
75
|
-
type: DataType.INTEGER
|
|
76
|
-
})
|
|
77
|
-
declare status?: number;
|
|
78
|
-
|
|
79
|
-
@Column({
|
|
80
|
-
allowNull: true,
|
|
81
|
-
type: DataType.JSON
|
|
82
|
-
})
|
|
83
|
-
declare info?: object;
|
|
84
|
-
|
|
85
|
-
@Column({
|
|
86
|
-
field: "created_by",
|
|
87
|
-
allowNull: true,
|
|
88
|
-
type: DataType.STRING(60)
|
|
89
|
-
})
|
|
90
|
-
declare createdBy?: string;
|
|
91
|
-
|
|
92
|
-
@Column({
|
|
93
|
-
field: "created_date",
|
|
94
|
-
allowNull: true,
|
|
95
|
-
type: DataType.DATE
|
|
96
|
-
})
|
|
97
|
-
declare createdDate?: Date;
|
|
98
|
-
|
|
99
|
-
@Column({
|
|
100
|
-
field: "updated_by",
|
|
101
|
-
allowNull: true,
|
|
102
|
-
type: DataType.STRING(60)
|
|
103
|
-
})
|
|
104
|
-
declare updatedBy?: string;
|
|
105
|
-
|
|
106
|
-
@Column({
|
|
107
|
-
field: "updated_date",
|
|
108
|
-
allowNull: true,
|
|
109
|
-
type: DataType.DATE
|
|
110
|
-
})
|
|
111
|
-
declare updatedDate?: Date;
|
|
112
|
-
|
|
113
|
-
@HasMany(() => msExecutive, {
|
|
114
|
-
sourceKey: "id"
|
|
115
|
-
})
|
|
116
|
-
declare msExecutives?: msExecutive[];
|
|
117
|
-
|
|
1
|
+
import {
|
|
2
|
+
Model, Table, Column, DataType, Index, Sequelize, ForeignKey, HasMany
|
|
3
|
+
} from "sequelize-typescript";
|
|
4
|
+
import { msExecutive } from "./msExecutive";
|
|
5
|
+
|
|
6
|
+
export interface msExecutivePositionAttributes {
|
|
7
|
+
id?: number;
|
|
8
|
+
groupId?: number;
|
|
9
|
+
name?: string;
|
|
10
|
+
description?: string;
|
|
11
|
+
updatedInfo?: string;
|
|
12
|
+
remark?: string;
|
|
13
|
+
sort?: number;
|
|
14
|
+
status?: number;
|
|
15
|
+
info?: object;
|
|
16
|
+
createdBy?: string;
|
|
17
|
+
createdDate?: Date;
|
|
18
|
+
updatedBy?: string;
|
|
19
|
+
updatedDate?: Date;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
@Table({
|
|
23
|
+
tableName: "ms_executive_position",
|
|
24
|
+
timestamps: false
|
|
25
|
+
})
|
|
26
|
+
export class msExecutivePosition extends Model<msExecutivePositionAttributes, msExecutivePositionAttributes> implements msExecutivePositionAttributes {
|
|
27
|
+
|
|
28
|
+
@Column({
|
|
29
|
+
primaryKey: true,
|
|
30
|
+
autoIncrement: true,
|
|
31
|
+
type: DataType.INTEGER
|
|
32
|
+
})
|
|
33
|
+
declare id?: number;
|
|
34
|
+
|
|
35
|
+
@Column({
|
|
36
|
+
field: "group_id",
|
|
37
|
+
allowNull: true,
|
|
38
|
+
type: DataType.INTEGER
|
|
39
|
+
})
|
|
40
|
+
declare groupId?: number;
|
|
41
|
+
|
|
42
|
+
@Column({
|
|
43
|
+
allowNull: true,
|
|
44
|
+
type: DataType.STRING(255)
|
|
45
|
+
})
|
|
46
|
+
declare name?: string;
|
|
47
|
+
|
|
48
|
+
@Column({
|
|
49
|
+
allowNull: true,
|
|
50
|
+
type: DataType.STRING(255)
|
|
51
|
+
})
|
|
52
|
+
declare description?: string;
|
|
53
|
+
|
|
54
|
+
@Column({
|
|
55
|
+
field: "updated_info",
|
|
56
|
+
allowNull: true,
|
|
57
|
+
type: DataType.STRING(255)
|
|
58
|
+
})
|
|
59
|
+
declare updatedInfo?: string;
|
|
60
|
+
|
|
61
|
+
@Column({
|
|
62
|
+
allowNull: true,
|
|
63
|
+
type: DataType.STRING
|
|
64
|
+
})
|
|
65
|
+
declare remark?: string;
|
|
66
|
+
|
|
67
|
+
@Column({
|
|
68
|
+
allowNull: true,
|
|
69
|
+
type: DataType.INTEGER
|
|
70
|
+
})
|
|
71
|
+
declare sort?: number;
|
|
72
|
+
|
|
73
|
+
@Column({
|
|
74
|
+
allowNull: true,
|
|
75
|
+
type: DataType.INTEGER
|
|
76
|
+
})
|
|
77
|
+
declare status?: number;
|
|
78
|
+
|
|
79
|
+
@Column({
|
|
80
|
+
allowNull: true,
|
|
81
|
+
type: DataType.JSON
|
|
82
|
+
})
|
|
83
|
+
declare info?: object;
|
|
84
|
+
|
|
85
|
+
@Column({
|
|
86
|
+
field: "created_by",
|
|
87
|
+
allowNull: true,
|
|
88
|
+
type: DataType.STRING(60)
|
|
89
|
+
})
|
|
90
|
+
declare createdBy?: string;
|
|
91
|
+
|
|
92
|
+
@Column({
|
|
93
|
+
field: "created_date",
|
|
94
|
+
allowNull: true,
|
|
95
|
+
type: DataType.DATE
|
|
96
|
+
})
|
|
97
|
+
declare createdDate?: Date;
|
|
98
|
+
|
|
99
|
+
@Column({
|
|
100
|
+
field: "updated_by",
|
|
101
|
+
allowNull: true,
|
|
102
|
+
type: DataType.STRING(60)
|
|
103
|
+
})
|
|
104
|
+
declare updatedBy?: string;
|
|
105
|
+
|
|
106
|
+
@Column({
|
|
107
|
+
field: "updated_date",
|
|
108
|
+
allowNull: true,
|
|
109
|
+
type: DataType.DATE
|
|
110
|
+
})
|
|
111
|
+
declare updatedDate?: Date;
|
|
112
|
+
|
|
113
|
+
@HasMany(() => msExecutive, {
|
|
114
|
+
sourceKey: "id"
|
|
115
|
+
})
|
|
116
|
+
declare msExecutives?: msExecutive[];
|
|
117
|
+
|
|
118
118
|
}
|
|
@@ -1,112 +1,112 @@
|
|
|
1
|
-
import {
|
|
2
|
-
Model, Table, Column, DataType, Index, Sequelize, ForeignKey
|
|
3
|
-
} from "sequelize-typescript";
|
|
4
|
-
|
|
5
|
-
export interface msExecutivePositionBkAttributes {
|
|
6
|
-
id?: number;
|
|
7
|
-
groupId?: number;
|
|
8
|
-
name?: string;
|
|
9
|
-
description?: string;
|
|
10
|
-
updatedInfo?: string;
|
|
11
|
-
remark?: string;
|
|
12
|
-
sort?: number;
|
|
13
|
-
status?: number;
|
|
14
|
-
info?: object;
|
|
15
|
-
createdBy?: string;
|
|
16
|
-
createdDate?: Date;
|
|
17
|
-
updatedBy?: string;
|
|
18
|
-
updatedDate?: Date;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
@Table({
|
|
22
|
-
tableName: "ms_executive_position@bk",
|
|
23
|
-
timestamps: false
|
|
24
|
-
})
|
|
25
|
-
export class msExecutivePositionBk extends Model<msExecutivePositionBkAttributes, msExecutivePositionBkAttributes> implements msExecutivePositionBkAttributes {
|
|
26
|
-
|
|
27
|
-
@Column({
|
|
28
|
-
primaryKey: true,
|
|
29
|
-
autoIncrement: true,
|
|
30
|
-
type: DataType.INTEGER
|
|
31
|
-
})
|
|
32
|
-
declare id?: number;
|
|
33
|
-
|
|
34
|
-
@Column({
|
|
35
|
-
field: "group_id",
|
|
36
|
-
allowNull: true,
|
|
37
|
-
type: DataType.INTEGER
|
|
38
|
-
})
|
|
39
|
-
declare groupId?: number;
|
|
40
|
-
|
|
41
|
-
@Column({
|
|
42
|
-
allowNull: true,
|
|
43
|
-
type: DataType.STRING(255)
|
|
44
|
-
})
|
|
45
|
-
declare name?: string;
|
|
46
|
-
|
|
47
|
-
@Column({
|
|
48
|
-
allowNull: true,
|
|
49
|
-
type: DataType.STRING(255)
|
|
50
|
-
})
|
|
51
|
-
declare description?: string;
|
|
52
|
-
|
|
53
|
-
@Column({
|
|
54
|
-
field: "updated_info",
|
|
55
|
-
allowNull: true,
|
|
56
|
-
type: DataType.STRING(255)
|
|
57
|
-
})
|
|
58
|
-
declare updatedInfo?: string;
|
|
59
|
-
|
|
60
|
-
@Column({
|
|
61
|
-
allowNull: true,
|
|
62
|
-
type: DataType.STRING
|
|
63
|
-
})
|
|
64
|
-
declare remark?: string;
|
|
65
|
-
|
|
66
|
-
@Column({
|
|
67
|
-
allowNull: true,
|
|
68
|
-
type: DataType.INTEGER
|
|
69
|
-
})
|
|
70
|
-
declare sort?: number;
|
|
71
|
-
|
|
72
|
-
@Column({
|
|
73
|
-
allowNull: true,
|
|
74
|
-
type: DataType.INTEGER
|
|
75
|
-
})
|
|
76
|
-
declare status?: number;
|
|
77
|
-
|
|
78
|
-
@Column({
|
|
79
|
-
allowNull: true,
|
|
80
|
-
type: DataType.JSON
|
|
81
|
-
})
|
|
82
|
-
declare info?: object;
|
|
83
|
-
|
|
84
|
-
@Column({
|
|
85
|
-
field: "created_by",
|
|
86
|
-
allowNull: true,
|
|
87
|
-
type: DataType.STRING(60)
|
|
88
|
-
})
|
|
89
|
-
declare createdBy?: string;
|
|
90
|
-
|
|
91
|
-
@Column({
|
|
92
|
-
field: "created_date",
|
|
93
|
-
allowNull: true,
|
|
94
|
-
type: DataType.DATE
|
|
95
|
-
})
|
|
96
|
-
declare createdDate?: Date;
|
|
97
|
-
|
|
98
|
-
@Column({
|
|
99
|
-
field: "updated_by",
|
|
100
|
-
allowNull: true,
|
|
101
|
-
type: DataType.STRING(60)
|
|
102
|
-
})
|
|
103
|
-
declare updatedBy?: string;
|
|
104
|
-
|
|
105
|
-
@Column({
|
|
106
|
-
field: "updated_date",
|
|
107
|
-
allowNull: true,
|
|
108
|
-
type: DataType.DATE
|
|
109
|
-
})
|
|
110
|
-
declare updatedDate?: Date;
|
|
111
|
-
|
|
1
|
+
import {
|
|
2
|
+
Model, Table, Column, DataType, Index, Sequelize, ForeignKey
|
|
3
|
+
} from "sequelize-typescript";
|
|
4
|
+
|
|
5
|
+
export interface msExecutivePositionBkAttributes {
|
|
6
|
+
id?: number;
|
|
7
|
+
groupId?: number;
|
|
8
|
+
name?: string;
|
|
9
|
+
description?: string;
|
|
10
|
+
updatedInfo?: string;
|
|
11
|
+
remark?: string;
|
|
12
|
+
sort?: number;
|
|
13
|
+
status?: number;
|
|
14
|
+
info?: object;
|
|
15
|
+
createdBy?: string;
|
|
16
|
+
createdDate?: Date;
|
|
17
|
+
updatedBy?: string;
|
|
18
|
+
updatedDate?: Date;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
@Table({
|
|
22
|
+
tableName: "ms_executive_position@bk",
|
|
23
|
+
timestamps: false
|
|
24
|
+
})
|
|
25
|
+
export class msExecutivePositionBk extends Model<msExecutivePositionBkAttributes, msExecutivePositionBkAttributes> implements msExecutivePositionBkAttributes {
|
|
26
|
+
|
|
27
|
+
@Column({
|
|
28
|
+
primaryKey: true,
|
|
29
|
+
autoIncrement: true,
|
|
30
|
+
type: DataType.INTEGER
|
|
31
|
+
})
|
|
32
|
+
declare id?: number;
|
|
33
|
+
|
|
34
|
+
@Column({
|
|
35
|
+
field: "group_id",
|
|
36
|
+
allowNull: true,
|
|
37
|
+
type: DataType.INTEGER
|
|
38
|
+
})
|
|
39
|
+
declare groupId?: number;
|
|
40
|
+
|
|
41
|
+
@Column({
|
|
42
|
+
allowNull: true,
|
|
43
|
+
type: DataType.STRING(255)
|
|
44
|
+
})
|
|
45
|
+
declare name?: string;
|
|
46
|
+
|
|
47
|
+
@Column({
|
|
48
|
+
allowNull: true,
|
|
49
|
+
type: DataType.STRING(255)
|
|
50
|
+
})
|
|
51
|
+
declare description?: string;
|
|
52
|
+
|
|
53
|
+
@Column({
|
|
54
|
+
field: "updated_info",
|
|
55
|
+
allowNull: true,
|
|
56
|
+
type: DataType.STRING(255)
|
|
57
|
+
})
|
|
58
|
+
declare updatedInfo?: string;
|
|
59
|
+
|
|
60
|
+
@Column({
|
|
61
|
+
allowNull: true,
|
|
62
|
+
type: DataType.STRING
|
|
63
|
+
})
|
|
64
|
+
declare remark?: string;
|
|
65
|
+
|
|
66
|
+
@Column({
|
|
67
|
+
allowNull: true,
|
|
68
|
+
type: DataType.INTEGER
|
|
69
|
+
})
|
|
70
|
+
declare sort?: number;
|
|
71
|
+
|
|
72
|
+
@Column({
|
|
73
|
+
allowNull: true,
|
|
74
|
+
type: DataType.INTEGER
|
|
75
|
+
})
|
|
76
|
+
declare status?: number;
|
|
77
|
+
|
|
78
|
+
@Column({
|
|
79
|
+
allowNull: true,
|
|
80
|
+
type: DataType.JSON
|
|
81
|
+
})
|
|
82
|
+
declare info?: object;
|
|
83
|
+
|
|
84
|
+
@Column({
|
|
85
|
+
field: "created_by",
|
|
86
|
+
allowNull: true,
|
|
87
|
+
type: DataType.STRING(60)
|
|
88
|
+
})
|
|
89
|
+
declare createdBy?: string;
|
|
90
|
+
|
|
91
|
+
@Column({
|
|
92
|
+
field: "created_date",
|
|
93
|
+
allowNull: true,
|
|
94
|
+
type: DataType.DATE
|
|
95
|
+
})
|
|
96
|
+
declare createdDate?: Date;
|
|
97
|
+
|
|
98
|
+
@Column({
|
|
99
|
+
field: "updated_by",
|
|
100
|
+
allowNull: true,
|
|
101
|
+
type: DataType.STRING(60)
|
|
102
|
+
})
|
|
103
|
+
declare updatedBy?: string;
|
|
104
|
+
|
|
105
|
+
@Column({
|
|
106
|
+
field: "updated_date",
|
|
107
|
+
allowNull: true,
|
|
108
|
+
type: DataType.DATE
|
|
109
|
+
})
|
|
110
|
+
declare updatedDate?: Date;
|
|
111
|
+
|
|
112
112
|
}
|
|
@@ -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
|
}
|