ElectricFenceDto.java 1.32 KB
package cn.com.glsx.stdinterface.dto;

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

import java.util.Date;

/**
 * @Desc:试驾围栏数据表
 * @Author huangxc
 * @Date 2021/4/19
 */
@Data
public class ElectricFenceDto {
    /**
     * id
     */
    private Long id;

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

    /**
     * 外键:电子围栏表主键
     */
    private Integer fenceId;

    /**
     * 业务渠道标识,旧e盾:11 新E盾:12
     */
    private Integer sveSystemId;

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

    /**
     * 重合度(百分百),如值为20,即为20%
     */
    private Integer percent;

    /**
     * 车辆设备关系表id
     */
    private Long vdId;

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

    /**
     * 行程里程(米)
     */
    private Integer totalMileage;

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

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