ESResponseData.cs 431 B

123456789101112131415161718
  1. using System.Collections.Generic;
  2. namespace JiaZhiQuan.Common.ElasticSearch.Models
  3. {
  4. public class ESResponseData<T>
  5. {
  6. public bool success = false;
  7. public string errorMsg;
  8. public int total = 0;
  9. public List<T> data;
  10. }
  11. public class ESResponseAggregations
  12. {
  13. public bool success = false;
  14. public string errorMsg;
  15. public Dictionary<string,int> data;
  16. }
  17. }