using Yi.Framework.AiHub.Domain.Shared.Enums;

namespace Yi.Framework.AiHub.Application.Contracts.Dtos.Pay;

/// <summary>
/// 查询订单状态输出DTO
/// </summary>
public class QueryOrderStatusOutput
{
    /// <summary>
    /// 订单ID
    /// </summary>
    public Guid OrderId { get; set; }
    
    /// <summary>
    /// 商家订单号
    /// </summary>
    public string OutTradeNo { get; set; }
    
    /// <summary>
    /// 支付宝交易号
    /// </summary>
    public string? TradeNo { get; set; }
    
    /// <summary>
    /// 交易状态
    /// </summary>
    public TradeStatusEnum TradeStatus { get; set; }
    
    /// <summary>
    /// 交易状态描述
    /// </summary>
    public string TradeStatusDescription { get; set; }
    
    /// <summary>
    /// 订单金额
    /// </summary>
    public decimal TotalAmount { get; set; }
    
    /// <summary>
    /// 商品名称
    /// </summary>
    public string GoodsName { get; set; }
    
    /// <summary>
    /// 商品类型
    /// </summary>
    public GoodsTypeEnum GoodsType { get; set; }
    
    /// <summary>
    /// 创建时间
    /// </summary>
    public DateTime CreationTime { get; set; }
    
    /// <summary>
    /// 最后修改时间
    /// </summary>
    public DateTime? LastModificationTime { get; set; }
}