package com.xiaopeng.api.vo.operation;
|
|
|
import lombok.Data;
|
import org.springframework.data.annotation.Id;
|
import org.springframework.data.mongodb.core.geo.GeoJsonPoint;
|
|
import java.io.Serializable;
|
|
/**
|
* 车辆实时位置信息
|
*/
|
@Data
|
public class VehiclePositionVo implements Serializable {
|
/**
|
* 车辆id
|
*/
|
@Id
|
private Long vehicle_id;
|
/**
|
* 车辆VIN
|
*/
|
private String vin;
|
/**
|
* 车辆所属区域id
|
*/
|
private Long area_electronic_id;
|
/**
|
* 车辆实时位置信息
|
*/
|
private GeoJsonPoint point;
|
/**
|
* 运营状态 1运营中 2维修中 3已收车 4车辆异常
|
*/
|
private Integer status;
|
|
/**
|
* 车辆状态 1接单中 0空闲 巡游单不做处理 还是空闲
|
*/
|
private Integer state;
|
|
/**
|
* 当前电量
|
*/
|
private Integer currentElectricity;
|
|
/**
|
* 是否有巡游单子 1有 0否
|
*/
|
private Integer hasOrder;
|
|
/**
|
* 订单id
|
*/
|
private Long orderId;
|
|
|
/**
|
* 分数电量
|
*/
|
private Integer currentElectricityScore=0;
|
|
/**
|
* 距离分数
|
*/
|
private Integer distanceScore=0;
|
|
/**
|
* 时间分数
|
*/
|
private Integer timeScore=0;
|
|
|
/**
|
* 价值分数
|
*/
|
private Integer valueScore=0;
|
|
|
/**
|
* 距离
|
*/
|
private Double distance;
|
|
/**
|
* 时间 秒
|
*/
|
private Integer second;
|
|
private Integer total;
|
|
|
/**
|
* 时间差
|
*/
|
private Integer timeDifference;
|
|
/**
|
* 距离差
|
*/
|
private Integer distanceDifference;
|
|
/**
|
* 订单价值总和
|
*/
|
private Integer orderValueTotal;
|
|
}
|