using MediatR;
using TakeoutSaaS.Application.Identity.Contracts;

namespace TakeoutSaaS.Application.Identity.Queries;

/// <summary>
/// 获取用户详情。
/// </summary>
public sealed record GetIdentityUserDetailQuery : IRequest<UserDetailDto?>
{
    /// <summary>
    /// 用户 ID。
    /// </summary>
    public long UserId { get; init; }

    /// <summary>
    /// 是否包含已删除用户。
    /// </summary>
    public bool IncludeDeleted { get; init; }
}
