2025-04-15 15:49:51 +08:00
|
|
|
|
using System;
|
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
using System.Linq;
|
|
|
|
|
|
using System.Text;
|
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
2025-04-15 16:05:07 +08:00
|
|
|
|
namespace JiShe.CollectBus.Common.Models
|
2025-04-15 15:49:51 +08:00
|
|
|
|
{
|
2025-04-15 16:48:35 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 缓存全局分页结果
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
/// <typeparam name="T"></typeparam>
|
|
|
|
|
|
public class BusCacheGlobalPagedResult<T>
|
2025-04-15 15:49:51 +08:00
|
|
|
|
{
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 数据集合
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public List<T> Items { get; set; }
|
|
|
|
|
|
|
2025-04-15 23:20:46 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 总条数
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public long TotalCount { get; set; }
|
|
|
|
|
|
|
2025-04-15 15:49:51 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 是否有下一页
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public bool HasNext { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 下一页的分页索引
|
|
|
|
|
|
/// </summary>
|
2025-04-15 23:20:46 +08:00
|
|
|
|
public decimal? NextScore { get; set; }
|
2025-04-15 15:49:51 +08:00
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 下一页的分页索引
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public string NextMember { get; set; }
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|