using System.Collections.Generic; namespace Magic.Core; /// /// 分页泛型集合 /// /// public class SqlSugarPagedList { /// /// 页码 /// public int PageIndex { get; set; } /// /// 页容量 /// public int PageSize { get; set; } /// /// 总条数 /// public int TotalCount { get; set; } /// /// 总页数 /// public int TotalPages { get; set; } /// /// 当前页集合 /// public IEnumerable Items { get; set; } /// /// 是否有上一页 /// public bool HasPrevPages { get; set; } /// /// 是否有下一页 /// public bool HasNextPages { get; set; } } /// /// 分页集合 /// public class PagedModel : SqlSugarPagedList { }