| | |
| | | */ |
| | | @ApiModel(description = "驾驶舱数据-执法事件VO层") |
| | | public class EnforcementEventsVO { |
| | | @ApiModel(description = "执法事件统计") |
| | | @Data |
| | | public static class StatisticsEventVO { |
| | | @ApiModelProperty(value = "数量") |
| | | private Integer count; |
| | | |
| | | @ApiModelProperty(value = "比例") |
| | | private BigDecimal ratio; |
| | | |
| | | @ApiModelProperty(value = "上升下降") |
| | | private Boolean up; |
| | | } |
| | | |
| | | @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; |
| | | @ApiModelProperty(value = "数据占比") |
| | | private BigDecimal ratio; |
| | | } |
| | | |
| | | @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 |
| | |
| | | private Integer identification; |
| | | @ApiModelProperty(value = "具体事件的数据信息") |
| | | private List<EventVO> event; |
| | | @ApiModelProperty(value = "具体事件的数据信息") |
| | | private Long total; |
| | | } |
| | | } |