ผูก menu กับ redis

This commit is contained in:
Kittapath 2024-07-25 09:54:44 +07:00
parent 1e3699b049
commit 73ae3210dc
8 changed files with 164 additions and 119 deletions

View file

@ -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;
}
}