SysRoleOutput.cs 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. using YBEE.EQM.Core;
  2. namespace YBEE.EQM.Application
  3. {
  4. /// <summary>
  5. /// 角色输出参数
  6. /// </summary>
  7. public class SysRoleOutput
  8. {
  9. /// <summary>
  10. /// ID,使用钉钉的ID
  11. /// </summary>
  12. [Required]
  13. public int Id { get; set; }
  14. /// <summary>
  15. /// 名称
  16. /// </summary>
  17. [Required]
  18. public string Name { get; set; }
  19. /// <summary>
  20. /// 角色组ID
  21. /// </summary>
  22. [Required]
  23. public int SysRoleGroupId { get; set; }
  24. /// <summary>
  25. /// 角色类型
  26. /// </summary>
  27. [Required]
  28. public RoleType RoleType { get; set; }
  29. /// <summary>
  30. /// 备注
  31. /// </summary>
  32. public string Remark { get; set; }
  33. /// <summary>
  34. /// 状态
  35. /// </summary>
  36. [Required]
  37. public CommonStatus Status { get; set; }
  38. /// <summary>
  39. /// 角色组
  40. /// </summary>
  41. public SysRoleGroupOutput SysRoleGroup { get; set; }
  42. /// <summary>
  43. /// 角色数据权限范围
  44. /// </summary>
  45. public RoleDataScope RoleDataScope { get; set; }
  46. }
  47. }