namespace HoneyBox.Model.Models.Auth;

/// <summary>
/// 登录结果DTO
/// </summary>
public class LoginResult
{
    /// <summary>
    /// 是否成功
    /// </summary>
    public bool Success { get; set; }

    /// <summary>
    /// JWT Token（兼容旧版）
    /// </summary>
    public string? Token { get; set; }

    /// <summary>
    /// 用户ID
    /// </summary>
    public int UserId { get; set; }

    /// <summary>
    /// 错误信息
    /// </summary>
    public string? ErrorMessage { get; set; }

    /// <summary>
    /// 登录响应（双 Token 认证）
    /// </summary>
    public LoginResponse? LoginResponse { get; set; }
}
