陶杰
2024-08-22 ee9032d9baf5f33e376d2d2699136e0a7b26bec7
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
package com.mzl.flower.dto.response.payment;
 
import com.fasterxml.jackson.annotation.JsonFormat;
import com.mzl.flower.base.AbstractTransDTO;
import com.mzl.flower.base.annotation.DictTrans;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;
 
import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.List;
 
@Data
public class OrderListDTO extends AbstractTransDTO {
    private String id;
 
    @ApiModelProperty(value = "订单单号")
    private String orderNo;
 
    @ApiModelProperty(value = "订单金额")
    private BigDecimal totalAmount;
 
    @ApiModelProperty(value = "状态")
    @DictTrans(target = "statusBackendStr", codeType = "ORDER_STATUS_BACKEND")
    private String statusBackend;
    private String statusBackendStr;
 
    @ApiModelProperty(value = "收货人")
    private String customer;
 
    @ApiModelProperty(value = "收货人手机号码")
    private String customerTel;
 
    private String customerProvince;
    private String customerCity;
    private String customerRegion;
 
    @ApiModelProperty(value = "收货地址")
    private String customerAddress;
 
    @ApiModelProperty(value = "支付金额")
    private BigDecimal paymentAmount;
 
    @ApiModelProperty(value = "支付时间")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss" ,timezone="GMT+8")
    @DateTimeFormat
    private LocalDateTime paymentTime;
 
    @ApiModelProperty(value = "下单时间")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss" ,timezone="GMT+8")
    @DateTimeFormat
    private LocalDateTime createTime;
 
    @ApiModelProperty(value = "仓库名称")
    private String warehouseName;
 
    @ApiModelProperty(value = "库位名称")
    private String warehouseLocationCode;
 
    @ApiModelProperty(value = "合伙人名称")
    private String partnerName;
 
    @ApiModelProperty(value = "下单人")
    private String createName;
 
    @ApiModelProperty(value = "是否可退款")
    private boolean couldRefund;
 
    @ApiModelProperty(value = "需降级处理退款商品数量-运营平台使用")
    private Integer levelDownCount;
 
    @ApiModelProperty(value = "降级打款记录id,有值表示已处理退款")
    private String transferId;
 
    @ApiModelProperty(value = "明细")
    private List<OrderItemListDTO> items;
 
 
    @ApiModelProperty(value = "快递名称")
    private String deliveryName;//快递名称
 
    @ApiModelProperty(value = "快递单号")
    private String deliveryNo;//快递单号
}