VehicleDeviceDto.java 1.57 KB
package cn.com.glsx.stdinterface.dto;

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

import java.util.Date;

/**
 * 车辆设备绑定关系
 */
@Data
public class VehicleDeviceDto {
    /**
     * id
     */
    private Long id;

    /**
     * 车辆id
     */
    private Long vehicleId;

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

    /**
     * 绑定状态:1绑定,2解绑
     */
    private Integer bindStatus;

    /**
     * 试驾类型 0:非试驾设备, 1,试驾设备
     */
    private Integer trialType;

    /**
     * 历史试驾类型 0:曾经不是试驾设备; 1:曾经是试驾设备
     */
    private Integer hisType;

    /**
     * 有线无线类型:1有线,0无线
     */
    private Integer wireType;

    /**
     * 激活上点时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date activeLocationDate;

    /**
     * 激活上点经度
     */
    private String activeLocationLng;

    /**
     * 激活上点纬度
     */
    private String activeLocationLat;

    /**
     * 激活上点类型 0、GPS,1、基站
     */
    private Integer activeLocationType;

    /**
     * 激活上点地址
     */
    private String activeLocationAddress;

    /**
     * 删除标识
     */
    private Integer delFlag;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createdDate;

    private Long createdBy;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date updatedDate;

    private Long updatedBy;
}