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.
|
- 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
- {
- /// <summary>
- /// 当前页码
- /// </summary>
- private int current;
- public virtual int Current
- {
- get
- {
- return current;
- }
- set
- {
-
- current = value;
- if (current <= 0)
- {
- current = 1;
- }
- }
- }
- //public int? Status { get; set; }
- /// <summary>
- /// 页码容量
- /// </summary>
-
- private int pagesize;
- public virtual int PageSize
- {
- get
- {
- return pagesize;
- }
- set
- {
-
- pagesize = value;
- if (pagesize <= 0)
- {
- pagesize = 20;
- }
- }
- }
- }
-
- public class PageOutDto
- {
- /// <summary>
- /// Data
- /// </summary>
-
- public object Data { get; set; }
- /// <summary>
- /// Total
- /// </summary>
-
- public int Total { get; set; }
- }
- }
|