UserAuthorityView.cs 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. namespace OASystem.Domain.ViewModels.System
  7. {
  8. public class UserAuthorityView
  9. {
  10. /// <summary>
  11. /// 数据id
  12. /// </summary>
  13. public int ID { get; set; }
  14. /// 用户Id
  15. /// </summary>
  16. public int UId { get; set; }
  17. /// <summary>
  18. /// 页面权限Id
  19. /// </summary>
  20. public int SmId { get; set; }
  21. /// <summary>
  22. /// 页面功能Id
  23. /// </summary>
  24. public int FId { get; set; }
  25. /// <summary>
  26. /// 是否由职位模板导入
  27. /// </summary>
  28. public int IsTemp { get; set; }
  29. }
  30. /// <summary>
  31. /// 用户页面功能
  32. /// View
  33. /// </summary>
  34. public class UserPageFuncView
  35. {
  36. /// <summary>
  37. /// 用户Id
  38. /// </summary>
  39. public int UserId { get; set; }
  40. /// <summary>
  41. /// 用户名称
  42. /// </summary>
  43. public string? UserName { get; set; }
  44. /// <summary>
  45. /// 模块Id
  46. /// </summary>
  47. public int ModuleId { get; set; }
  48. /// <summary>
  49. /// 模块名称
  50. /// </summary>
  51. public string? ModuleName { get; set; }
  52. /// <summary>
  53. /// 页面Id
  54. /// </summary>
  55. public int PageId { get; set; }
  56. /// <summary>
  57. /// 页面名称
  58. /// </summary>
  59. public string? PageName { get; set; }
  60. /// <summary>
  61. /// 页面是否启用
  62. /// 0 未启用 1 已启用
  63. /// </summary>
  64. public int PageIsEnable { get; set; }
  65. /// <summary>
  66. /// 手机端页面也否启用
  67. /// 0 未启用 1 已启用
  68. /// </summary>
  69. public int PagePhoneIsEnable { get; set; }
  70. /// <summary>
  71. /// 功能Id
  72. /// </summary>
  73. public int FuncId { get; set; }
  74. /// <summary>
  75. /// 功能名称
  76. /// </summary>
  77. public string FuncName { get; set; }
  78. /// <summary>
  79. /// 功能是否启用
  80. /// 0 未启用 1 已启用
  81. /// </summary>
  82. public int FuncIsEnable { get; set; }
  83. }
  84. }