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 startAddress;
|
|
@ApiModelProperty(value = "终点")
|
@Excel(name = "终点", width = 30)
|
private String endAddress;
|
|
@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"})
|
private Integer status;
|
}
|