using System.Text.Json.Serialization;

namespace Yi.Framework.AiHub.Domain.Managers.Fuwuhao;

/// <summary>
/// 二维码响应对象
/// </summary>
public class QrCodeResponse
{
    /// <summary>
    /// 二维码票据
    /// </summary>
    [JsonPropertyName("ticket")]
    public string Ticket { get; set; }
    
    /// <summary>
    /// 过期时间（秒）
    /// </summary>
    [JsonPropertyName("expire_seconds")]   
    public int ExpireSeconds { get; set; }
    
    /// <summary>
    /// 二维码URL
    /// </summary>
    [JsonPropertyName("url")]
    public string Url { get; set; }
}