StoreOrder.java 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179
  1. package beilv.order.domain;
  2. import java.math.BigDecimal;
  3. import java.util.Date;
  4. import com.fasterxml.jackson.annotation.JsonFormat;
  5. import lombok.Data;
  6. import org.apache.commons.lang3.builder.ToStringBuilder;
  7. import org.apache.commons.lang3.builder.ToStringStyle;
  8. import beilv.common.annotation.Excel;
  9. import beilv.common.core.domain.BaseEntity;
  10. /**
  11. * 订单对象 store_order
  12. *
  13. * @author ruoyi
  14. * @date 2025-11-12
  15. */
  16. @Data
  17. public class StoreOrder extends BaseEntity {
  18. private static final long serialVersionUID = 1L;
  19. /**
  20. * 订单ID
  21. */
  22. private Long id;
  23. /**
  24. * 订单号
  25. */
  26. @Excel(name = "订单号")
  27. private String orderId;
  28. /**
  29. * 微信支付订单号
  30. */
  31. @Excel(name = "微信支付订单号")
  32. private String transactionId;
  33. /**
  34. * 订单类型
  35. */
  36. @Excel(name = "订单类型")
  37. private String orderType;
  38. /**
  39. * 用户id
  40. */
  41. @Excel(name = "用户id")
  42. private Long uid;
  43. /**
  44. * 用户姓名
  45. */
  46. @Excel(name = "用户姓名")
  47. private String realName;
  48. /**
  49. * 用户电话
  50. */
  51. @Excel(name = "用户电话")
  52. private String userPhone;
  53. /**
  54. * 详细地址
  55. */
  56. @Excel(name = "详细地址")
  57. private String userAddress;
  58. /**
  59. * 订单商品总数
  60. */
  61. @Excel(name = "订单商品总数")
  62. private Integer totalNum;
  63. /**
  64. * 订单总价
  65. */
  66. @Excel(name = "订单总价")
  67. private BigDecimal totalPrice;
  68. /**
  69. * 实际支付金额
  70. */
  71. @Excel(name = "实际支付金额")
  72. private BigDecimal payPrice;
  73. /**
  74. * 会员折扣
  75. */
  76. @Excel(name = "会员折扣")
  77. private BigDecimal vipDiscount;
  78. /**
  79. * 会员优惠金额
  80. */
  81. @Excel(name = "会员优惠金额")
  82. private BigDecimal vipDeductionAmount;
  83. /**
  84. * 抵扣金额
  85. */
  86. @Excel(name = "抵扣金额")
  87. private BigDecimal deductionPrice;
  88. /**
  89. * 优惠券id
  90. */
  91. @Excel(name = "优惠券id")
  92. private Integer couponId;
  93. /**
  94. * 优惠券金额
  95. */
  96. @Excel(name = "优惠券金额")
  97. private BigDecimal couponPrice;
  98. /**
  99. * 支付状态
  100. */
  101. @Excel(name = "支付状态")
  102. private Integer paid;
  103. /**
  104. * 支付时间
  105. */
  106. @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
  107. @Excel(name = "支付时间", width = 30, dateFormat = "yyyy-MM-dd")
  108. private Date payTime;
  109. /**
  110. * 支付方式
  111. */
  112. @Excel(name = "支付方式")
  113. private String payType;
  114. /**
  115. * 订单状态(-1 : 取消 ;0:未支付;1:待发货;2:待收货;3:待评价;4:已完成;5:待成团)
  116. */
  117. @Excel(name = "订单状态", readConverterExp = "-=1,:=,取=消,;=0:未支付;1:待发货;2:待收货;3:待评价;4:已完成;5:待成团")
  118. private Integer status;
  119. /**
  120. * 支付状态: 0 未退款 1 申请中 2 已退款
  121. */
  122. @Excel(name = "0 未退款 1 申请中 2 已退款")
  123. private Integer refundStatus;
  124. /**
  125. * 使用积分
  126. */
  127. @Excel(name = "使用积分")
  128. private BigDecimal useIntegral;
  129. /**
  130. * 实际支付积分
  131. */
  132. @Excel(name = "实际支付积分")
  133. private BigDecimal payIntegral;
  134. /**
  135. * 创建者
  136. */
  137. @Excel(name = "创建者")
  138. private String creator;
  139. /**
  140. * 更新者
  141. */
  142. @Excel(name = "更新者")
  143. private String updater;
  144. /**
  145. * 支付id
  146. */
  147. @Excel(name = "支付id")
  148. private String payId;
  149. }