Zxd.Core/code/ResourceFlowWorker/Dto/LivePageDto.cs

36 lines
840 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ResourceFlowWorker.Dto
{
internal class LivePageDto<TTableData>
{
/// <summary>
/// 当前页码
/// </summary>
[JsonPropertyName("currentPage")]
public int? CurrentPage { get; set; }
/// <summary>
/// 每页记录数
/// </summary>
[JsonPropertyName("pageSize")]
public int? PageSize { get; set; }
/// <summary>
/// 列表数据
/// </summary>
[JsonPropertyName("tableData")]
public List<TTableData> TableData { get; set; }
/// <summary>
/// 总记录数
/// </summary>
[JsonPropertyName("total")]
public long Total { get; set; }
}
}