“mitao”
2026-04-10 858e62b161e353d8cd51bd1770faa89ace18c303
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
package com.xiaopeng.order.model.exportExcel;
 
import cn.afterturn.easypoi.excel.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
 
import java.math.BigDecimal;
import java.time.LocalDateTime;
 
/**
 * 订单导出Excel
 *
 * @author mitao
 */
@Data
@ApiModel(value = "订单导出Excel")
public class XpOrderExportExcel {
 
    @ApiModelProperty(value = "订单编号")
    @Excel(name = "订单编号", width = 25)
    private String orderNumber;
 
    @ApiModelProperty(value = "下单时间")
    @Excel(name = "下单时间", width = 20, exportFormat = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;
 
    @ApiModelProperty(value = "订单来源")
    @Excel(name = "订单来源", width = 15, replace = {"小鹏小程序_1"})
    private String orderSource;
 
    @ApiModelProperty(value = "乘车时间")
    @Excel(name = "乘车时间", width = 20, exportFormat = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime rideTime;
 
    @ApiModelProperty(value = "下单用户昵称")
    @Excel(name = "下单用户昵称", width = 15)
    private String nickName;
 
    @ApiModelProperty(value = "下单用户手机")
    @Excel(name = "下单用户手机", width = 15)
    private String phoneNumber;
 
    @ApiModelProperty(value = "起点")
    @Excel(name = "起点", width = 30)
    private String startPointName;
 
    @ApiModelProperty(value = "终点")
    @Excel(name = "终点", width = 30)
    private String endPointName;
 
    @ApiModelProperty(value = "选择车型")
    @Excel(name = "选择车型", width = 15)
    private String vehicleModel;
 
    @ApiModelProperty(value = "接单车辆")
    @Excel(name = "接单车辆", width = 15)
    private String plateNumber;
 
    @ApiModelProperty(value = "归属车队")
    @Excel(name = "归属车队", width = 15)
    private String fleetName;
 
    @ApiModelProperty(value = "订单金额")
    @Excel(name = "订单金额", width = 12)
    private BigDecimal orderMoney;
 
    @ApiModelProperty(value = "状态")
    @Excel(name = "状态", width = 12, replace = {"已取消_0", "待接单_1", "待出发_2", "接驾中_3", "待乘客上车_4", "乘客已上车_5", "服务中_6", "待客下车_7", "待付款_8", "待评价_9", "已完成_10"})
    private Integer status;
}