RabbitMQVehicle.java 8.77 KB
package com.objecteye.pojo;

import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

@Document(collection = "rabbitMQVehicle")
@Data
@ToString
@NoArgsConstructor
public class RabbitMQVehicle {

    /**
     * 车辆id
     */
    @Id
    private String id;
    /**
     * 在档案中的位置
     */
    private int count;

    private String longitude;

    private String latitude;
    /**
     * 图片的路径
     */
    private String picurl;
    /**
     * 车辆档案id
     */
    private int recordid;
    /**
     * 抓拍时间
     */
    private Long pictime;
    /**
     * 是否报警
     */
    private int flag;
    /**
     * 是否确认
     */
    private int tag;
    /**
     * 人像id
     */
    private String personid;
    /**
     * 车牌位置
     */
    private int[] vehicleplaterect;
    /**
     * 车牌检测分数
     */
    private double vehicleplatedetectscore;
    /**
     * 车牌类型
     */
    private int vehicleplatetype;
    private double vehicle_plate_numScore;
    private double vehicle_color_score;
    private int vehicle_color_index;
    private double vehicle_detect_score;
    private int[] vehicle_detect_syRectParam;
    private double vehicle_win_score;
    private int[] vehicle_win_syRectParam;
    private int vehicle_special_type;
    private double vehicle_special_score;
    private double vehicle_illegal_driver_smoke_confidence;
    private int vehicle_illegal_driver_smoke_status;
    private double vehicle_illegal_driver_belt_confidence;
    private int vehicle_illegal_driver_belt_status;
    private double vehicle_illegal_driver_phone_confidence;
    private int vehicle_illegal_driver_phone_status;
    private double vehicle_illegal_driver_person_confidence;
    private int vehicle_illegal_driver_person_status;
    private double vehicle_illegal_copilot_smoke_confidence;
    private int vehicle_illegal_copilot_smoke_status;
    private double vehicle_illegal_copilot_belt_confidence;
    private int vehicle_illegal_copilot_belt_status;
    private double vehicle_illegal_copilot_phone_confidence;
    private int vehicle_illegal_copilot_phone_status;
    private double vehicle_illegal_copilot_person_confidence;
    private int vehicle_illegal_copilot_person_status;
    private String vehicle_recg_issue_year;
    private String vehicle_recg_brand;
    private String vehicle_recg_type;
    private String vehicle_recg_subbrand;
    /**
     * 吨数
     */
    private String vehicle_recg_freight_ton;
    private double vehicle_recg_name_score;
    private int vehicle_pendant_count;
    private double[] vehicle_fea_feature;
    private PendantParams[] vehicle_pendant_Params;
    private PlatePlateNumParams[] vehicle_plate_plateNumParams;
    private String vehicle_plate_hphm;
    /**
     * 年检标数量
     */
    private Integer vehicle_pendant_detect_njbnumber;
    /**
     * 是否存在挂件  0表示不存在   1表示存在
     */
    private Integer vehicle_pendant_detect_gjexis;
    /**
     * 是否存在遮阳板  0表示不存在   1表示存在
     */
    private Integer vehicle_pendant_detect_zybexis;
    private String personUrl;
    /**
     * 额外添加的snapshotUrl 快照图的路径
     */
    private String snapshoturl;

