package com.xiaopeng.order.vo;
|
|
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModelProperty;
|
import lombok.Data;
|
|
import java.time.LocalDateTime;
|
|
@Data
|
@ApiModel("更新订单状态")
|
public class UpdateOrderStatusVo {
|
@ApiModelProperty("订单编号")
|
private String orderNum;
|
@ApiModelProperty("状态 0=已取消,1=待接单,2=待出发,3=接驾中,4=待客上车,5=乘客已上车,6=服务中,7=待客下车,8=待付款,9=待评价,10=已完成")
|
private Integer orderStatus;
|
@ApiModelProperty("接单车牌号(orderStatus=2必填)")
|
private String vehiclePlateNumber;
|
@ApiModelProperty(value = "接单时间yyyy-MM-dd HH:mm:ss(orderStatus=2必填)")
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
private LocalDateTime acceptanceTime;
|
@ApiModelProperty(value = "行程开始时间yyyy-MM-dd HH:mm:ss(orderStatus=3必填)")
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
private LocalDateTime tripBegin;
|
@ApiModelProperty(value = "车辆到达上车点时间yyyy-MM-dd HH:mm:ss(orderStatus=4必填)")
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
private LocalDateTime arrivalTime;
|
@ApiModelProperty(value = "行程结束时间yyyy-MM-dd HH:mm:ss(orderStatus=7必填)")
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
private LocalDateTime tripEnd;
|
@ApiModelProperty(value = "上车点经度(orderStatus=5必填)")
|
private Double boardingLon;
|
@ApiModelProperty(value = "上车点纬度(orderStatus=5必填)")
|
private Double boardingLat;
|
@ApiModelProperty(value = "上车点地址(orderStatus=5必填)")
|
private String boardingAddress;
|
@ApiModelProperty(value = "上车时间yyyy-MM-dd HH:mm:ss(orderStatus=5必填)")
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
private LocalDateTime boardingTime;
|
@ApiModelProperty(value = "下车点经度(orderStatus=8必填)")
|
private Double getoffLon;
|
@ApiModelProperty(value = "下车点纬度(orderStatus=8必填)")
|
private Double getoffLat;
|
@ApiModelProperty(value = "下车地点(orderStatus=8必填)")
|
private String getoffAddress;
|
@ApiModelProperty(value = "下车时间yyyy-MM-dd HH:mm:ss(orderStatus=8必填)")
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
private LocalDateTime getoffTime;
|
}
|