Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.
 
 

131 wiersze
4.0 KiB

  1. using SqlSugar;
  2. using System;
  3. using System.Collections.Generic;
  4. using System.Linq;
  5. using System.Text;
  6. using System.Threading.Tasks;
  7. namespace BPA.KitChen.StoreManagementOrder.Core.Entity
  8. {
  9. [SugarTable("BPA_Order")]
  10. public class BPA_Order
  11. {
  12. /// <summary>
  13. ///
  14. /// </summary>
  15. public string Id { get; set; }
  16. /// <summary>
  17. /// 排序号 (按加盟商区分)
  18. /// </summary>
  19. public string SortId { get; set; }
  20. /// <summary>
  21. /// 用户Id
  22. /// </summary>
  23. public string CustomerId { get; set; }
  24. /// <summary>
  25. /// 订单状态 0未付款,1已付款,-1退单申请,-2退单中,-3已退单,-4取消交易 -5撤销申请
  26. /// </summary>
  27. public int OrderStatus { get; set; }
  28. /// <summary>
  29. /// 用户售后状态 -1 售后已取消 0 未发起售后 1 申请售后 2 处理中 200 处理完毕
  30. /// </summary>
  31. public int AfterStatus { get; set; }
  32. /// <summary>
  33. /// 商品数量
  34. /// </summary>
  35. public int OrderCount { get; set; }
  36. /// <summary>
  37. /// 商品总价
  38. /// </summary>
  39. public decimal OrderOriginalMoney { get; set; }
  40. /// <summary>
  41. /// 折扣价格
  42. /// </summary>
  43. public decimal DiscountMoney { get; set; }
  44. /// <summary>
  45. /// 实际支付价格
  46. /// </summary>
  47. public decimal OrderRealMoney { get; set; }
  48. /// <summary>
  49. /// 支付渠道 0微信 1支付宝 2 余额 3银联 4.现金
  50. /// </summary>
  51. public int PayMode { get; set; }
  52. /// <summary>
  53. /// 订单号(本系统)
  54. /// </summary>
  55. public string OrderNumber { get; set; }
  56. /// <summary>
  57. /// 订单号(第三方)
  58. /// </summary>
  59. public string TradeNo { get; set; }
  60. /// <summary>
  61. /// 交易号
  62. /// </summary>
  63. public string TransactionId { get; set; }
  64. /// <summary>
  65. /// 订单结算状态 0未结算 1已结算
  66. /// </summary>
  67. public int OrderSettlementStatus { get; set; }
  68. /// <summary>
  69. /// 订单结算时间
  70. /// </summary>
  71. public string OrderSettlementTime { get; set; }
  72. /// <summary>
  73. /// 订单类型 0->正常 1->立即吃面2->盲盒3->其他
  74. /// </summary>
  75. public int OrderType { get; set; }
  76. /// <summary>
  77. /// 创建于
  78. /// </summary>
  79. public DateTime CreatedAt { get; set; }
  80. /// <summary>
  81. /// 创建人
  82. /// </summary>
  83. public string CreatedBy { get; set; }
  84. /// <summary>
  85. /// 更新于
  86. /// </summary>
  87. public DateTime UpdatedAt { get; set; }
  88. /// <summary>
  89. /// 更新人
  90. /// </summary>
  91. public string UpdatedBy { get; set; }
  92. /// <summary>
  93. /// 自动修改 记录最新的修改时间
  94. /// </summary>
  95. public string UpdatedTs { get; set; }
  96. /// <summary>
  97. /// 订单来源 0 小程序 1大屏点餐 etc...
  98. /// </summary>
  99. public string OrderSourceFrom { get; set; }
  100. /// <summary>
  101. /// 备注
  102. /// </summary>
  103. public string Remark { get; set; }
  104. /// <summary>
  105. /// 三方id
  106. /// </summary>
  107. public string TroikaId { get; set; }
  108. /// <summary>
  109. /// 店铺id
  110. /// </summary>
  111. public string OrgId { get; set; }
  112. /// <summary>
  113. /// 小票备注
  114. /// </summary>
  115. public string PrintRemark { get; set; }
  116. /// <summary>
  117. /// 就餐方式
  118. /// </summary>
  119. public int EatType { get; set; }
  120. public string GroupId { get; set; }
  121. /// <summary>
  122. /// 优惠合集
  123. /// </summary>
  124. public string PriceCollection { get; set; }
  125. public decimal CusmetMoney { get; set; }
  126. }
  127. }