เพิ่มเวลาลูกจ้าง

This commit is contained in:
kittapath 2024-11-07 15:55:23 +07:00
parent b1c365a4da
commit 2c1e1dd8ff
9 changed files with 390 additions and 244 deletions

View file

@ -605,7 +605,7 @@ export class ProfileEmployee extends EntityBase {
next_holders: EmployeePosMaster[];
@OneToMany(() => ProfileSalary, (v) => v.profileEmployee)
profileSalarys: ProfileSalary[];
profileSalary: ProfileSalary[];
@OneToMany(() => ProfileCertificate, (v) => v.profileEmployee)
profileCertificates: ProfileCertificate[];
@ -786,6 +786,21 @@ export class ProfileEmployee extends EntityBase {
length: 5,
})
currentZipCode: string;
@Column({
nullable: true,
length: 40,
comment: "ไอดีรอบลงเวลาล่าสุด",
})
dutyTimeId: string;
@Column({
nullable: true,
type: "datetime",
comment: "รอบลงเวลาล่าสุด",
default: null,
})
dutyTimeEffectiveDate: Date;
}
@Entity("profileEmployeeHistory")