RouteOilMileageDto.java 1.5 KB
package cn.com.glsx.stdinterface.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

@Data
public class RouteOilMileageDto {

    /**
     * 设备号
     */
    private String sn;
    private String facId;

    /**
     * 行程开始时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date beginTime;

    /**
     * 行程结束时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date endTime;

    /**
     * 驾驶时长 单位秒
     */
    private Integer totalTime;

    /**
     * 行驶里程 单位米
     */
    private Integer mileage;

    /**
     * 行驶油耗
     */
    private Integer oil;

    /**
     * 怠速时间
     */
    private Integer idleTime;

    /**
     * 急加速总次数
     */
    private Integer rushUpCount;

    /**
     * 急减速总次数
     */
    private Integer rushSlowCount;

    /**
     * 急转弯总次数
     */
    private Integer rushTurnCount;

    /**
     * 超速次数
     */
    private Integer overSpeedCount;

    /**
     * 行程开始时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date time;

    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createdTime;

    /**
     * 更新时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date updatedTime;

}