using System;
namespace MiAssessment.Model.Entities;
///
/// 支付通知记录表,记录微信支付回调通知
///
public partial class OrderNotify
{
///
/// 主键ID
///
public int Id { get; set; }
///
/// 商户订单号
///
public string OrderNo { get; set; } = null!;
///
/// 微信支付订单号
///
public string? TransactionId { get; set; }
///
/// 回调通知URL
///
public string? NotifyUrl { get; set; }
///
/// 随机字符串
///
public string? NonceStr { get; set; }
///
/// 支付时间
///
public DateTime? PayTime { get; set; }
///
/// 支付金额(单位:元)
///
public decimal PayAmount { get; set; }
///
/// 处理状态:0=待处理,1=处理成功,2=处理失败
///
public byte Status { get; set; }
///
/// 重试次数
///
public int RetryCount { get; set; }
///
/// 附加数据(订单类型)
///
public string? Attach { get; set; }
///
/// 用户OpenId
///
public string? OpenId { get; set; }
///
/// 原始回调数据
///
public string? RawData { get; set; }
///
/// 错误信息
///
public string? ErrorMessage { get; set; }
///
/// 扩展数据(JSON格式)
///
public string? Extend { get; set; }
///
/// 创建时间
///
public DateTime CreatedAt { get; set; }
///
/// 更新时间
///
public DateTime UpdatedAt { get; set; }
}