checkpoint
This commit is contained in:
parent
0c8abe053f
commit
8b2c20ec57
3 changed files with 211 additions and 0 deletions
|
|
@ -12,6 +12,7 @@ import { ProfileInsignia } from "./ProfileInsignia";
|
|||
import { ProfileHonor } from "./ProfileHonor";
|
||||
import { ProfileAssessment } from "./ProfileAssessment";
|
||||
import { ProfileLeave } from "./ProfileLeave";
|
||||
import { ProfileAbility } from "./ProfileAbility";
|
||||
|
||||
@Entity("profile")
|
||||
export class Profile extends EntityBase {
|
||||
|
|
@ -165,6 +166,9 @@ export class Profile extends EntityBase {
|
|||
@OneToMany(() => ProfileLeave, (profileLeave) => profileLeave.profile)
|
||||
profileLeaves: ProfileLeave[];
|
||||
|
||||
@OneToMany(() => ProfileAbility, (profileAbility) => profileAbility.profile)
|
||||
profileAbilities: ProfileAbility[];
|
||||
|
||||
@ManyToOne(() => PosLevel, (posLevel) => posLevel.posLevels)
|
||||
@JoinColumn({ name: "posLevelId" })
|
||||
posLevel: PosLevel;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue