RoleMenuExportDto.cs 1.0 KB

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