namespace NetAdmin.Domain.Dto.Sys.User;

/// <summary>
///     请求：查询用户
/// </summary>
public sealed record QueryUserReq : Sys_User
{
    /// <inheritdoc cref="Sys_User.DeptId" />
    [JsonIgnore(Condition = JsonIgnoreCondition.Never)]
    public override long DeptId { get; init; }

    /// <inheritdoc cref="EntityBase{T}.Id" />
    [JsonIgnore(Condition = JsonIgnoreCondition.Never)]
    public override long Id { get; init; }

    /// <summary>
    ///     角色编号
    /// </summary>
    public long RoleId { get; init; }
}