Administrator
2025-07-03 ba11b8586b1f3a6b072d787719083a792e1d1671
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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
package cc.mrbird.febs.mall.vo.clothes;
 
import cc.mrbird.febs.mall.vo.OrderItemVo;
import cc.mrbird.febs.mall.vo.OrderRefundVo;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
 
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;
 
@Data
@ApiModel(value = "ApiClothesOrderListInfoVo", description = "参数")
public class ApiClothesOrderListInfoVo {
 
 
    @ApiModelProperty(value = "订单ID")
    private Long id;
 
    @ApiModelProperty(value = "订单编号")
    private String orderNo;
 
    @ApiModelProperty(value = "下单时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date orderTime;
 
    @ApiModelProperty(value = "总价")
    private BigDecimal amount;
 
    @ApiModelProperty(value = "实付款")
    private BigDecimal realAmount;
 
    @ApiModelProperty(value = "类型名称")
    private String typeName;
 
    @ApiModelProperty(value = "类型图片")
    private String typeImage;
 
    @ApiModelProperty(value = "数量")
    private Integer goodsCnt;
 
    @ApiModelProperty(value = "支付方式")
    private String payMethod;
 
    public Integer getPayMethodType() {
        if (this.payMethod == null) {
            return 0;
        }
        switch (this.payMethod) {
            case "微信支付" :
                return 1;
            case "支付宝支付" :
                return 2;
            case "余额支付" :
                return 3;
            default:
                return 3;
        }
    }
 
    @ApiModelProperty(value = "支付方式类型")
    private Integer payMethodType;
 
    @ApiModelProperty(value = "状态")
    private Integer status;
 
    @ApiModelProperty(value = "送货上门经度")
    private String longitude;
 
    @ApiModelProperty(value = "送货上门纬度")
    private String latitude;
 
    @ApiModelProperty(value = "收货人姓名")
    private String name;
 
    @ApiModelProperty(value = "收货人电话")
    private String phone;
 
    @ApiModelProperty(value = "收货人地址")
    private String address;
 
    @ApiModelProperty(value = "物流单号")
    private String expressNo;
 
    @ApiModelProperty(value = "物流公司")
    private String expressCom;
 
    @ApiModelProperty(value = "订单明细")
    private List<ApiClothesOrderItemInfoVo> items;
 
    @ApiModelProperty(value = "剩余时间")
    private Long remainTime;
 
    @ApiModelProperty(value = "运费")
    private BigDecimal carriage;
 
    @ApiModelProperty(value = "备注")
    private String remark;
 
    @ApiModelProperty(value = "分享社区 1:待分享 2:已分享")
    private Integer commentState;
}