using Ant.Core.SqlServer.BaseEntities;
using Central.Control.WebApi.Enum;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;
namespace Central.Control.WebApi.DbEntity
{
///
/// YW_PayCallLog支付回写日志表
///
public class YW_PayCallLog : BaseEntity
{
///
/// 主键ID
///
[Key]
[MaxLength(50)]
public string Id { set; get; } = string.Empty;
///
/// 支付流水号
///
[MaxLength(100)]
[Required(AllowEmptyStrings = true)]
public string PaySerialId { set; get; } = string.Empty;
///
/// 外部订单号
///
[MaxLength(50)]
[Required(AllowEmptyStrings = true)]
public string OutTradeNo { set; get; } = string.Empty;
///
/// 支付类型
///
public PayWayEnum PayWay { set; get; } = PayWayEnum.UnKnow;
///
/// 回写原始内容
///
public string PayResponse { set; get; } = string.Empty;
}
}