VehicleDevice.java 1.76 KB
package cn.com.glsx.admin.modules.entity;

import com.glsx.plat.mybatis.base.BaseEntity;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Table;
import java.util.Date;

/**
 * 车辆设备绑定关系
 */
@Table(name = "t_vehicle_device")
@Data
public class VehicleDevice extends BaseEntity {
    /**
     * 车辆id
     */
    @Column(name = "vehicle_id")
    private Long vehicleId;

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

    /**
     * 绑定状态:1绑定,2解绑
     */
    @Column(name = "bind_status")
    private Integer bindStatus;

    /**
     * 试驾类型 0:非试驾设备, 1,试驾设备
     */
    @Column(name = "trial_type")
    private Integer trialType;

    /**
     * 历史试驾类型 0:曾经不是试驾设备; 1:曾经是试驾设备
     */
    @Column(name = "his_type")
    private Integer hisType;

    /**
     * 有线无线类型:1有线,0无线
     */
    @Column(name = "wire_type")
    private Integer wireType;

    /**
     * 设备激活标记 0 : 是工单激活 1 不是工单激活
     */
    @Column(name = "active_flag")
    private Integer activeFlag;

    /**
     * 激活上点时间
     */
    @Column(name = "active_location_date")
    private Date activeLocationDate;

    /**
     * 激活上点经度
     */
    @Column(name = "active_location_lng")
    private String activeLocationLng;

    /**
     * 激活上点纬度
     */
    @Column(name = "active_location_lat")
    private String activeLocationLat;

    /**
     * 激活上点类型 0、GPS,1、基站
     */
    @Column(name = "active_location_type")
    private Integer activeLocationType;

    /**
     * 激活上点地址
     */
    @Column(name = "active_location_address")
    private String activeLocationAddress;
}