chore: src/modules/base/entity/sys/role_menu.ts

This commit is contained in:
2026-07-01 17:56:02 +08:00
parent 44b79ca7ef
commit 73ae04fcaf
+14
View File
@@ -0,0 +1,14 @@
import { BaseEntity } from '../base';
import { Column, Entity } from 'typeorm';
/**
* 角色菜单
*/
@Entity('base_sys_role_menu')
export class BaseSysRoleMenuEntity extends BaseEntity {
@Column({ comment: '角色ID' })
roleId: number;
@Column({ comment: '菜单ID' })
menuId: number;
}