using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace JiShe.CollectBus.Common.Models
{
///
/// 缓存全局分页结果
///
///
public class BusCacheGlobalPagedResult
{
///
/// 数据集合
///
public List Items { get; set; }
///
/// 总条数
///
public long TotalCount { get; set; }
///
/// 每页条数
///
public int PageSize { get; set; }
///
/// 总页数
///
public int PageCount
{
get
{
return (int)Math.Ceiling((double)TotalCount / PageSize);
}
}
///
/// 是否有下一页
///
public bool HasNext { get; set; }
///
/// 下一页的分页索引
///
public decimal? NextScore { get; set; }
///
/// 下一页的分页索引
///
public string NextMember { get; set; }
}
}