ZrAdminNetCore/ZR.Model/System/Dto/RoleMenuExportDto.cs
2023-06-17 09:45:45 +08:00

31 lines
1.1 KiB
C#

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; }
}
}