diff --git a/src/entities/ProfileEmployee.ts b/src/entities/ProfileEmployee.ts index 6bab64ca..1ebaed53 100644 --- a/src/entities/ProfileEmployee.ts +++ b/src/entities/ProfileEmployee.ts @@ -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;