基础服务api
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

66 line
1.8 KiB

  1. using BPA.SAAS.Manage.Comm.Enum;
  2. using BPA.SAAS.Manage.Core.Base;
  3. using SqlSugar;
  4. using System;
  5. using System.Collections.Generic;
  6. using System.Linq;
  7. using System.Text;
  8. using System.Threading.Tasks;
  9. namespace BPA.SAAS.Manage.Core.System
  10. {
  11. [SugarTable("bpa_menu")]
  12. public class BPA_Menu: IBaseEntity
  13. {
  14. /// <summary>
  15. /// 菜单名称
  16. /// </summary>
  17. public string Name { get; set; }
  18. /// <summary>
  19. /// 父级id
  20. /// </summary>
  21. public string Pid { get; set; }
  22. /// <summary>
  23. /// 菜单编码 唯一
  24. /// </summary>
  25. public string Code { get; set; }
  26. /// <summary>
  27. /// 图标
  28. /// </summary>
  29. public string Icon { get; set; }
  30. /// <summary>
  31. /// 路径
  32. /// </summary>
  33. public string Router { get; set; }
  34. /// <summary>
  35. /// 组件路径
  36. /// </summary>
  37. public string Component { get; set; }
  38. /// <summary>
  39. /// 是否可见
  40. /// </summary>
  41. public bool Visible { get; set; }
  42. /// <summary>
  43. /// 排序
  44. /// </summary>
  45. public int Sort { get; set; }
  46. /// <summary>
  47. /// 备注
  48. /// </summary>
  49. public string Remark { get; set; }
  50. /// <summary>
  51. /// 所属平台 0 团餐 1门店 2 后厨 3公共
  52. /// </summary>
  53. public string Type { get; set; }
  54. /// <summary>
  55. /// 是否超管菜单 0否 1是
  56. /// </summary>
  57. public int IsAdmin { get; set; }
  58. /// <summary>
  59. /// 状态 【正常 停用】默认 正常
  60. /// </summary>
  61. [SugarColumn(ColumnDataType = "int", ColumnDescription = "状态", IsNullable = false)]
  62. public CommonStatus Status { get; set; } = CommonStatus.ENABLE;
  63. }
  64. }