StatisticsByChartsVO.java
2.5 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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
package com.skua.modules.guest.vo;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.io.Serializable;
import java.util.List;
/**
* @author sonin
* @date 2021/8/18 10:14
*/
@Data
@ApiModel(value="StatisticsByChartsVO对象", description="按图表统计")
public class StatisticsByChartsVO {
@ApiModelProperty(value = "本周")
private Week week;
@ApiModelProperty(value = "本月")
private Month month;
@ApiModelProperty(value = "本年")
private Year year;
public static class Week implements Serializable {
@ApiModelProperty(value = "x数据")
private List<String> xData;
@ApiModelProperty(value = "y数据")
private List<Integer> yData;
@JsonProperty(value = "xData")
public List<String> getXData() {
return xData;
}
public void setXData(List<String> xData) {
this.xData = xData;
}
@JsonProperty(value = "yData")
public List<Integer> getYData() {
return yData;
}
public void setYData(List<Integer> yData) {
this.yData = yData;
}
}
public static class Month implements Serializable {
@ApiModelProperty(value = "x数据")
private List<String> xData;
@ApiModelProperty(value = "y数据")
private List<Integer> yData;
@JsonProperty(value = "xData")
public List<String> getXData() {
return xData;
}
public void setXData(List<String> xData) {
this.xData = xData;
}
@JsonProperty(value = "yData")
public List<Integer> getYData() {
return yData;
}
public void setYData(List<Integer> yData) {
this.yData = yData;
}
}
@Data
public static class Year implements Serializable {
@ApiModelProperty(value = "x数据")
private List<String> xData;
@ApiModelProperty(value = "y数据")
private List<Integer> yData;
@JsonProperty(value = "xData")
public List<String> getXData() {
return xData;
}
public void setXData(List<String> xData) {
this.xData = xData;
}
@JsonProperty(value = "yData")
public List<Integer> getYData() {
return yData;
}
public void setYData(List<Integer> yData) {
this.yData = yData;
}
}
}