|
|
@@ -11,11 +11,6 @@ import lombok.*;
|
|
|
@ApiModel(value = "订单表", description = "订单表")
|
|
|
public class OrderInfoDTO extends OrderInfo {
|
|
|
|
|
|
-// private Long id;
|
|
|
-
|
|
|
-// @Enumerated(EnumType.STRING)
|
|
|
-// @ApiModelProperty(value = "订单状态", name = "orderStatus")
|
|
|
-// private OrderStatus status;
|
|
|
|
|
|
//商家信息
|
|
|
@ApiModelProperty(value = "商家用户Id",name = "mUserId")
|
|
|
@@ -30,25 +25,17 @@ public class OrderInfoDTO extends OrderInfo {
|
|
|
@ApiModelProperty(value = "商家地址", name = "merAddress")
|
|
|
private String merAddress;
|
|
|
|
|
|
-// @Enumerated(EnumType.STRING)
|
|
|
-// @ApiModelProperty(value = "商家状态", name = "merchantStatus")
|
|
|
-// private MerchantStatus merchantStatus;
|
|
|
+ @ApiModelProperty(value = "商家logo", name = "merLogo")
|
|
|
+ private String merLogo;
|
|
|
+
|
|
|
+ @ApiModelProperty(value = "商家id", name = "mid")
|
|
|
+ private Long mid;
|
|
|
|
|
|
|
|
|
- //用户信息
|
|
|
-// @ApiModelProperty(value = "用户Id",name = "userId")
|
|
|
-// private Long userId;
|
|
|
|
|
|
@ApiModelProperty(value = "用户昵称")
|
|
|
private String nickname;
|
|
|
|
|
|
-// //经度在前 纬度在后
|
|
|
-// @ApiModelProperty(value = "用户地址经纬度", name = "location")
|
|
|
-// private String location;
|
|
|
-
|
|
|
-// @ApiModelProperty(value = "配送地址", name = "userAddress")
|
|
|
-// private String userAddress;
|
|
|
-
|
|
|
|
|
|
//骑手信息
|
|
|
@ApiModelProperty(value = "骑手用户Id",name = "rUserId")
|
|
|
@@ -60,83 +47,9 @@ public class OrderInfoDTO extends OrderInfo {
|
|
|
@ApiModelProperty(value = "骑手名称", name = "riderName")
|
|
|
private String riderName;
|
|
|
|
|
|
-// @Enumerated(EnumType.STRING)
|
|
|
-// @ApiModelProperty(value = "骑手状态", name = "riderStatus")
|
|
|
-// private RiderStatus riderStatus;
|
|
|
-
|
|
|
-
|
|
|
- //价格
|
|
|
-// @ApiModelProperty(value = "包装价格", name = "packingPrice")
|
|
|
-// private BigDecimal packingPrice;
|
|
|
-//
|
|
|
-// @ApiModelProperty(value = "配送费", name = "deliveryAmount")
|
|
|
-// private BigDecimal deliveryAmount;
|
|
|
-//
|
|
|
-// @ApiModelProperty(value = "满减", name = "fullReduction")
|
|
|
-// private BigDecimal fullReduction;
|
|
|
-//
|
|
|
-// @ApiModelProperty(value = "首单", name = "firstBuy")
|
|
|
-// private BigDecimal firstBuy;
|
|
|
-//
|
|
|
-// @ApiModelProperty(value = "红包", name = "redBag")
|
|
|
-// private BigDecimal redBag;
|
|
|
-//
|
|
|
-// @ApiModelProperty(value = "新用户", name = "newUser")
|
|
|
-// private BigDecimal newUser;
|
|
|
-//
|
|
|
-// @ApiModelProperty(value = "总价", name = "totalAmount")
|
|
|
-// private BigDecimal totalAmount;
|
|
|
-
|
|
|
-// @ApiModelProperty(value = "商品总价", name = "goodsAmount")
|
|
|
-// private BigDecimal goodsAmount;
|
|
|
-
|
|
|
-// @ApiModelProperty(value = "实付金额", name = "realAmount")
|
|
|
-// private BigDecimal realAmount;
|
|
|
-//
|
|
|
-// @ApiModelProperty(value = "优惠券ID", name = "couponId")
|
|
|
-// private Long userCouponId;
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
- //订单信息
|
|
|
-// @ApiModelProperty(value = "订单信息",name = "orderNo")
|
|
|
-// private String orderNo;
|
|
|
-//
|
|
|
-// @ApiModelProperty(value = "下单时间", name = "orderTime")
|
|
|
-// private LocalDateTime orderTime;
|
|
|
-//
|
|
|
-// @ApiModelProperty(value = "备注", name = "remark")
|
|
|
-// private String remark;
|
|
|
-//
|
|
|
-// @Enumerated(EnumType.STRING)
|
|
|
-// @ApiModelProperty(value = "支付方式", name = "payMethod")
|
|
|
-// private PayMethod payMethod;
|
|
|
-//
|
|
|
-// @Column(nullable = false)
|
|
|
-// @ApiModelProperty(value = "取消订单", name = "cancel")
|
|
|
-// private Boolean cancel = false;
|
|
|
-//
|
|
|
-// @Column(nullable = false)
|
|
|
-// @ApiModelProperty(value = "已评价", name = "rated")
|
|
|
-// private Boolean rated = false;
|
|
|
-//
|
|
|
-// @ApiModelProperty(value = "用户收到时间", name = "userReceivedTime")
|
|
|
-// private LocalDateTime userReceivedTime;
|
|
|
-
|
|
|
-// @OneToMany(fetch = FetchType.LAZY, cascade = CascadeType.ALL)
|
|
|
-// @JoinColumn(name = "orderInfoId")
|
|
|
-// List<OrderGoodsSpec> orderGoodsSpecs;
|
|
|
-
|
|
|
-// @Enumerated(EnumType.STRING)
|
|
|
-// @ApiModelProperty(value = "取消订单原因", name = "reason")
|
|
|
-// private RefundReason reason;
|
|
|
-
|
|
|
-// @ApiModelProperty(value = "预计到达时间", name = "timeOfArrival")
|
|
|
-// private LocalDateTime timeOfArrival;
|
|
|
-//
|
|
|
-// @ApiModelProperty(value = "期望送达时间段", name = "expectDeliveryTime")
|
|
|
-// private String expectDeliveryTime;
|
|
|
+ @ApiModelProperty(value = "骑手地址经纬度", name = "ridLocation")
|
|
|
+ private String ridLocation;
|
|
|
+
|
|
|
|
|
|
@ApiModelProperty(value = "评价ID", name = "appraisalId")
|
|
|
private Long appraisalId;
|