ฟิลด์ข้อมูลลูกจ้างชั่วคราว

This commit is contained in:
Bright 2024-06-07 09:31:53 +07:00
parent 573e0930f6
commit b4db2a594b

View file

@ -467,11 +467,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[];
@ -688,6 +758,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;