using Newtonsoft.Json; using System.Collections.Generic; namespace Hncore.Infrastructure.Data { public interface IPageData { /// /// 总行数 /// int RowCount { get; set; } } /// /// 分页数据集合 /// public class PageData { public PageData() { List = new List(); } public PageData(int rowCount, List data) { this.RowCount = rowCount; this.List = data; } /// /// 总行数 /// public int RowCount { get; set; } /// /// 当前页数据集合 /// public List List { get; set; } } }