namespace QYZH.InteractiveMagazine.Models.Dto;
///
/// 分页输出
///
/// 数据类型
public class PageListModel
{
///
/// 页码
///
public int PageIndex { get; set; }
///
/// 每页条数
///
public int PageSize { get; set; }
///
/// 总记录数
///
public long TotalCount { get; set; }
///
/// 总页数
///
public int TotalPages => PageSize > 0 ? (int)Math.Ceiling((double)TotalCount / PageSize) : 0;
///
/// 数据列表
///
public List? List { get; set; }
}