User_Permission.cs 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. using XYY.Core.Standard;
  2. using System;
  3. using System.Collections.Generic;
  4. using System.Linq;
  5. using System.Text;
  6. using System.Threading.Tasks;
  7. using XYY.Model.Standard.User.Enums;
  8. namespace XYY.Model.Standard
  9. {
  10. public class User_Permission : BaseEntity
  11. {
  12. /// <summary>
  13. /// 权限名称
  14. /// </summary>
  15. public string Name { get; set; }
  16. /// <summary>
  17. /// 父节点编号
  18. /// </summary>
  19. public int ParentId { get; set; }
  20. /// <summary>
  21. /// 根节点编号
  22. /// </summary>
  23. public int Root { get; set; }
  24. /// <summary>
  25. /// action地址
  26. /// </summary>
  27. public string Href { get; set; }
  28. /// <summary>
  29. /// 排序
  30. /// </summary>
  31. public int Sort { get; set; }
  32. /// <summary>
  33. /// 是否为菜单
  34. /// </summary>
  35. public bool IsMenu { get; set; }
  36. /// <summary>
  37. /// 是否启用
  38. /// </summary>
  39. public bool IsEnable { get; set; }
  40. public UserSystem SystemId { get; set; }
  41. }
  42. }