@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
|
@@ -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
|
}
|
|
@@ -5,6 +5,7 @@ interface appScoreTypeAttributes {
|
|
|
5
5
|
name?: string;
|
|
6
6
|
detail?: string;
|
|
7
7
|
color?: string;
|
|
8
|
+
fileUuid?: string;
|
|
8
9
|
status?: number;
|
|
9
10
|
createdBy?: string;
|
|
10
11
|
createdDate?: Date;
|
|
@@ -16,6 +17,7 @@ declare class appScoreType extends Model<appScoreTypeAttributes, appScoreTypeAtt
|
|
|
16
17
|
name?: string;
|
|
17
18
|
detail?: string;
|
|
18
19
|
color?: string;
|
|
20
|
+
fileUuid?: string;
|
|
19
21
|
status?: number;
|
|
20
22
|
createdBy?: string;
|
|
21
23
|
createdDate?: Date;
|
|
@@ -59,6 +59,13 @@ __decorateClass([
|
|
|
59
59
|
type: import_sequelize_typescript.DataType.STRING(10)
|
|
60
60
|
})
|
|
61
61
|
], appScoreType.prototype, "color", 2);
|
|
62
|
+
__decorateClass([
|
|
63
|
+
(0, import_sequelize_typescript.Column)({
|
|
64
|
+
field: "file_uuid",
|
|
65
|
+
allowNull: true,
|
|
66
|
+
type: import_sequelize_typescript.DataType.STRING(100)
|
|
67
|
+
})
|
|
68
|
+
], appScoreType.prototype, "fileUuid", 2);
|
|
62
69
|
__decorateClass([
|
|
63
70
|
(0, import_sequelize_typescript.Column)({
|
|
64
71
|
allowNull: true,
|
|
@@ -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';
|