using YBEE.EQM.Core;

namespace YBEE.EQM.Application;

/// <summary>
/// 添加或移出角色中的用户参数
/// </summary>
public class SysRoleUserInput
{
    /// <summary>
    /// 角色ID
    /// </summary>
    [Required]
    public int SysRoleId { get; set; }
    /// <summary>
    /// 用户ID列表
    /// </summary>
    public List<int> SysUserIdList { get; set; }
}

/// <summary>
/// 分页查询角色用户
/// </summary>
public class SysRoleUserPageInput : PageInputBase
{
    /// <summary>
    /// 角色ID
    /// </summary>
    [Required]
    public int SysRoleId { get; set; }
    /// <summary>
    /// 机构ID
    /// </summary>
    public short? SysOrgId { get; set;}
}