27 lines
601 B
C#
27 lines
601 B
C#
|
using System;
|
|||
|
using System.Collections.Generic;
|
|||
|
using System.Linq;
|
|||
|
using System.Text;
|
|||
|
using System.Threading.Tasks;
|
|||
|
|
|||
|
namespace Syc.Abp.Application.Contracts.Model
|
|||
|
{
|
|||
|
public class PagedDefaultInput
|
|||
|
{
|
|||
|
/// <summary>
|
|||
|
/// 页容量
|
|||
|
/// </summary>
|
|||
|
public virtual int PageSize { get; set; } = 10;
|
|||
|
|
|||
|
/// <summary>
|
|||
|
/// 页码
|
|||
|
/// </summary>
|
|||
|
public virtual int Page { get; set; } = 1;
|
|||
|
|
|||
|
/// <summary>
|
|||
|
/// 跳过条目数
|
|||
|
/// </summary>
|
|||
|
public virtual int SkipCount { get => (Page - 1) * PageSize; }
|
|||
|
}
|
|||
|
}
|