using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace WIDESEA_Core { // 定义一个泛型类PageGridData,用于存储分页数据 public class PageGridData { // 总记录数 public int Total { get; set; } // 数据列表 public List Rows { get; set; } // 汇总数据 public object Summary { get; set; } // 无参构造函数 public PageGridData() { } // 带参构造函数,初始化总记录数和数据列表 public PageGridData(int total, List rows) { Total = total; Rows = rows; } } }