PosOrder.java 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208
  1. package com.ruoyi.system.domain;
  2. import com.baomidou.mybatisplus.annotation.IdType;
  3. import com.baomidou.mybatisplus.annotation.TableId;
  4. import com.baomidou.mybatisplus.annotation.TableName;
  5. import com.fasterxml.jackson.annotation.JsonFormat;
  6. import com.ruoyi.common.annotation.Excel;
  7. import lombok.Data;
  8. import lombok.EqualsAndHashCode;
  9. import javax.persistence.GeneratedValue;
  10. import java.math.BigDecimal;
  11. import java.util.Date;
  12. /**
  13. * posorder对象 pos_order
  14. *
  15. * @author ruoyi
  16. * @date 2023-05-23
  17. */
  18. @Data
  19. @TableName(value = "pos_order")
  20. @EqualsAndHashCode(callSuper = false)
  21. public class PosOrder
  22. {
  23. private static final long serialVersionUID = 1L;
  24. @TableId(type = IdType.AUTO)
  25. @GeneratedValue
  26. /** id */
  27. private Long id;
  28. /** 订单号 */
  29. private Long ddId;
  30. /** 商家id */
  31. @Excel(name = "商家id")
  32. private Long shId;
  33. /** 门店id */
  34. @Excel(name = "门店id")
  35. private Long mdId;
  36. /** 创建时间 */
  37. @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
  38. @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
  39. private Date cretim;
  40. /** 收货地址id */
  41. @Excel(name = "收货地址id")
  42. private Long shdzId;
  43. /** 收货地址*/
  44. @Excel(name = "收货地址")
  45. private String shAddress;
  46. /** 下单用户id */
  47. @Excel(name = "下单用户id")
  48. private Long userId;
  49. /** 订单合计金额 */
  50. @Excel(name = "订单合计金额")
  51. private Integer amount;
  52. /** 备注 */
  53. @Excel(name = "备注")
  54. private String remarks;
  55. /** 订单状态 */
  56. @Excel(name = "订单状态")
  57. private Long state;
  58. /** 订单类型:0外送,1自取,2堂食 */
  59. @Excel(name = "订单类型")
  60. private Long type;
  61. /** 配送时间 */
  62. @Excel(name = "配送时间")
  63. private String delryTime;
  64. /** 订单商品 */
  65. @Excel(name = "订单商品")
  66. private String food;
  67. /** 距离 */
  68. @Excel(name = "距离")
  69. private Double jvli;
  70. /** 运费 */
  71. @Excel(name = "运费")
  72. private Double freight;
  73. /** 经度 */
  74. @Excel(name = "经度")
  75. private BigDecimal longitude;
  76. /** 纬度 */
  77. @Excel(name = "纬度")
  78. private BigDecimal latitude;
  79. /** 出餐状态*/
  80. @Excel(name = "出餐状态")
  81. private Long diningStatus;
  82. private Long kefuState;
  83. private String kefuContent;
  84. private Long kefuRepeat;
  85. private Long repeatDdId;
  86. /** 骑手id */
  87. @Excel(name = "骑手id")
  88. private Long qsId;
  89. /** 距离骑手 */
  90. // @Excel(name = "距离骑手")
  91. private transient Double juli;
  92. //骑手图片
  93. private String qsImg;
  94. /** 支付地址 */
  95. // @Excel(name = "支付地址")
  96. private String payUrl;
  97. /** 到付 */
  98. // @Excel(name = "到付")
  99. private String collectPayment;
  100. // /** 商品價格 */
  101. // @Excel(name = "商品價格")
  102. private transient String priceAll;
  103. /** 创建时间范围 **/
  104. private transient String[] dateRange;
  105. private transient String cretimStart;
  106. private transient String cretimEnd;
  107. private transient String userType;
  108. private transient String appealCount;
  109. /** 平台促销活动id */
  110. private Long activity;
  111. /** 门店促销活动id */
  112. private Long mdActivity;
  113. /** 使用优惠券id */
  114. @Excel(name = "平台优惠券")
  115. private Long yhId;
  116. /** 平台优惠券名称 */
  117. @Excel(name = "平台优惠券名称")
  118. private String yhName;
  119. /** 平台优惠券优惠金额 */
  120. @Excel(name = "平台优惠券优惠金额")
  121. private Integer discountAmount;
  122. /** 门店优惠券id */
  123. @Excel(name = "门店优惠券")
  124. private Long mdYhId;
  125. /** 门店优惠券名称 */
  126. @Excel(name = "门店优惠券名称")
  127. private String mdYhName;
  128. /** 门店优惠券优惠金额 */
  129. @Excel(name = "门店优惠券优惠金额")
  130. private Integer mdDiscountAmount;
  131. /** 平台促銷活動名稱 */
  132. @Excel(name = "平台促銷活動名稱")
  133. private String salesName;
  134. /** 门店促銷活動名稱 */
  135. @Excel(name = "门店促銷活動名稱")
  136. private String mdSalesName;
  137. /** 平台促销減免值 */
  138. @Excel(name = "平台促销減免值")
  139. private Integer salesReduction;
  140. /** 门店促销減免值 */
  141. @Excel(name = "门店促销減免值")
  142. private Integer mdSalesReduction;
  143. /** 积分 */
  144. @Excel(name = "积分")
  145. private Integer points;
  146. /** 积分抵扣值 */
  147. @Excel(name = "积分抵扣值")
  148. private Integer pointsReduction;
  149. /** 送达时间 */
  150. @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
  151. @Excel(name = "送达时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
  152. private Date sdTime;
  153. /** 支付方式 1 到付 2 vnpay 3 zalopay 二维码支付 :4 银行卡 5 */
  154. private String payType;
  155. /** 预计送达时间 */
  156. private String yjsdTime;
  157. /** 父订单号 */
  158. private String parentDdId;
  159. }