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_PayCall支付回写表 /// public class YW_PayCall : SoftBaseEntity { /// /// 主键id /// [Key] [MaxLength(50)] public string Id { set; get; } = string.Empty; /// /// 订单id /// [MaxLength(50)] [Required(AllowEmptyStrings = true)] public string OrderId { set; get; } = string.Empty; /// /// 支付状态 /// public PayStatusEnum PayStatus { set; get; } = PayStatusEnum.UnPay; /// /// 支付流水号 /// [MaxLength(100)] [Required(AllowEmptyStrings = true)] public string PaySerialId { set; get; } = string.Empty; /// /// 支付类型 /// public PayWayEnum PayWay { set; get; } = PayWayEnum.UnKnow; /// /// 支付原始记录 /// public string PayResponse { set; get; } = string.Empty; /// /// 买家支付用户号 /// [MaxLength(100)] [Required(AllowEmptyStrings = true)] public string BuyerId { set; get; } = string.Empty; /// /// 买家支付账号 /// [MaxLength(100)] [Required(AllowEmptyStrings = true)] public string BuyAccount { set; get; } = string.Empty; /// /// 卖家支付用户号 /// [MaxLength(100)] [Required(AllowEmptyStrings = true)] public string SellerId { set; get; } = string.Empty; /// /// 卖家支付账号 /// [MaxLength(100)] [Required(AllowEmptyStrings = true)] public string SellAccount { set; get; } = string.Empty; /// /// 支付金额 /// public decimal PayAmount { set; get; } /// /// 付款时间 /// public DateTime PayTime { set; get; } = DateTime.Now; } }