fix
This commit is contained in:
parent
7bb199d254
commit
e60d47e9f0
3 changed files with 7 additions and 7 deletions
|
|
@ -75,9 +75,9 @@ export class AuthRoleAttr extends EntityBase {
|
|||
})
|
||||
parentNode?: string | null;
|
||||
|
||||
@ManyToOne(() => AuthSys, (authSys) => authSys.authSys)
|
||||
@JoinColumn({ name: "authSysId" })
|
||||
authRoleAttrForSys: AuthSys;
|
||||
// @ManyToOne(() => AuthSys, (authSys) => authSys.authSys)
|
||||
// @JoinColumn({ name: "authSysId" })
|
||||
// authRoleAttrForSys: AuthSys;
|
||||
|
||||
@ManyToOne(() => AuthRole, (authRole) => authRole.authRoles)
|
||||
@JoinColumn({ name: "authRoleId" })
|
||||
|
|
|
|||
|
|
@ -58,8 +58,8 @@ export class AuthSys {
|
|||
})
|
||||
sysDescription: string;
|
||||
|
||||
@OneToMany(() => AuthRoleAttr, (authRoleAttr) => authRoleAttr.authRoleAttrForSys)
|
||||
authSys: AuthRoleAttr[];
|
||||
// @OneToMany(() => AuthRoleAttr, (authRoleAttr) => authRoleAttr.authRoleAttrForSys)
|
||||
// authSys: AuthRoleAttr[];
|
||||
}
|
||||
|
||||
export class CreateAuthSys {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue