using System; using System.Collections.Generic; namespace YBEE.EQM.Core { /// /// 分页数据结果 /// /// public class PageResult { /// /// 当前页值 /// public int PageIndex { get; set; } /// /// 每页大小 /// public int PageSize { get; set; } /// /// 数据总数 /// public int TotalCount { get; set; } /// /// 总页数 /// public int TotalPage => (int)Math.Ceiling(TotalCount / (double)PageSize); /// /// 数据行 /// public ICollection Items { get; set; } } }