    public RabbitMQVehicle(int count, String longitude, String latitude, String picurl, int recordid,
                           Long pictime, int flag, int tag, String personid, int[] vehicleplaterect, double vehicleplatedetectscore, int vehicleplatetype,
                           double vehicle_plate_numScore, double vehicle_color_score, int vehicle_color_index, double vehicle_detect_score,
                           int[] vehicle_detect_syRectParam, double vehicle_win_score, int[] vehicle_win_syRectParam, int vehicle_special_type,
                           double vehicle_special_score, double vehicle_illegal_driver_smoke_confidence, int vehicle_illegal_driver_smoke_status,
                           double vehicle_illegal_driver_belt_confidence, int vehicle_illegal_driver_belt_status,
                           double vehicle_illegal_driver_phone_confidence, int vehicle_illegal_driver_phone_status,
                           double vehicle_illegal_driver_person_confidence, int vehicle_illegal_driver_person_status,
                           double vehicle_illegal_copilot_smoke_confidence, int vehicle_illegal_copilot_smoke_status,
                           double vehicle_illegal_copilot_belt_confidence, int vehicle_illegal_copilot_belt_status,
                           double vehicle_illegal_copilot_phone_confidence, int vehicle_illegal_copilot_phone_status,
                           double vehicle_illegal_copilot_person_confidence, int vehicle_illegal_copilot_person_status,
                           String vehicle_recg_issue_year, String vehicle_recg_brand, String vehicle_recg_type, String vehicle_recg_subbrand,
                           String vehicle_recg_freight_ton, double vehicle_recg_name_score, int vehicle_pendant_count, double[] vehicle_fea_feature,
                           PendantParams[] vehicle_pendant_Params, PlatePlateNumParams[] vehicle_plate_plateNumParams, String vehicle_plate_hphm,
                           Integer vehicle_pendant_detect_njbnumber, Integer vehicle_pendant_detect_gjexis, Integer vehicle_pendant_detect_zybexis, String personUrl, String snapshoturl) {
        this.count = count;
        this.longitude = longitude;
        this.latitude = latitude;
        this.picurl = picurl;
        this.recordid = recordid;
        this.pictime = pictime;
        this.flag = flag;
        this.tag = tag;
        this.personid = personid;
        this.vehicleplaterect = vehicleplaterect;
        this.vehicleplatedetectscore = vehicleplatedetectscore;
        this.vehicleplatetype = vehicleplatetype;
        this.vehicle_plate_numScore = vehicle_plate_numScore;
        this.vehicle_color_score = vehicle_color_score;
        this.vehicle_color_index = vehicle_color_index;
        this.vehicle_detect_score = vehicle_detect_score;
        this.vehicle_detect_syRectParam = vehicle_detect_syRectParam;
        this.vehicle_win_score = vehicle_win_score;
        this.vehicle_win_syRectParam = vehicle_win_syRectParam;
        this.vehicle_special_type = vehicle_special_type;
        this.vehicle_special_score = vehicle_special_score;
        this.vehicle_illegal_driver_smoke_confidence = vehicle_illegal_driver_smoke_confidence;
        this.vehicle_illegal_driver_smoke_status = vehicle_illegal_driver_smoke_status;
        this.vehicle_illegal_driver_belt_confidence = vehicle_illegal_driver_belt_confidence;
        this.vehicle_illegal_driver_belt_status = vehicle_illegal_driver_belt_status;
        this.vehicle_illegal_driver_phone_confidence = vehicle_illegal_driver_phone_confidence;
        this.vehicle_illegal_driver_phone_status = vehicle_illegal_driver_phone_status;
        this.vehicle_illegal_driver_person_confidence = vehicle_illegal_driver_person_confidence;
        this.vehicle_illegal_driver_person_status = vehicle_illegal_driver_person_status;
        this.vehicle_illegal_copilot_smoke_confidence = vehicle_illegal_copilot_smoke_confidence;
        this.vehicle_illegal_copilot_smoke_status = vehicle_illegal_copilot_smoke_status;
        this.vehicle_illegal_copilot_belt_confidence = vehicle_illegal_copilot_belt_confidence;
        this.vehicle_illegal_copilot_belt_status = vehicle_illegal_copilot_belt_status;
        this.vehicle_illegal_copilot_phone_confidence = vehicle_illegal_copilot_phone_confidence;
        this.vehicle_illegal_copilot_phone_status = vehicle_illegal_copilot_phone_status;
        this.vehicle_illegal_copilot_person_confidence = vehicle_illegal_copilot_person_confidence;
        this.vehicle_illegal_copilot_person_status = vehicle_illegal_copilot_person_status;
        this.vehicle_recg_issue_year = vehicle_recg_issue_year;
        this.vehicle_recg_brand = vehicle_recg_brand;
        this.vehicle_recg_type = vehicle_recg_type;
        this.vehicle_recg_subbrand = vehicle_recg_subbrand;
        this.vehicle_recg_freight_ton = vehicle_recg_freight_ton;
        this.vehicle_recg_name_score = vehicle_recg_name_score;
        this.vehicle_pendant_count = vehicle_pendant_count;
        this.vehicle_fea_feature = vehicle_fea_feature;
        this.vehicle_pendant_Params = vehicle_pendant_Params;
        this.vehicle_plate_plateNumParams = vehicle_plate_plateNumParams;
        this.vehicle_plate_hphm = vehicle_plate_hphm;
        this.vehicle_pendant_detect_njbnumber = vehicle_pendant_detect_njbnumber;
        this.vehicle_pendant_detect_gjexis = vehicle_pendant_detect_gjexis;
        this.vehicle_pendant_detect_zybexis = vehicle_pendant_detect_zybexis;
        this.personUrl = personUrl;
        this.snapshoturl = snapshoturl;
    }

}