package com.clx.performance.param.temp;

import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.ToString;

import java.math.BigDecimal;
import java.util.List;

@Setter
@Getter
@ToString
@NoArgsConstructor
public class DriverTraceAddParam {

    @ApiModelProperty(value = "车辆轨迹列表")
    private List<DriverTraceItem> traceList;

    @Setter
    @Getter
    @ToString
    @NoArgsConstructor
    public static class DriverTraceItem{
        @ApiModelProperty(value = "用户编码", example = "10000")
        private Long userNo;
        @ApiModelProperty(value = "1-正常上传，2-离线上传", example = "1")
        private Integer dataType;
        @ApiModelProperty(value = "位置 [123.45, 12.34]")
        private BigDecimal[] location;
        @ApiModelProperty(value = "时间")
        private String gpsTime;
    }

}
