RoleMenuExportDto.cs 969 B

12345678910111213141516171819202122232425262728
  1. using Enums;
  2. using MiniExcelLibs.Attributes;
  3. namespace Dto
  4. {
  5. public class RoleMenuExportDto
  6. {
  7. /// <summary>
  8. /// 一级目录名
  9. /// </summary>
  10. [ExcelColumn(Name = "菜单", Width = 50)]
  11. public string MenuName { get; set; }
  12. //[ExcelColumn(Name = "菜单名", Width = 20)]
  13. //public string MenuName1 { get; set; }
  14. //[ExcelColumn(Name = "权限按钮", Width = 20)]
  15. //public string MenuName2 { get; set; }
  16. [ExcelColumn(Name = "路径", Width = 20)]
  17. public string Path { get; set; }
  18. [ExcelColumn(Name = "组件名", Width = 20)]
  19. public string Component { get; set; }
  20. [ExcelColumn(Name = "权限字符", Width = 20)]
  21. public string Perms { get; set; }
  22. [ExcelColumn(Name = "菜单类型")]
  23. public MenuType MenuType { get; set; }
  24. [ExcelColumn(Name = "菜单状态")]
  25. public MenuStatus Status { get; set; }
  26. }
  27. }