DataStruct.cs 938 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. namespace SiteCore
  2. {
  3. public class DataStruct
  4. {
  5. public string Type;
  6. public int CurrentPage;
  7. public int PageSize;
  8. public string DetailKeys;
  9. public string EditUrl;
  10. /// <summary>
  11. /// 排序(ID desc)
  12. /// </summary>
  13. public string Order;
  14. public string MainWhere;
  15. public string SecondWhere;
  16. public int TotalCount;
  17. public int TotalPage;
  18. public int HasOperate;
  19. public string PrimaryKeys;
  20. public string EmptyMessage;
  21. public string Fileds;
  22. public bool isExport;
  23. public DataStruct()
  24. {
  25. PageSize = 20;
  26. CurrentPage = 0;
  27. MainWhere = "";
  28. SecondWhere = "";
  29. Order = "";
  30. PrimaryKeys = "ID";
  31. EmptyMessage = "当前没有记录";
  32. Fileds = "*";
  33. isExport = false;
  34. }
  35. }
  36. }