From f99c1becb0bbde82796e15d27e11ac4965c56468 Mon Sep 17 00:00:00 2001 From: qwj <qwjzorro@163.com> Date: 星期一, 28 八月 2023 09:28:39 +0800 Subject: [PATCH] Merge branch 'master' of http://47.108.235.38:8080/r/DocumentService --- DocumentServiceAPI.Utility/PageBaseSearch.cs | 40 +++++++++++++++++++++++++++------------- 1 files changed, 27 insertions(+), 13 deletions(-) diff --git a/DocumentServiceAPI.Utility/PageBaseSearch.cs b/DocumentServiceAPI.Utility/PageBaseSearch.cs index 120752f..031808b 100644 --- a/DocumentServiceAPI.Utility/PageBaseSearch.cs +++ b/DocumentServiceAPI.Utility/PageBaseSearch.cs @@ -1,15 +1,9 @@ -锘縰sing System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace DocumentServiceAPI.Utility +锘縩amespace DocumentServiceAPI.Utility { /// <summary> /// 鍒嗛〉鏌ヨ鏉′欢鍩虹被 /// </summary> - public abstract class PageBaseSearch + public abstract class PageBaseSearch: BaseSearch { /// <summary> /// 椤电爜 @@ -20,6 +14,27 @@ /// 鍒嗛〉澶у皬 /// </summary> public int PageSize { get; set; } = 20; + + } + + public abstract class BaseSearch + { + public int ID { get; set; } + + /// <summary> + /// 鍏徃ID + /// </summary> + public int CompanyID { get; set; } + + /// <summary> + /// 绉熸埛ID + /// </summary> + public int TenantID { get; set; } + + /// <summary> + /// 鐢ㄦ埛ID + /// </summary> + public int UserID { get; set; } /// <summary> /// 寮�濮嬫棩鏈� @@ -49,11 +64,6 @@ public int PageSize { get; set; } /// <summary> - /// 椤垫�绘暟 - /// </summary> - public int TotalPage { get; set; } - - /// <summary> /// 璁板綍鎬绘暟 /// </summary> public int TotalCount { get; set; } @@ -62,6 +72,10 @@ /// 璁板綍闆嗗悎 /// </summary> public List<T> Items { get; set; } = new(); + /// <summary> + /// 鎬婚〉鏁� + /// </summary> + public int TotalPage { get; set; } } } -- Gitblit v1.9.1