summaryrefslogtreecommitdiff
path: root/ATRI/plugins/anti_effort/models.py
diff options
context:
space:
mode:
authorKyomotoi <[email protected]>2022-07-22 19:44:04 +0800
committerKyomotoi <[email protected]>2022-07-22 19:44:04 +0800
commit3f4194c94a51449ac45e3ad47b6e34857ea400df (patch)
tree0e20620b9f8c48a717faba6062accd4a831ab1ea /ATRI/plugins/anti_effort/models.py
parentd592237df00fb5516cd281940a4dc3a9620fb556 (diff)
downloadATRI-3f4194c94a51449ac45e3ad47b6e34857ea400df.tar.gz
ATRI-3f4194c94a51449ac45e3ad47b6e34857ea400df.tar.bz2
ATRI-3f4194c94a51449ac45e3ad47b6e34857ea400df.zip
✨🎨 完善插件, 优化代码
Diffstat (limited to 'ATRI/plugins/anti_effort/models.py')
-rw-r--r--ATRI/plugins/anti_effort/models.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/ATRI/plugins/anti_effort/models.py b/ATRI/plugins/anti_effort/models.py
index aca8fa4..9a62314 100644
--- a/ATRI/plugins/anti_effort/models.py
+++ b/ATRI/plugins/anti_effort/models.py
@@ -1,6 +1,11 @@
from pydantic import BaseModel
+class AntiEffortModel(BaseModel):
+ update_time: str
+ data: list
+
+
class AntiEffortUserModel(BaseModel):
user_id: int
user_nickname: str