package com.xxfc.platform.vehicle.pojo;

import com.xxfc.platform.vehicle.entity.VehicleWarningRule;
import lombok.Data;

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;
    /**
     * 颜色预警：1、红色预警，2、蓝色预警、3、黄色预警
     */
    private Integer colorType;

    VehicleWarningRule vehicleWarningRule;
}
