Quanxue.Zhanghao.Daochu/LearningOfficer.OA.Common/Response/PageResponse.cs

26 lines
549 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace LearningOfficer.OA.Common.Response
{
/// <summary>
/// 分页响应实体类
/// </summary>
/// <typeparam name="T"></typeparam>
public class PageResponse<T>
{
/// <summary>
/// 总记录条数
/// </summary>
public int Total { get; set; }
/// <summary>
/// 响应数据
/// </summary>
public List<T> Items { get; set; }
}
}