角色管理新增导出角色菜单

This commit is contained in:
不做码农
2023-06-17 09:45:45 +08:00
parent 0e043c5716
commit 9d87d75a09
7 changed files with 135 additions and 3 deletions

View File

@@ -0,0 +1,30 @@
using MiniExcelLibs.Attributes;
using SqlSugar.DbConvert;
using ZR.Model.System.Enums;
namespace ZR.Model.System.Dto
{
public class RoleMenuExportDto
{
/// <summary>
/// 一级目录名
/// </summary>
[ExcelColumn(Name = "菜单", Width = 50)]
public string MenuName { get; set; }
//[ExcelColumn(Name = "菜单名", Width = 20)]
//public string MenuName1 { get; set; }
//[ExcelColumn(Name = "权限按钮", Width = 20)]
//public string MenuName2 { get; set; }
[ExcelColumn(Name = "路径", Width = 20)]
public string Path { get; set; }
[ExcelColumn(Name = "组件名", Width = 20)]
public string Component { get; set; }
[ExcelColumn(Name = "权限字符", Width = 20)]
public string Perms { get; set; }
//[ExcelColumn(Name = "菜单类型")]
//[SqlSugar.SugarColumn(SqlParameterDbType = typeof(EnumToStringConvert))]
//public MenuType MenuType { get; set; }
//[ExcelColumn(Name = "菜单状态")]
//public MenuStatus Status { get; set; }
}
}