namespace HoneyBox.Admin.Models.Role;

/// <summary>
/// 角色查询请求
/// </summary>
public class RoleQueryRequest
{
    /// <summary>
    /// 页码，从1开始
    /// </summary>
    public int Page { get; set; } = 1;

    /// <summary>
    /// 每页数量
    /// </summary>
    public int PageSize { get; set; } = 20;

    /// <summary>
    /// 角色名称（模糊搜索）
    /// </summary>
    public string? Name { get; set; }

    /// <summary>
    /// 角色编码（模糊搜索）
    /// </summary>
    public string? Code { get; set; }

    /// <summary>
    /// 状态筛选
    /// </summary>
    public byte? Status { get; set; }
}
