package com.ycl.platform.domain.result.HK; import com.ycl.platform.domain.result.BaseResult; import lombok.Data; import org.springframework.data.mongodb.core.index.TextIndexed; import org.springframework.data.mongodb.core.mapping.Document; /** * 车辆设备抽检指标监测结果:车辆(车辆卡口设备抓拍数据大图可用性) * * @author gonghl */ @Data @Document(collection = "hk_vehicle_device_sampling") public class VehicleDeviceSamplingResult extends BaseResult { /** * 卡口内码或采集设备内码,dataType为1时表示卡口内码,dataType为11时表示采集设备内码 */ @TextIndexed private String indexCode; /** * 设备或卡口国标编码 */ @TextIndexed private String externalIndexCode; /** * 设备或卡口名称 */ @TextIndexed private String deviceName; /** * 组织编号 */ @TextIndexed private String orgCode; /** * 组织名称 */ @TextIndexed private String orgName; // 以下为嵌套对象的字段 /** * 大图可用性相关数据 */ private BigUsefulness bigUseful; /** * 车辆属性不一致相关数量 */ private VehicleDifference vehDiff; // 内嵌对象定义 @Data public static class BigUsefulness { /** * 大图可用性数据抽检量 */ private Integer sampleCount; /** * 大图可用率 */ private Float bigUsefulPercent; /** * 大图访问异常数据量 */ private Integer bigPicExpCount; /** * OSD标注异常数据量 */ private Integer osdExpCount; } @Data public static class VehicleDifference { /** * 车辆属性不一致数据抽检量 */ private Integer sampleCount; /** * 车牌号码不一致数据量 */ private Integer plateNoDiffCount; /** * 车牌颜色不一致数据量 */ private Integer plateColorDiffCount; /** * 车辆类型不一致数据量 */ private Integer vehTypeDiffCount; /** * 车辆品牌不一致数据量 */ private Integer vehBrandDiffCount; /** * 主要属性不一致数据量 */ private Integer majorDiffCount; /** * 主要属性一致率 */ private Float majorConPercent; /** * 重要属性不一致数据量 */ private Integer importDiffCount; /** * 重要属性一致率 */ private Float importantConPercent; } }