From e3e6db2d9974588f91ac1567a58fa4846655ce1b Mon Sep 17 00:00:00 2001
From: yearning <10538594+wangweifeng1999@user.noreply.gitee.com>
Date: 星期三, 30 九月 2026 12:54:55 +0800
Subject: [PATCH] 1.判断题优化;2.新增考评员是否能查看考生隐私开关

---
 backend/app/schemas.py |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/backend/app/schemas.py b/backend/app/schemas.py
index 9b116ad..8ec01f6 100644
--- a/backend/app/schemas.py
+++ b/backend/app/schemas.py
@@ -4,10 +4,12 @@
 class SystemSettingsOut(BaseModel):
     system_name: str
     logo_url: str | None = None
+    grader_can_see_privacy: bool = False
 
 
 class SystemSettingsUpdate(BaseModel):
     system_name: str = Field(min_length=1, max_length=128)
+    grader_can_see_privacy: bool = False
 
 
 class LoginRequest(BaseModel):
@@ -37,6 +39,7 @@
 
 class ScoreRow(BaseModel):
     examinee_id: str
+    student_no: str = ""
     name: str | None
     id_card: str | None
     subject_name: str
@@ -76,6 +79,7 @@
 
 class AttemptDetail(BaseModel):
     attempt_id: str
+    student_no: str = ""
     examinee_name: str | None
     id_card: str | None
     score: float

--
Gitblit v1.8.0