You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

43 lines
945 B
C#

9 months ago
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ZKLT.Hadoop.Model
{
/// <summary>
/// 分页数据
/// </summary>
public class HDP_Page<T>
{
private int _PageIndex;
private int _PageSize;
private int _Total;
private T?[]? _Data;
/// <summary>
/// 分页下标
/// </summary>
public int PageIndex { get => _PageIndex; set => _PageIndex = value; }
/// <summary>
/// 分页大小
/// </summary>
public int PageSize { get => _PageSize; set => _PageSize = value; }
/// <summary>
/// 总条数
/// </summary>
public int Total { get => _Total; set => _Total = value; }
/// <summary>
/// 数据
/// </summary>
public T?[]? Data { get => _Data; set => _Data = value; }
}
}