fix bug salary / nopaid
This commit is contained in:
parent
566b4db692
commit
dd06c1f71f
5 changed files with 13 additions and 18 deletions
|
|
@ -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[];
|
||||
|
|
|
|||
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue