✨ 角色管理新增导出角色菜单
This commit is contained in:
30
ZR.Model/System/Dto/RoleMenuExportDto.cs
Normal file
30
ZR.Model/System/Dto/RoleMenuExportDto.cs
Normal 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; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user