migration and #2317(2)
All checks were successful
Build & Deploy on Dev / build (push) Successful in 1m27s
All checks were successful
Build & Deploy on Dev / build (push) Successful in 1m27s
This commit is contained in:
parent
cc6e61f4de
commit
525a885e13
4 changed files with 29 additions and 6 deletions
|
|
@ -39,6 +39,9 @@ export class EmployeePosType extends EntityBase {
|
|||
|
||||
@OneToMany(() => ProfileEmployee, (profile) => profile.posType)
|
||||
profiles: ProfileEmployee[];
|
||||
|
||||
@OneToMany(() => ProfileEmployee, (profile) => profile.posTypeTemp)
|
||||
profilesTemp: ProfileEmployee[];
|
||||
}
|
||||
|
||||
export class CreateEmployeePosType {
|
||||
|
|
|
|||
|
|
@ -796,6 +796,10 @@ export class ProfileEmployee extends EntityBase {
|
|||
@JoinColumn({ name: "posLevelIdTemp" })
|
||||
posLevelTemp: EmployeePosLevel;
|
||||
|
||||
@ManyToOne(() => EmployeePosType, (v) => v.profilesTemp)
|
||||
@JoinColumn({ name: "posTypeIdTemp" })
|
||||
posTypeTemp: EmployeePosType;
|
||||
|
||||
@ManyToOne(() => EmployeePosType, (v) => v.profiles)
|
||||
posType: EmployeePosType;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue