zhanghua
2025-04-14 1cad14bca191807e18705c3a5526eda8151be439
ycl-platform/src/main/java/com/ycl/vo/cockpit/enforcementEvents/EnforcementEventsVO.java
@@ -16,54 +16,15 @@
 */
@ApiModel(description = "驾驶舱数据-执法事件VO层")
public class EnforcementEventsVO {
    @ApiModel(description = "执法事件统计")
    @Data
    public static class StatisticsEventVO {
        @ApiModelProperty(value = "数量")
        private Integer count;
        @ApiModelProperty(value = "比例")
        private BigDecimal ratio;
    }
    @Data
    @ApiModel(description = "事件类型/事件来源")
    public static class TypeAndSourceVO {
        @ApiModelProperty(value = "事件的总数")
        private Integer all;
        private Long all;
        @ApiModelProperty(value = "事件类型的数量、各占比")
        private List<EnforcementEventsVO.TypeAndSourceVO1> records;
    }
    @Data
    @ApiModel(description = "事件类型/事件来源")
    public static class TypeAndSourceVO1 {
        @ApiModelProperty(value = "名称")
        private String name;
        @ApiModelProperty(value = "数量")
        private Integer count;
        @ApiModelProperty(value = "比例")
        private BigDecimal ratio;
    }
    @Data
    @ApiModel(description = "视频抓拍高发点位/事件区域统计")
    public static class VideoAndAreaVO {
        @ApiModelProperty(value = "点位名称")
        private String name;
        @ApiModelProperty(value = "次数")
        private Integer count;
    }
    @Data
    @ApiModel(description = "延误事件")
    public static class DelayVO {
        @ApiModelProperty(value = "事件编码(唯一)")
        private String code;
        @ApiModelProperty(value = "事件描述")
        private String description;
        @ApiModelProperty(value = "超期时间(分钟)")
        private Integer duration;
        private List<VideoAndAreaVO> records;
    }
    @Data
@@ -78,23 +39,8 @@
        @ApiModelProperty(value = "AI识别的事件总数")
        private Integer identification;
        @ApiModelProperty(value = "具体事件的数据信息")
        private EnforcementEventsVO.EventVO event;
    }
    @Data
    @ApiModel(description = "具体事件的数据信息")
    public static class EventVO {
        @ApiModelProperty(value = "事件描述")
        private String description;
        @ApiModelProperty(value = "事发地点")
        private String address;
        @ApiModelProperty(value = "发生时间")
        private String alarmTime;
        @ApiModelProperty(value = "关联摄像点位")
        private String point;
        @ApiModelProperty(value = "监控画面")
        private String picture;
        @ApiModelProperty(value = "来源")
        private String source;
        private List<EventVO> event;
        @ApiModelProperty(value = "具体事件的数据信息")
        private Long total;
    }
}