using System.Collections.Generic;

namespace JiaZhiQuan.Common.ElasticSearch.Models
{
    public class ESResponseData<T>
    {
        public bool success = false;
        public string errorMsg;
        public int total = 0;
        public List<T> data;
    }
    public class ESResponseAggregations
    {
        public bool success = false;
        public string errorMsg;
        public Dictionary<string,int> data;
    }
}
