From c1768114de381e37e272e9faf7db8e95a93ff381 Mon Sep 17 00:00:00 2001
From: zhaoqingang <zhaoqg0118@163.com>
Date: 星期一, 11 十一月 2024 16:37:12 +0800
Subject: [PATCH] role group user..

---
 app/models/user.py |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/app/models/user.py b/app/models/user.py
index 3335170..45874f7 100644
--- a/app/models/user.py
+++ b/app/models/user.py
@@ -1,3 +1,5 @@
+from typing import Optional
+
 from pydantic import BaseModel
 
 
@@ -21,3 +23,8 @@
     token_type: str
     bisheng_token: str
     ragflow_token: str
+
+class PageParameter(BaseModel):
+    page_index: int
+    page_size: int
+    keyword: Optional[str] = ""
\ No newline at end of file

--
Gitblit v1.8.0