using System.Collections.Generic;
namespace JsonSelector.Models
{
public class QueryRequest
{
public Dictionary<string, string> Select { get; set; } = new();
public Dictionary<string, object> Where { get; set; } = new();
public string OutputFormat { get; set; } = "json";
public int? Limit { get; set; }
}
public class QueryResponse
{
public List<string> Columns { get; set; } = new();
public List<List<object>> Rows { get; set; } = new();
public int RowCount { get; set; }
public string Format { get; set; } = "json";
}
}