using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace DocumentServiceAPI.Utility { /// /// 分页查询条件基类 /// public abstract class PageBaseSearch { /// /// 页码 /// public int PageIndex { get; set; } = 1; /// /// 分页大小 /// public int PageSize { get; set; } = 20; /// /// 开始日期 /// public DateTime? StartTime { get; set; } /// /// 结束日期 /// public DateTime? EndTime { get; set; } } /// /// 分页数据信息 /// /// public class PageResult { /// /// 页码 /// public int PageIndex { get; set; } /// /// 分页大小 /// public int PageSize { get; set; } /// /// 页总数 /// public int TotalPage { get; set; } /// /// 记录总数 /// public int TotalCount { get; set; } /// /// 记录集合 /// public List Items { get; set; } = new(); } }