|
|
@@ -4,7 +4,7 @@ import com.model.bo.Column;
|
|
|
|
|
|
import java.util.List;
|
|
|
|
|
|
-public class ChartConfigInfo<T> {
|
|
|
+public class ChartConfigInfo {
|
|
|
private int chartId;
|
|
|
private String chartName;
|
|
|
private String tableName;
|
|
|
@@ -13,15 +13,12 @@ public class ChartConfigInfo<T> {
|
|
|
// private int dashboardsId; //看板id
|
|
|
private List<Column> groupBy; //分组
|
|
|
private List<Column> subsections; //分段
|
|
|
- private T chartConfig;
|
|
|
+ private String chartConfig;
|
|
|
private String createBy;
|
|
|
private List<String> accessAuthority; //访问权限
|
|
|
private List<String> updateAuthority; //修改权限
|
|
|
private String describes; //描述
|
|
|
- private int isLegend; //图例
|
|
|
- private int isTooltip; //提示框
|
|
|
- private int isDatazoom; //缩放
|
|
|
- private int isToolbox; //工具箱
|
|
|
+ private String style; //样式
|
|
|
private List<Column> filters; //筛选
|
|
|
|
|
|
public int getChartId() {
|
|
|
@@ -40,6 +37,14 @@ public class ChartConfigInfo<T> {
|
|
|
this.chartName = chartName;
|
|
|
}
|
|
|
|
|
|
+ public String getTableName() {
|
|
|
+ return tableName;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setTableName(String tableName) {
|
|
|
+ this.tableName = tableName;
|
|
|
+ }
|
|
|
+
|
|
|
public String getChartType() {
|
|
|
return chartType;
|
|
|
}
|
|
|
@@ -56,7 +61,6 @@ public class ChartConfigInfo<T> {
|
|
|
this.dataId = dataId;
|
|
|
}
|
|
|
|
|
|
-
|
|
|
public List<Column> getGroupBy() {
|
|
|
return groupBy;
|
|
|
}
|
|
|
@@ -73,11 +77,11 @@ public class ChartConfigInfo<T> {
|
|
|
this.subsections = subsections;
|
|
|
}
|
|
|
|
|
|
- public T getChartConfig() {
|
|
|
+ public String getChartConfig() {
|
|
|
return chartConfig;
|
|
|
}
|
|
|
|
|
|
- public void setChartConfig(T chartConfig) {
|
|
|
+ public void setChartConfig(String chartConfig) {
|
|
|
this.chartConfig = chartConfig;
|
|
|
}
|
|
|
|
|
|
@@ -113,36 +117,12 @@ public class ChartConfigInfo<T> {
|
|
|
this.describes = describes;
|
|
|
}
|
|
|
|
|
|
- public int getIsLegend() {
|
|
|
- return isLegend;
|
|
|
- }
|
|
|
-
|
|
|
- public void setIsLegend(int isLegend) {
|
|
|
- this.isLegend = isLegend;
|
|
|
- }
|
|
|
-
|
|
|
- public int getIsTooltip() {
|
|
|
- return isTooltip;
|
|
|
- }
|
|
|
-
|
|
|
- public void setIsTooltip(int isTooltip) {
|
|
|
- this.isTooltip = isTooltip;
|
|
|
+ public String getStyle() {
|
|
|
+ return style;
|
|
|
}
|
|
|
|
|
|
- public int getIsDatazoom() {
|
|
|
- return isDatazoom;
|
|
|
- }
|
|
|
-
|
|
|
- public void setIsDatazoom(int isDatazoom) {
|
|
|
- this.isDatazoom = isDatazoom;
|
|
|
- }
|
|
|
-
|
|
|
- public int getIsToolbox() {
|
|
|
- return isToolbox;
|
|
|
- }
|
|
|
-
|
|
|
- public void setIsToolbox(int isToolbox) {
|
|
|
- this.isToolbox = isToolbox;
|
|
|
+ public void setStyle(String style) {
|
|
|
+ this.style = style;
|
|
|
}
|
|
|
|
|
|
public List<Column> getFilters() {
|
|
|
@@ -153,14 +133,6 @@ public class ChartConfigInfo<T> {
|
|
|
this.filters = filters;
|
|
|
}
|
|
|
|
|
|
- public String getTableName() {
|
|
|
- return tableName;
|
|
|
- }
|
|
|
-
|
|
|
- public void setTableName(String tableName) {
|
|
|
- this.tableName = tableName;
|
|
|
- }
|
|
|
-
|
|
|
@Override
|
|
|
public String toString() {
|
|
|
return "ChartConfigInfo{" +
|
|
|
@@ -171,15 +143,12 @@ public class ChartConfigInfo<T> {
|
|
|
", dataId=" + dataId +
|
|
|
", groupBy=" + groupBy +
|
|
|
", subsections=" + subsections +
|
|
|
- ", chartConfig=" + chartConfig +
|
|
|
+ ", chartConfig='" + chartConfig + '\'' +
|
|
|
", createBy='" + createBy + '\'' +
|
|
|
", accessAuthority=" + accessAuthority +
|
|
|
", updateAuthority=" + updateAuthority +
|
|
|
", describes='" + describes + '\'' +
|
|
|
- ", isLegend=" + isLegend +
|
|
|
- ", isTooltip=" + isTooltip +
|
|
|
- ", isDatazoom=" + isDatazoom +
|
|
|
- ", isToolbox=" + isToolbox +
|
|
|
+ ", style=" + style +
|
|
|
", filters=" + filters +
|
|
|
'}';
|
|
|
}
|