package com.ruoyi.generator.domain.front.dto.block;

import java.util.List;

public class ChartQueryRenderModel
{
    private String tableName;
    private String dimensionSql;
    private String metricSelectSql;
    private String whereSql;
    private String groupBySql;
    private String orderBySql;
    private Integer limit;
    private List<ChartQueryParameter> parameters;
    private List<ChartMetricConfig> metrics;
    private ChartDateRangeConfig dateRange;
    private boolean metricOnly;

    public String getTableName() { return tableName; }
    public void setTableName(String tableName) { this.tableName = tableName; }
    public String getDimensionSql() { return dimensionSql; }
    public void setDimensionSql(String dimensionSql) { this.dimensionSql = dimensionSql; }
    public String getMetricSelectSql() { return metricSelectSql; }
    public void setMetricSelectSql(String metricSelectSql) { this.metricSelectSql = metricSelectSql; }
    public String getWhereSql() { return whereSql; }
    public void setWhereSql(String whereSql) { this.whereSql = whereSql; }
    public String getGroupBySql() { return groupBySql; }
    public void setGroupBySql(String groupBySql) { this.groupBySql = groupBySql; }
    public String getOrderBySql() { return orderBySql; }
    public void setOrderBySql(String orderBySql) { this.orderBySql = orderBySql; }
    public Integer getLimit() { return limit; }
    public void setLimit(Integer limit) { this.limit = limit; }
    public List<ChartQueryParameter> getParameters() { return parameters; }
    public void setParameters(List<ChartQueryParameter> parameters) { this.parameters = parameters; }
    public List<ChartMetricConfig> getMetrics() { return metrics; }
    public void setMetrics(List<ChartMetricConfig> metrics) { this.metrics = metrics; }
    public ChartDateRangeConfig getDateRange() { return dateRange; }
    public void setDateRange(ChartDateRangeConfig dateRange) { this.dateRange = dateRange; }
    public boolean isMetricOnly() { return metricOnly; }
    public void setMetricOnly(boolean metricOnly) { this.metricOnly = metricOnly; }
}
