From 4e63ad6c365d1c4a0acd7b690ff60721a718bb88 Mon Sep 17 00:00:00 2001 From: falcon <9504402@qq.com> Date: Thu, 30 Mar 2023 10:00:29 +0800 Subject: [PATCH] =?UTF-8?q?=E6=95=B0=E6=8D=AE=E5=BA=93=E5=AE=9A=E4=B9=89?= =?UTF-8?q?=E5=A2=9E=E5=8A=A0Paging=E7=B1=BB=EF=BC=8C=E8=AF=A5=E7=B1=BB?= =?UTF-8?q?=E6=8F=90=E4=BE=9B=E6=A0=87=E5=87=86=E5=88=86=E9=A1=B5=E5=8F=82?= =?UTF-8?q?=E6=95=B0=EF=BC=8Capi=E6=8E=A5=E5=8F=A3=E5=8F=82=E6=95=B0?= =?UTF-8?q?=E9=80=9A=E8=BF=87=E7=BB=A7=E6=89=BF=E8=AF=A5=E7=B1=BB=E5=AE=9E?= =?UTF-8?q?=E7=8E=B0=E6=95=B0=E6=8D=AE=E5=88=86=E9=A1=B5=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Falcon.SugarApi/DatabaseDefinitions/Paging.cs | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 Falcon.SugarApi/DatabaseDefinitions/Paging.cs diff --git a/Falcon.SugarApi/DatabaseDefinitions/Paging.cs b/Falcon.SugarApi/DatabaseDefinitions/Paging.cs new file mode 100644 index 0000000..daa2341 --- /dev/null +++ b/Falcon.SugarApi/DatabaseDefinitions/Paging.cs @@ -0,0 +1,17 @@ +namespace Falcon.SugarApi.DatabaseDefinitions +{ + /// + /// 对数据进行分页 + /// + public class Paging + { + /// + /// 每页大小 + /// + public int PageSize { get; set; } = 100; + /// + /// 第几页。页码从1开始 + /// + public int PageNo { get; set; } = 1; + } +}