PosOrder.java 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323
  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. private static final long serialVersionUID = 1L;
  23. @TableId(type = IdType.AUTO)
  24. @GeneratedValue
  25. /** id */
  26. private Long id;
  27. /**
  28. * 订单号
  29. */
  30. private String ddId;
  31. /**
  32. * 商家id
  33. */
  34. @Excel(name = "商家id")
  35. private Long shId;
  36. /**
  37. * 门店id
  38. */
  39. @Excel(name = "门店id")
  40. private Long mdId;
  41. /**
  42. * 创建时间
  43. */
  44. @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
  45. @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
  46. private Date cretim;
  47. /**
  48. * 收货地址id
  49. */
  50. @Excel(name = "收货地址id")
  51. private Long shdzId;
  52. /**
  53. * 收货地址
  54. */
  55. @Excel(name = "收货地址")
  56. private String shAddress;
  57. /**
  58. * 下单用户id
  59. */
  60. @Excel(name = "下单用户id")
  61. private Long userId;
  62. /**
  63. * 订单合计金额
  64. */
  65. @Excel(name = "订单合计金额")
  66. private Integer amount;
  67. /**
  68. * 备注
  69. */
  70. @Excel(name = "备注")
  71. private String remarks;
  72. /**
  73. * 订单状态
  74. */
  75. @Excel(name = "订单状态")
  76. private Long state;
  77. /**
  78. * 订单类型:0外送,1自取,2堂食
  79. */
  80. @Excel(name = "订单类型")
  81. private Long type;
  82. /**
  83. * 配送时间
  84. */
  85. @Excel(name = "配送时间")
  86. private String delryTime;
  87. /**
  88. * 订单商品
  89. */
  90. @Excel(name = "订单商品")
  91. private String food;
  92. /**
  93. * 距离
  94. */
  95. @Excel(name = "距离")
  96. private Double jvli;
  97. /**
  98. * 运费
  99. */
  100. @Excel(name = "运费")
  101. private Double freight;
  102. /**
  103. * 经度
  104. */
  105. @Excel(name = "经度")
  106. private BigDecimal longitude;
  107. /**
  108. * 纬度
  109. */
  110. @Excel(name = "纬度")
  111. private BigDecimal latitude;
  112. /**
  113. * 出餐状态
  114. */
  115. @Excel(name = "出餐状态")
  116. private Long diningStatus;
  117. private Long kefuState;
  118. private String kefuContent;
  119. private Long kefuRepeat;
  120. private Long repeatDdId;
  121. /**
  122. * 骑手id
  123. */
  124. @Excel(name = "骑手id")
  125. private Long qsId;
  126. /**
  127. * 距离骑手
  128. */
  129. // @Excel(name = "距离骑手")
  130. private transient Double juli;
  131. //骑手图片
  132. private String qsImg;
  133. /**
  134. * 支付地址
  135. */
  136. // @Excel(name = "支付地址")
  137. private String payUrl;
  138. /**
  139. * 到付/现金支付
  140. */
  141. // @Excel(name = "到付")
  142. private String collectPayment;
  143. // /** 商品價格 */
  144. // @Excel(name = "商品價格")
  145. private transient String priceAll;
  146. /**
  147. * 创建时间范围
  148. **/
  149. private transient String[] dateRange;
  150. private transient String cretimStart;
  151. private transient String cretimEnd;
  152. private transient String userType;
  153. private transient String appealCount;
  154. /**
  155. * 平台促销活动id
  156. */
  157. private Long activity;
  158. /**
  159. * 门店促销活动id
  160. */
  161. private Long mdActivity;
  162. /**
  163. * 使用优惠券id
  164. */
  165. @Excel(name = "平台优惠券")
  166. private Long yhId;
  167. /**
  168. * 平台优惠券名称
  169. */
  170. @Excel(name = "平台优惠券名称")
  171. private String yhName;
  172. /**
  173. * 平台优惠券优惠金额
  174. */
  175. @Excel(name = "平台优惠券优惠金额")
  176. private Integer discountAmount;
  177. /**
  178. * 门店优惠券id
  179. */
  180. @Excel(name = "门店优惠券")
  181. private Long mdYhId;
  182. /**
  183. * 门店优惠券名称
  184. */
  185. @Excel(name = "门店优惠券名称")
  186. private String mdYhName;
  187. /**
  188. * 门店优惠券优惠金额
  189. */
  190. @Excel(name = "门店优惠券优惠金额")
  191. private Integer mdDiscountAmount;
  192. /**
  193. * 平台促銷活動名稱
  194. */
  195. @Excel(name = "平台促銷活動名稱")
  196. private String salesName;
  197. /**
  198. * 门店促銷活動名稱
  199. */
  200. @Excel(name = "门店促銷活動名稱")
  201. private String mdSalesName;
  202. /**
  203. * 平台促销減免值
  204. */
  205. @Excel(name = "平台促销減免值")
  206. private Integer salesReduction;
  207. /**
  208. * 门店促销減免值
  209. */
  210. @Excel(name = "门店促销減免值")
  211. private Integer mdSalesReduction;
  212. /**
  213. * 积分
  214. */
  215. @Excel(name = "积分")
  216. private Integer points;
  217. /**
  218. * 积分抵扣值
  219. */
  220. @Excel(name = "积分抵扣值")
  221. private Integer pointsReduction;
  222. /**
  223. * 送达时间
  224. */
  225. @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
  226. @Excel(name = "送达时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
  227. private Date sdTime;
  228. /**
  229. * 支付方式 1 到付 2 vnpay 3 zalopay 二维码支付 :4 银行卡 5
  230. */
  231. private String payType;
  232. /**
  233. * 预计送达时间
  234. */
  235. private String yjsdTime;
  236. /**
  237. * 父订单号
  238. */
  239. private String parentDdId;
  240. /**
  241. * 订单分类
  242. */
  243. private String orderCategory;
  244. /**
  245. * 餐桌码ID,关联 table_qrcode.id
  246. */
  247. private Long tableId;
  248. private String tableNo;
  249. /**
  250. * 店铺 logo
  251. */
  252. private String logo;
  253. /**
  254. * 店铺名称
  255. */
  256. private String posName;
  257. /**
  258. * 商品总金额
  259. */
  260. private Integer foodAmount;
  261. /** 取餐号 */
  262. private Long pickUpNum;
  263. /** 商家是否已接单 */
  264. private Boolean isAccepted;
  265. /** 是否显示 */
  266. private Boolean isDisplay;
  267. /**
  268. * 显示时间
  269. */
  270. @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
  271. private Date displayTime;
  272. }