ผูก 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

@ -180,7 +180,7 @@ export class PosMaster extends EntityBase {
})
authRoleId: string;
@ManyToOne(() => AuthRole, (authRole) => authRole.posMaster)
@ManyToOne(() => AuthRole, (authRole) => authRole.posMasters)
@JoinColumn({ name: "authRoleId" })
authRole: AuthRole;