package tech.easyflow.datacenter.integration;

import com.mybatisflex.core.row.Row;
import tech.easyflow.datacenter.entity.DatacenterTable;
import tech.easyflow.datacenter.meta.entity.DatacenterCatalog;
import tech.easyflow.datacenter.meta.entity.DatacenterDatasetVersion;
import tech.easyflow.datacenter.meta.entity.DatacenterSource;

import java.util.ArrayList;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;

public class AssistantDatacenterResult {
    private List<Row> rows = new ArrayList<>();
    private DatacenterSource source;
    private DatacenterCatalog catalog;
    private DatacenterTable table;
    private DatacenterDatasetVersion version;
    private Map<String, Object> querySummary = new LinkedHashMap<>();

    public List<Row> getRows() { return rows; }
    public void setRows(List<Row> rows) { this.rows = rows; }
    public DatacenterSource getSource() { return source; }
    public void setSource(DatacenterSource source) { this.source = source; }
    public DatacenterCatalog getCatalog() { return catalog; }
    public void setCatalog(DatacenterCatalog catalog) { this.catalog = catalog; }
    public DatacenterTable getTable() { return table; }
    public void setTable(DatacenterTable table) { this.table = table; }
    public DatacenterDatasetVersion getVersion() { return version; }
    public void setVersion(DatacenterDatasetVersion version) { this.version = version; }
    public Map<String, Object> getQuerySummary() { return querySummary; }
    public void setQuerySummary(Map<String, Object> querySummary) { this.querySummary = querySummary; }
}
