diff --git a/src/main/java/com/vo/EchartsData.java b/src/main/java/com/vo/EchartsData.java new file mode 100644 index 0000000..8b77976 --- /dev/null +++ b/src/main/java/com/vo/EchartsData.java @@ -0,0 +1,141 @@ +package com.example.vo; + +import java.io.Serializable; +import java.util.List; +import java.util.Map; + +public class EchartsData implements Serializable { + + private Map title; + private Map legend; + private Map tooltip; + private Map xAxis; + private Object yAxis; + private List series; + + public Map getTitle() { + return title; + } + + public void setTitle(Map title) { + this.title = title; + } + + public Map getLegend() { + return legend; + } + + public void setLegend(Map legend) { + this.legend = legend; + } + + public Map getxAxis() { + return xAxis; + } + + public void setxAxis(Map xAxis) { + this.xAxis = xAxis; + } + + public Object getyAxis() { + return yAxis; + } + + public void setyAxis(Object yAxis) { + this.yAxis = yAxis; + } + + public List getSeries() { + return series; + } + + public void setSeries(List series) { + this.series = series; + } + public Map getTooltip() { + return tooltip; + } + + public void setTooltip(Map tooltip) { + this.tooltip = tooltip; + } + + + public static class Data { + private String orient; + private Integer top; + private String x; + private List data; + + public String getOrient() { + return orient; + } + + public void setOrient(String orient) { + this.orient = orient; + } + + public Integer getTop() { + return top; + } + + public void setTop(Integer top) { + this.top = top; + } + + public String getX() { + return x; + } + + public void setX(String x) { + this.x = x; + } + + public List getData() { + return data; + } + + public void setData(List data) { + this.data = data; + } + } + + public static class Series { + private String name; + private String type; + private String radius; + private List data; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + public String getType() { + return type; + } + + public void setType(String type) { + this.type = type; + } + + public String getRadius() { + return radius; + } + + public void setRadius(String radius) { + this.radius = radius; + } + + public List getData() { + return data; + } + + public void setData(List data) { + this.data = data; + } + } +}