JsonQueryParameter.cs 460 B

1234567891011121314151617
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Text;
  4. namespace SqlSugar
  5. {
  6. internal class JsonQueryParameter
  7. {
  8. public bool IsSelect { get; set; }
  9. public bool IsJoin { get; set; }
  10. public int? PageIndex { get; set; }
  11. public int? PageSize { get; set; } = 20;
  12. public bool JoinNoSelect { get { return IsJoin && !IsSelect; } }
  13. public bool IsPage { get { return PageIndex != null; } }
  14. }
  15. }