YW_PayCallLog.cs 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. using Ant.Core.SqlServer.BaseEntities;
  2. using Central.Control.WebApi.Enum;
  3. using System;
  4. using System.Collections.Generic;
  5. using System.ComponentModel.DataAnnotations;
  6. using System.Linq;
  7. using System.Web;
  8. namespace Central.Control.WebApi.DbEntity
  9. {
  10. /// <summary>
  11. /// YW_PayCallLog支付回写日志表
  12. /// </summary>
  13. public class YW_PayCallLog : BaseEntity
  14. {
  15. /// <summary>
  16. /// 主键ID
  17. /// </summary>
  18. [Key]
  19. [MaxLength(50)]
  20. public string Id { set; get; } = string.Empty;
  21. /// <summary>
  22. /// 支付流水号
  23. /// </summary>
  24. [MaxLength(100)]
  25. [Required(AllowEmptyStrings = true)]
  26. public string PaySerialId { set; get; } = string.Empty;
  27. /// <summary>
  28. /// 外部订单号
  29. /// </summary>
  30. [MaxLength(50)]
  31. [Required(AllowEmptyStrings = true)]
  32. public string OutTradeNo { set; get; } = string.Empty;
  33. /// <summary>
  34. /// 支付类型
  35. /// </summary>
  36. public PayWayEnum PayWay { set; get; } = PayWayEnum.UnKnow;
  37. /// <summary>
  38. /// 回写原始内容
  39. /// </summary>
  40. public string PayResponse { set; get; } = string.Empty;
  41. }
  42. }