package com.xinxincaravan.caravan.vehicle.vo;

import lombok.Data;

import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import java.util.Date;

/**
 *车辆相关预警消息
 *
 */
@Data
public class VehicleWarningMsgQueryVo {

    public Integer id;
    /**
     * 消息类型，详见VehicleMsgType
     */
    public Integer type;

    /**
     * 消息类型，详见VehicleMsgStatus
     */
    public Integer status;

    /**
     * 消息内容
     */
    private String msg;

    /**
     * 对应规则ID
     */
    private Integer ruleId;

    /**
     * 对应车辆ID
     */
    private String vehicleId;

    /**
     * 消息key，用于去重
     */
    private String msgKey;

    /**
     * 备注
     */
    private String remark;


    /**
     * 对应车辆code
     */
    private Integer vehicleCode;

    private Integer subordinateBranch;

    /**
     * 对应车牌号
     */
    private String numberPlate;

    private Integer mileageLastUpdate;


    private Date createTime;

    private Date updateTime;
}
