菜单绑定

This commit is contained in:
2025-10-09 11:11:14 +08:00
parent 1064560f29
commit 047bf39842
19 changed files with 1526 additions and 59 deletions

View File

@@ -5,6 +5,8 @@
*/
import { BaseDTO } from '../base';
import { SysMenu } from '../menu';
import { SysRole } from '../role';
/**
* 系统权限
@@ -26,5 +28,11 @@ export interface SysPermission extends BaseDTO {
/** 更新人 */
updater?: string;
updaterName?: string;
/** 绑定类型 1.menu 2.role*/
bindType?: "menu" | "role";
/** 绑定列表 */
menus?: SysMenu[];
roles?: SysRole[];
permissions?: SysPermission[];
}