@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,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,75 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Model, Table, Column, DataType, Index, Sequelize, ForeignKey
|
|
3
|
+
} from "sequelize-typescript";
|
|
4
|
+
|
|
5
|
+
export interface msPersonTypeAttributes {
|
|
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_person_type",
|
|
18
|
+
timestamps: false
|
|
19
|
+
})
|
|
20
|
+
export class msPersonType extends Model<msPersonTypeAttributes, msPersonTypeAttributes> implements msPersonTypeAttributes {
|
|
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.STRING(255)
|
|
38
|
+
})
|
|
39
|
+
declare description?: string;
|
|
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
|
+
}
|
|
@@ -1,74 +1,74 @@
|
|
|
1
|
-
import {
|
|
2
|
-
Model, Table, Column, DataType, Index, Sequelize, ForeignKey
|
|
3
|
-
} from "sequelize-typescript";
|
|
4
|
-
|
|
5
|
-
export interface settingAttributes {
|
|
6
|
-
id?: number;
|
|
7
|
-
uuid: string;
|
|
8
|
-
title?: string;
|
|
9
|
-
description?: string;
|
|
10
|
-
imageLogoUuid?: string;
|
|
11
|
-
imageCoverUuid?: string;
|
|
12
|
-
imageBackgroundUuid?: string;
|
|
13
|
-
updatedDate?: Date;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
@Table({
|
|
17
|
-
tableName: "setting",
|
|
18
|
-
timestamps: false
|
|
19
|
-
})
|
|
20
|
-
export class setting extends Model<settingAttributes, settingAttributes> implements settingAttributes {
|
|
21
|
-
|
|
22
|
-
@Column({
|
|
23
|
-
primaryKey: true,
|
|
24
|
-
autoIncrement: true,
|
|
25
|
-
type: DataType.INTEGER
|
|
26
|
-
})
|
|
27
|
-
declare id?: number;
|
|
28
|
-
|
|
29
|
-
@Column({
|
|
30
|
-
type: DataType.STRING(60)
|
|
31
|
-
})
|
|
32
|
-
declare uuid: string;
|
|
33
|
-
|
|
34
|
-
@Column({
|
|
35
|
-
allowNull: true,
|
|
36
|
-
type: DataType.STRING(255)
|
|
37
|
-
})
|
|
38
|
-
declare title?: string;
|
|
39
|
-
|
|
40
|
-
@Column({
|
|
41
|
-
allowNull: true,
|
|
42
|
-
type: DataType.STRING(255)
|
|
43
|
-
})
|
|
44
|
-
declare description?: string;
|
|
45
|
-
|
|
46
|
-
@Column({
|
|
47
|
-
field: "image_logo_uuid",
|
|
48
|
-
allowNull: true,
|
|
49
|
-
type: DataType.STRING(60)
|
|
50
|
-
})
|
|
51
|
-
declare imageLogoUuid?: string;
|
|
52
|
-
|
|
53
|
-
@Column({
|
|
54
|
-
field: "image_cover_uuid",
|
|
55
|
-
allowNull: true,
|
|
56
|
-
type: DataType.STRING(60)
|
|
57
|
-
})
|
|
58
|
-
declare imageCoverUuid?: string;
|
|
59
|
-
|
|
60
|
-
@Column({
|
|
61
|
-
field: "image_background_uuid",
|
|
62
|
-
allowNull: true,
|
|
63
|
-
type: DataType.STRING(60)
|
|
64
|
-
})
|
|
65
|
-
declare imageBackgroundUuid?: string;
|
|
66
|
-
|
|
67
|
-
@Column({
|
|
68
|
-
field: "updated_date",
|
|
69
|
-
allowNull: true,
|
|
70
|
-
type: DataType.DATE
|
|
71
|
-
})
|
|
72
|
-
declare updatedDate?: Date;
|
|
73
|
-
|
|
1
|
+
import {
|
|
2
|
+
Model, Table, Column, DataType, Index, Sequelize, ForeignKey
|
|
3
|
+
} from "sequelize-typescript";
|
|
4
|
+
|
|
5
|
+
export interface settingAttributes {
|
|
6
|
+
id?: number;
|
|
7
|
+
uuid: string;
|
|
8
|
+
title?: string;
|
|
9
|
+
description?: string;
|
|
10
|
+
imageLogoUuid?: string;
|
|
11
|
+
imageCoverUuid?: string;
|
|
12
|
+
imageBackgroundUuid?: string;
|
|
13
|
+
updatedDate?: Date;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
@Table({
|
|
17
|
+
tableName: "setting",
|
|
18
|
+
timestamps: false
|
|
19
|
+
})
|
|
20
|
+
export class setting extends Model<settingAttributes, settingAttributes> implements settingAttributes {
|
|
21
|
+
|
|
22
|
+
@Column({
|
|
23
|
+
primaryKey: true,
|
|
24
|
+
autoIncrement: true,
|
|
25
|
+
type: DataType.INTEGER
|
|
26
|
+
})
|
|
27
|
+
declare id?: number;
|
|
28
|
+
|
|
29
|
+
@Column({
|
|
30
|
+
type: DataType.STRING(60)
|
|
31
|
+
})
|
|
32
|
+
declare uuid: string;
|
|
33
|
+
|
|
34
|
+
@Column({
|
|
35
|
+
allowNull: true,
|
|
36
|
+
type: DataType.STRING(255)
|
|
37
|
+
})
|
|
38
|
+
declare title?: string;
|
|
39
|
+
|
|
40
|
+
@Column({
|
|
41
|
+
allowNull: true,
|
|
42
|
+
type: DataType.STRING(255)
|
|
43
|
+
})
|
|
44
|
+
declare description?: string;
|
|
45
|
+
|
|
46
|
+
@Column({
|
|
47
|
+
field: "image_logo_uuid",
|
|
48
|
+
allowNull: true,
|
|
49
|
+
type: DataType.STRING(60)
|
|
50
|
+
})
|
|
51
|
+
declare imageLogoUuid?: string;
|
|
52
|
+
|
|
53
|
+
@Column({
|
|
54
|
+
field: "image_cover_uuid",
|
|
55
|
+
allowNull: true,
|
|
56
|
+
type: DataType.STRING(60)
|
|
57
|
+
})
|
|
58
|
+
declare imageCoverUuid?: string;
|
|
59
|
+
|
|
60
|
+
@Column({
|
|
61
|
+
field: "image_background_uuid",
|
|
62
|
+
allowNull: true,
|
|
63
|
+
type: DataType.STRING(60)
|
|
64
|
+
})
|
|
65
|
+
declare imageBackgroundUuid?: string;
|
|
66
|
+
|
|
67
|
+
@Column({
|
|
68
|
+
field: "updated_date",
|
|
69
|
+
allowNull: true,
|
|
70
|
+
type: DataType.DATE
|
|
71
|
+
})
|
|
72
|
+
declare updatedDate?: Date;
|
|
73
|
+
|
|
74
74
|
}
|
|
@@ -49,6 +49,7 @@ export { msExecutiveActing, msExecutiveActingAttributes } from './msExecutiveAct
|
|
|
49
49
|
export { msExecutiveLevel, msExecutiveLevelAttributes } from './msExecutiveLevel.js';
|
|
50
50
|
export { msHoliday, msHolidayAttributes } from './msHoliday.js';
|
|
51
51
|
export { msOrganization, msOrganizationAttributes } from './msOrganization.js';
|
|
52
|
+
export { msPersonType, msPersonTypeAttributes } from './msPersonType.js';
|
|
52
53
|
export { msPosition, msPositionAttributes } from './msPosition.js';
|
|
53
54
|
export { msProvince, msProvinceAttributes } from './msProvince.js';
|
|
54
55
|
export { msQueueTourFaq, msQueueTourFaqAttributes } from './msQueueTourFaq.js';
|
|
@@ -59,5 +60,7 @@ export { oauthAccessToken, oauthAccessTokenAttributes } from './oauthAccessToken
|
|
|
59
60
|
export { oauthRefreshToken, oauthRefreshTokenAttributes } from './oauthRefreshToken.js';
|
|
60
61
|
export { a as recruitment, r as recruitmentAttributes, c as recruitmentGroup, b as recruitmentGroupAttributes } from '../../recruitment-5Pi7YA8x.js';
|
|
61
62
|
export { settings, settingsAttributes } from './settings.js';
|
|
63
|
+
export { userCenterV, userCenterVAttributes } from './userCenterV.js';
|
|
62
64
|
export { userPermissionV, userPermissionVAttributes } from './userPermissionV.js';
|
|
65
|
+
export { userRoleV, userRoleVAttributes } from './userRoleV.js';
|
|
63
66
|
import 'sequelize-typescript';
|