ผูก menu กับ redis
This commit is contained in:
parent
1e3699b049
commit
73ae3210dc
8 changed files with 164 additions and 119 deletions
|
|
@ -26,10 +26,10 @@ export class AuthRole extends EntityBase {
|
|||
authRoles: AuthRoleAttr[];
|
||||
|
||||
@OneToMany(() => PosMaster, (posMaster) => posMaster.authRole)
|
||||
posMaster: PosMaster[];
|
||||
posMasters: PosMaster[];
|
||||
|
||||
@OneToMany(() => EmployeePosMaster, (posMasters) => posMasters.authRole)
|
||||
posMasterEmp: EmployeePosMaster[];
|
||||
posMasterEmps: EmployeePosMaster[];
|
||||
}
|
||||
|
||||
export class CreateAuthRole {
|
||||
|
|
@ -48,4 +48,4 @@ export class CreateAddAuthRole {
|
|||
|
||||
@Column()
|
||||
posMasterId: string;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue