You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.
namespace DS.Module.Core ;
/// <summary>
/// 分页查询条件信息
/// </summary>
public class PageCondition
{
/// <summary>
/// 初始化一个 默认参数( 第1页, 每页20, 排序条件为空) 的分页查询条件信息类 的新实例
/// </summary>
public PageCondition ( )
: this ( 1 , 20 )
{
}
/// <summary>
/// 初始化一个 指定页索引与页大小的分页查询条件信息类 的新实例
/// </summary>
/// <param name="pageIndex"> 页索引 </param>
/// <param name="pageSize"> 页大小 </param>
public PageCondition ( int pageIndex , int pageSize )
{
PageIndex = pageIndex ;
PageSize = pageSize ;
SortConditions = new SortCondition [ ] { } ;
}
/// <summary>
/// 获取或设置 页索引
/// </summary>
public int PageIndex { get ; set ; }
/// <summary>
/// 获取或设置 页大小
/// </summary>
public int PageSize { get ; set ; }
/// <summary>
/// 获取或设置 排序条件组
/// </summary>
public SortCondition [ ] SortConditions { get ; set ; }
}