checkpoint
This commit is contained in:
parent
ae49719734
commit
ce740ff327
3 changed files with 759 additions and 0 deletions
|
|
@ -11,6 +11,7 @@ import { ProfileTraining } from "./ProfileTraining";
|
|||
import { ProfileInsignia } from "./ProfileInsignia";
|
||||
import { ProfileHonor } from "./ProfileHonor";
|
||||
import { ProfileAssessment } from "./ProfileAssessment";
|
||||
import { ProfileLeave } from "./ProfileLeave";
|
||||
|
||||
@Entity("profile")
|
||||
export class Profile extends EntityBase {
|
||||
|
|
@ -161,6 +162,9 @@ export class Profile extends EntityBase {
|
|||
@OneToMany(() => ProfileAssessment, (profileAssessment) => profileAssessment.profile)
|
||||
profileAssessments: ProfileAssessment[];
|
||||
|
||||
@OneToMany(() => ProfileLeave, (profileLeave) => profileLeave.profile)
|
||||
profileLeaves: ProfileLeave[];
|
||||
|
||||
@ManyToOne(() => PosLevel, (posLevel) => posLevel.posLevels)
|
||||
@JoinColumn({ name: "posLevelId" })
|
||||
posLevel: PosLevel;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue