package com.ycl.vo.cockpit.statisticsEvents; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import lombok.AllArgsConstructor; import lombok.Data; import java.math.BigDecimal; /** * @author Lyq * @version 1.0 * @date 2022/10/26 */ @ApiModel(description = "驾驶舱数据-综合决策VO层") public class StatisticsEventsVO { @ApiModel(description = "执法事件") @Data public static class LawEnforcementEventVO { @ApiModelProperty(value = "月份") private String month; @ApiModelProperty(value = "地区名字") private String name; @ApiModelProperty(value = "城管事件数") private Integer cityManagementCount; @ApiModelProperty(value = "执法案件数") private Integer enforcementEventCount; } @ApiModel(description = "物联感知") @Data public static class LotVO { @ApiModelProperty(value = "物联网设备类型") private String type; @ApiModelProperty(value = "地区名字") private String name; @ApiModelProperty(value = "数量") private Integer count; @ApiModelProperty(value = "比例") private BigDecimal ratio; } @ApiModel(description = "执法队伍") @Data public static class TeamVO { @ApiModelProperty(value = "执法中队数量") private Integer secondOfficer; @ApiModelProperty(value = "在线人员数量") private Integer online; @ApiModelProperty(value = "离线人员数量") private Integer offline; @ApiModelProperty(value = "全部人员数量") private Integer all; @ApiModelProperty(value = "执法人员数量") private Integer officer; @ApiModelProperty(value = "协管人员数量") private Integer assistant; } @ApiModel(description = "网格员") @Data public static class GridMemberVO { @ApiModelProperty(value = "地区名称") private String name; @ApiModelProperty(value = "数量") private Integer count; @ApiModelProperty(value = "比例") private BigDecimal ratio; } @ApiModel(description = "指数体征") @Data public static class IndexSignsVO { @ApiModelProperty(value = "近30日事件数") private Integer event; @ApiModelProperty(value = "网格员总数") private Integer gridMember; @ApiModelProperty(value = "近30日事件办结率") private BigDecimal completePercentage; @ApiModelProperty(value = "AI设备数量") private Integer equipment; @ApiModelProperty(value = "AI近30日准确率") private BigDecimal accuracy; @ApiModelProperty(value = "近30日触发次数") private Integer trigger; @ApiModelProperty(value = "物联感知设备数量") private Integer lot; @ApiModelProperty(value = "近30日物联感知设备在线数量") private Integer lotOnline; @ApiModelProperty(value = "市、 区任务完成指标市平台内数据") private Integer cityData; @ApiModelProperty(value = "动态考核数据") private Integer evaluationData; } @Data @AllArgsConstructor @ApiModel(description = "中队top10数据信息") public static class Top10VO { @ApiModelProperty(value = "中队名称") private String name; @ApiModelProperty(value = "分数") private Double score; } @ApiModel(description = "AI算法") @Data @AllArgsConstructor public static class ArithmeticVO { @ApiModelProperty(value = "类型") private String name; @ApiModelProperty(value = "数量") private Integer count; @ApiModelProperty(value = "比例") private Double ratio; } /** * 城市体征看板 维度统一为本月 */ @ApiModel(description = "城市体征看板") @Data @AllArgsConstructor public static class CityPanelVo { @ApiModelProperty(value = "事件总数") private Integer event; @ApiModelProperty(value = "事件上升") private Boolean eventUp; @ApiModelProperty(value = "超时事件数") private Integer overtime; @ApiModelProperty(value = "超时事件上升") private Boolean overtimeUp; @ApiModelProperty(value = "事件处置率") private Integer disposePercentage; @ApiModelProperty(value = "事件处置率上升") private Boolean disposePercentageUp; @ApiModelProperty(value = "油烟排放超标") private Integer lampblack; @ApiModelProperty(value = "油烟排放超标上升") private Boolean lampblackUp; @ApiModelProperty(value = "违建事件数量") private Integer illegalBuilding; @ApiModelProperty(value = "违建事件上升") private Boolean illegalBuildingUp; @ApiModelProperty(value = "案件办理数") private Integer caseCount; @ApiModelProperty(value = "案件办理数上升") private Boolean caseCountUp; @ApiModelProperty(value = "户外广告违法") private Integer advertising; @ApiModelProperty(value = "户外广告违法上升") private Boolean advertisingUp; @ApiModelProperty(value = "占道经营数") private Integer roadsideStallBusiness; @ApiModelProperty(value = "占道经营数上升") private Boolean roadsideStallBusinessUp; @ApiModelProperty(value = "渣土运输违章") private Integer slag; @ApiModelProperty(value = "渣土运输违章上升") private Boolean slagUp; } }