RectificationInfoAnalyseVO.java
1.8 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
package com.skua.modules.ajh.vo;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.util.List;
import java.util.Map;
@Data
public class RectificationInfoAnalyseVO {
@ApiModelProperty("安全隐患数量:同比上年")
Integer countYearOverYear;
@ApiModelProperty("安全隐患数量:环比上月")
Integer countChain;
@ApiModelProperty("整改完成率:同比上年")
String completeRateYearOverYear;
@ApiModelProperty("整改完成率:环比上月")
String completeRateChain;
@ApiModelProperty("总整改完成率")
String totalCompleteRate;
@ApiModelProperty("曲线图:整改完成率")
List<Map<String,Object>> completeRateHistogramList;
@ApiModelProperty("柱状图:安全隐患数量")
List<Histogram> countHistogramList;
@ApiModelProperty("柱状图:风险等级分布")
List<Histogram> levelHistogramList;
@ApiModelProperty("柱状图:安全责任人分布")
List<Histogram> dutyHistogramList;
@ApiModelProperty("雷达图:安全隐患伤害类别")
List<XAndCount> classifyList;
@ApiModelProperty("饼图:安全隐患区域分布")
List<XAndCount> areaList;
@Data
@AllArgsConstructor
@NoArgsConstructor
public static class Histogram{
@ApiModelProperty("x轴")
String x;
@ApiModelProperty("未处理数量")
Integer unhandleCount;
@ApiModelProperty("已处理数量")
Integer handleCount;
}
@Data
@NoArgsConstructor
@AllArgsConstructor
public static class XAndCount{
@ApiModelProperty("x")
String x;
@ApiModelProperty("数量")
Integer count;
}
}