Merge branch 'develop' of github.com:Frappet/bma-ehr-organization into develop

This commit is contained in:
Kittapath 2024-06-07 09:36:18 +07:00
commit 051bbe14ab

View file

@ -488,11 +488,81 @@ export class ProfileEmployee extends EntityBase {
@Column({
nullable: true,
comment: "สถานะลูกจางชั่วคราว",
comment: "สถานะลูกจางชั่วคราว",
default: null,
})
statusTemp: string;
@Column({
nullable: true,
comment: "กลุ่มงาน",
default: null,
})
positionEmployeeGroupId: string;
@Column({
nullable: true,
comment: "สายงาน",
default: null,
})
positionEmployeeLineId: string;
@Column({
nullable: true,
comment: "ชื่อตำแหน่งทางสายงาน",
default: null,
})
positionEmployeePositionId: string;
@Column({
nullable: true,
comment: "สังกัด",
default: null,
})
employeeOc: string;
@Column({
nullable: true,
comment: "ประเภทบุคคล",
default: null,
})
employeeTypeIndividual: string;
@Column({
nullable: true,
comment: "ค่าจ้าง",
default: null,
})
employeeWage: string;
@Column({
nullable: true,
comment: "เงินเพิ่มการครองชีพชั่วคราว",
default: null,
})
employeeMoneyIncrease: string;
@Column({
nullable: true,
comment: "เงินช่วยเหลือการครองชีพชั่วคราว",
default: null,
})
employeeMoneyAllowance: string;
@Column({
nullable: true,
comment: "เงินสมทบประกันสังคม(ลูกจ้าง)",
default: null,
})
employeeMoneyEmployee: string;
@Column({
nullable: true,
comment: "เงินสมทบประกันสังคม(นายจ้าง)",
default: null,
})
employeeMoneyEmployer: string;
@OneToMany(() => EmployeePosMaster, (v) => v.current_holder)
current_holders: EmployeePosMaster[];
@ -709,6 +779,19 @@ export class CreateProfileEmployee {
employeeClass?: string | null;
}
export class CreateInformationProfileEmployeeTemp {
positionEmployeeGroupId?: string | null;
positionEmployeeLineId?: string | null;
positionEmployeePositionId?: string | null;
employeeOc?: string | null;
employeeTypeIndividual?: string | null;
employeeWage?: string | null;
employeeMoneyIncrease?: string | null;
employeeMoneyAllowance?: string | null;
employeeMoneyEmployee?: string | null;
employeeMoneyEmployer?: string | null;
}
export type UpdateProfileEmployee = {
prefix: string;
rank?: string | null;