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; + } +}