Order.cs 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102
  1. using Datory.Annotations;
  2. namespace GxPress.Entity.Order
  3. {
  4. /// <summary>
  5. /// 会员
  6. /// </summary>
  7. [DataTable("tede_order")]
  8. public class Order : Datory.Entity
  9. {
  10. /// <summary>
  11. /// 订单号
  12. /// </summary>
  13. /// <value></value>
  14. [DataColumn]
  15. public string OrderNumber { get; set; }
  16. /// <summary>
  17. /// 流水号
  18. /// </summary>
  19. /// <value></value>
  20. [DataColumn]
  21. public string TransactionId { get; set; }
  22. /// <summary>
  23. /// 商户订单号
  24. /// </summary>
  25. /// <value></value>
  26. [DataColumn]
  27. public string OutTradeNo { get; set; }
  28. /// <summary>
  29. /// 用户ID
  30. /// </summary>
  31. /// <value></value>
  32. [DataColumn]
  33. public int UserId { get; set; }
  34. /// <summary>
  35. /// 姓名
  36. /// </summary>
  37. /// <value></value>
  38. [DataColumn]
  39. public string Name { get; set; }
  40. /// <summary>
  41. /// 交易流水
  42. /// </summary>
  43. /// <value></value>
  44. [DataColumn]
  45. public string BillNumber { get; set; }
  46. /// <summary>
  47. /// 说明
  48. /// </summary>
  49. /// <value></value>
  50. [DataColumn]
  51. public string Explain { get; set; }
  52. /// <summary>
  53. /// 交易价格
  54. /// </summary>
  55. /// <value></value>
  56. [DataColumn]
  57. public decimal Price { get; set; }
  58. /// <summary>
  59. /// 是否交易
  60. /// </summary>
  61. /// <value></value>
  62. [DataColumn]
  63. public bool IsSuccess { get; set; }
  64. /// <summary>
  65. /// 是否退款
  66. /// </summary>
  67. /// <value></value>
  68. [DataColumn]
  69. public bool IsRefund { get; set; }
  70. /// <summary>
  71. /// 支付方式 1 微信 2 支付宝
  72. /// </summary>
  73. /// <value></value>
  74. [DataColumn]
  75. public int PayWay { get; set; }
  76. /// <summary>
  77. /// 1 商品付费 2会员开通
  78. /// </summary>
  79. /// <value></value>
  80. [DataColumn]
  81. public int OrderType { get; set; }
  82. /// <summary>
  83. /// 是否会员支付
  84. /// </summary>
  85. /// <value></value>
  86. [DataColumn]
  87. public bool IsVip { get; set; }
  88. /// <summary>
  89. /// 媒体ID
  90. /// </summary>
  91. /// <value></value>
  92. [DataColumn]
  93. public int MediaId { get; set; }
  94. }
  95. }