SysMenu.cs 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. using ERP.Core.Enum;
  2. using ERP.Framework.Enum;
  3. using ERP.Framework.WebApi;
  4. using System.ComponentModel.DataAnnotations.Schema;
  5. namespace ERP.Core.Entity
  6. {
  7. [Table("sys_menu")]
  8. public class SysMenu : TreeEntity
  9. {
  10. /// <summary>
  11. /// 菜单名称
  12. /// </summary>
  13. public virtual string MenuName { get; set; } = string.Empty;
  14. /// <summary>
  15. /// 菜单路由
  16. /// </summary>
  17. public virtual string Path { get; set; } = string.Empty;
  18. /// <summary>
  19. /// 组件路径
  20. /// </summary>
  21. public virtual string Component { get; set; } = string.Empty;
  22. /// <summary>
  23. /// 菜单类型
  24. /// </summary>
  25. public virtual MenuTypeEnum MenuType { get; set; }
  26. /// <summary>
  27. /// 菜单状态
  28. /// </summary>
  29. public virtual StatusEnum MenuStatus { get; set; }
  30. /// <summary>
  31. /// 菜单图标
  32. /// </summary>
  33. public virtual string Icon { get; set; } = string.Empty;
  34. /// <summary>
  35. /// 权限标识
  36. /// </summary>
  37. public virtual string Permission { get; set; } = string.Empty;
  38. }
  39. }