PageReq.cs
629 Bytes
namespace Hh.Mes.Common.Request
{
public class PageReq
{
public int page { get; set; }
private int _limit = 0;
public int limit
{
get
{
if (_limit <= 0)
{
return 50;
}
else { return _limit; }
}
set
{
_limit = value;
}
}
public string field { get; set; }
public string order { get; set; }
public PageReq()
{
page = 1;
limit = 50;
}
}
}