namespace OpenAuth.App.Request
{
public class PageReq
{
///
/// 页码
///
/// 1
public int page { get; set; }
///
/// 每页条数
///
/// 10
public int limit { get; set; }
public string key { get; set; }
///
/// 排序字段
///
/// sort=id,asc
public string sort { get; set; }
///
/// 自定义sql条件
///
public string sqlWhere { get; set; }
public PageReq()
{
page = 1;
limit = 10;
}
}
}