From b8a48833210e114f9677fb702966b5add54f74be Mon Sep 17 00:00:00 2001 From: 0919word <835535015@qq.com> Date: Mon, 21 Sep 2026 17:12:57 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E8=92=8B=E7=AB=8B=E5=BB=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- PythonProject/schema/cla_schema.py | 9 --------- 1 file changed, 9 deletions(-) diff --git a/PythonProject/schema/cla_schema.py b/PythonProject/schema/cla_schema.py index 5d64fcb..dc338e7 100644 --- a/PythonProject/schema/cla_schema.py +++ b/PythonProject/schema/cla_schema.py @@ -1,6 +1,5 @@ from datetime import date from pydantic import BaseModel -from sqlalchemy import DATETIME class claRequest(BaseModel): @@ -12,14 +11,6 @@ class claRequest(BaseModel): class_teacher_id : int|None = None - Entry_date : DATETIME - - update_date : DATETIME - - delete_status : int|None = None - - delete_time : DATETIME - class claResponse(BaseModel): code:int = 200 From e146ed53d5c09c0b6b1dc1acd28e9d75d5e4a0b4 Mon Sep 17 00:00:00 2001 From: 0919word <835535015@qq.com> Date: Mon, 21 Sep 2026 17:14:36 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E8=92=8B=E7=AB=8B=E5=BB=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- PythonProject/schema/cla_schema.py | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/PythonProject/schema/cla_schema.py b/PythonProject/schema/cla_schema.py index dc338e7..dad7082 100644 --- a/PythonProject/schema/cla_schema.py +++ b/PythonProject/schema/cla_schema.py @@ -13,13 +13,14 @@ class claRequest(BaseModel): class claResponse(BaseModel): - code:int = 200 + code: int = 200 - detail:str = 'ok' + detail: str = 'ok' - class_name = str + class_name: str | None = None - head_teacher_id = int + head_teacher_id: int | None = None + + class_teacher_id: int | None = None - class_teacher_id = int