SqlSugar/Src/Asp.Net/SqlSugar/Json2Sql/JsonModels/JsonQueryParameter.cs
2022-06-20 13:26:42 +08:00

18 lines
460 B
C#

using System;
using System.Collections.Generic;
using System.Text;
namespace SqlSugar
{
internal class JsonQueryParameter
{
public bool IsSelect { get; set; }
public bool IsJoin { get; set; }
public int? PageIndex { get; set; }
public int? PageSize { get; set; } = 20;
public bool JoinNoSelect { get { return IsJoin && !IsSelect; } }
public bool IsPage { get { return PageIndex != null; } }
}
}