add field parantNode
This commit is contained in:
parent
e184714676
commit
194298ea5c
2 changed files with 17 additions and 2 deletions
|
|
@ -67,6 +67,14 @@ export class AuthRoleAttr extends EntityBase {
|
|||
})
|
||||
authSysId: string;
|
||||
|
||||
@Column({
|
||||
nullable: true,
|
||||
length: 255,
|
||||
comment: "Root",
|
||||
default: null,
|
||||
})
|
||||
parentNode?: string | null;
|
||||
|
||||
@ManyToOne(() => AuthSys, (authSys) => authSys.authSys)
|
||||
@JoinColumn({ name: "authSysId" })
|
||||
authRoleAttrForSys: AuthSys;
|
||||
|
|
@ -103,6 +111,9 @@ export class CreateAuthRoleAttr {
|
|||
|
||||
@Column("uuid")
|
||||
authSysId: string;
|
||||
|
||||
@Column()
|
||||
parentNode?: string | null;
|
||||
}
|
||||
|
||||
export type UpdateAuthRoleAttr = Partial<CreateAuthRoleAttr>;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue