SysRoleUserInput.cs 696 B

1234567891011121314151617181920212223242526272829303132333435
  1. using YBEE.EQM.Core;
  2. namespace YBEE.EQM.Application;
  3. /// <summary>
  4. /// 添加或移出角色中的用户参数
  5. /// </summary>
  6. public class SysRoleUserInput
  7. {
  8. /// <summary>
  9. /// 角色ID
  10. /// </summary>
  11. [Required]
  12. public int SysRoleId { get; set; }
  13. /// <summary>
  14. /// 用户ID列表
  15. /// </summary>
  16. public List<int> SysUserIdList { get; set; }
  17. }
  18. /// <summary>
  19. /// 分页查询角色用户
  20. /// </summary>
  21. public class SysRoleUserPageInput : PageInputBase
  22. {
  23. /// <summary>
  24. /// 角色ID
  25. /// </summary>
  26. [Required]
  27. public int SysRoleId { get; set; }
  28. /// <summary>
  29. /// 机构ID
  30. /// </summary>
  31. public short? SysOrgId { get; set;}
  32. }