using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BPA.KitChen.GroupMealOrder.Application.Service
{
public class PageInputDto
{
///
/// 当前页码
///
private int current;
public virtual int Current
{
get
{
return current;
}
set
{
current = value;
if (current <= 0)
{
current = 1;
}
}
}
//public int? Status { get; set; }
///
/// 页码容量
///
private int pagesize;
public virtual int PageSize
{
get
{
return pagesize;
}
set
{
pagesize = value;
if (pagesize <= 0)
{
pagesize = 20;
}
}
}
}
public class PageOutDto
{
///
/// Data
///
public object Data { get; set; }
///
/// Total
///
public int Total { get; set; }
}
}