namespace Admin.NET.Core; /// /// 微信支付表 /// [SugarTable("wechat_pay", "微信支付表")] public class WechatPay : EntityBase { /// /// 微信商户号 /// [SugarColumn(ColumnDescription = "微信商户号")] public string MerchantId { get; set; } /// /// 服务商AppId /// [SugarColumn(ColumnDescription = "服务商AppId")] public string AppId { get; set; } /// /// 商户订单号 /// [SugarColumn(ColumnDescription = "商户订单号")] public string OutTradeNumber { get; set; } /// /// 支付订单号 /// [SugarColumn(ColumnDescription = "支付订单号")] public string TransactionId { get; set; } /// /// 交易类型 /// [SugarColumn(ColumnDescription = "交易类型")] public string TradeType { get; set; } /// /// 交易状态 /// [SugarColumn(ColumnDescription = "交易状态")] public string TradeState { get; set; } /// /// 交易状态描述 /// [SugarColumn(ColumnDescription = "交易状态描述")] public string TradeStateDescription { get; set; } /// /// 付款银行类型 /// [SugarColumn(ColumnDescription = "付款银行类型")] public string BankType { get; set; } /// /// 订单总金额 /// [SugarColumn(ColumnDescription = "订单总金额")] public int Total { get; set; } /// /// 用户支付金额 /// [SugarColumn(ColumnDescription = "用户支付金额")] public int? PayerTotal { get; set; } /// /// 支付完成时间 /// [SugarColumn(ColumnDescription = "支付完成时间")] public DateTimeOffset? SuccessTime { get; set; } /// /// 交易结束时间 /// [SugarColumn(ColumnDescription = "交易结束时间")] public DateTimeOffset? ExpireTime { get; set; } /// /// 商品描述 /// [SugarColumn(ColumnDescription = "商品描述")] public string Description { get; set; } /// /// 场景信息 /// [SugarColumn(ColumnDescription = "场景信息")] public string Scene { get; set; } /// /// 附加数据 /// [SugarColumn(ColumnDescription = "附加数据")] public string Attachment { get; set; } /// /// 优惠标记 /// [SugarColumn(ColumnDescription = "优惠标记")] public string GoodsTag { get; set; } /// /// 结算信息 /// [SugarColumn(ColumnDescription = "结算信息")] public string Settlement { get; set; } /// /// 回调通知地址 /// [SugarColumn(ColumnDescription = "回调通知地址")] public string NotifyUrl { get; set; } /// /// 备注 /// [SugarColumn(ColumnDescription = "备注")] public string Remark { get; set; } /// /// 微信OpenId标识 /// [SugarColumn(ColumnDescription = "微信OpenId标识")] public string OpenId { get; set; } /// /// 关联微信用户 /// [SugarColumn(IsIgnore = true)] public WechatUser WechatUser { get; set; } /// /// 子商户号 /// [SugarColumn(ColumnDescription = "子商户号")] public string SubMerchantId { get; set; } /// /// 子商户AppId /// [SugarColumn(ColumnDescription = "回调通知地址")] public string SubAppId { get; set; } /// /// 子商户唯一标识 /// [SugarColumn(ColumnDescription = "子商户唯一标识")] public string SubOpenId { get; set; } }