fix bug salary / nopaid

This commit is contained in:
AnandaTon 2024-05-14 16:16:24 +07:00
parent 566b4db692
commit dd06c1f71f
5 changed files with 13 additions and 18 deletions

View file

@ -243,7 +243,7 @@ export class ProfileEmployee extends EntityBase {
profileNopaids: ProfileNopaid[];
@OneToMany(() => ProfileDiscipline, (v) => v.profileEmployee)
profileDisciplines: ProfileNopaid[];
profileDisciplines: ProfileDiscipline[];
@OneToMany(() => ProfileChangeName, (v) => v.profileEmployee)
profileChangeNames: ProfileChangeName[];

View file

@ -146,10 +146,6 @@ export class ProfileSalary extends EntityBase {
@ManyToOne(() => Profile, (profile) => profile.profileSalary)
@JoinColumn({ name: "profileId" })
profile: Profile;
@ManyToOne(() => ProfileEmployee, (ProfileEmployee) => ProfileEmployee.profileSalary)
@JoinColumn({ name: "profileEmployeeId" })
profileEmployee: ProfileEmployee;
}
export class CreateProfileSalary {