You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
Tiobon.Web.Core/Tiobon.Core.Model/PaginationModel.cs

27 lines
731 B

namespace Tiobon.Core.Model
{
/// <summary>
/// 所需分页参数
/// 作者:胡丁文
/// 时间:2020-4-3 20:31:26
/// </summary>
public class PaginationModel
{
/// <summary>
/// 当前页
/// </summary>
public int PageIndex { get; set; } = 1;
/// <summary>
/// 每页大小
/// </summary>
public int PageSize { get; set; } = 10;
/// <summary>
/// 排序字段(例如:id desc,time asc)
/// </summary>
public string OrderByFileds { get; set; }
/// <summary>
/// 查询条件( 例如:id = 1 and name = 小明)
/// </summary>
public string Conditions { get; set; }
}
}