更新:models/routes/services/templates/docs

This commit is contained in:
hmo
2026-04-26 18:02:36 +08:00
parent f7a82ac48a
commit 6abdd49c04
31 changed files with 1480 additions and 676 deletions
+2 -8
View File
@@ -89,6 +89,7 @@
|------|------|------|
| id | Integer | 主键,自增 |
| name | String(100) | 班级名称,必填 |
| level | String(20) | 班级级别:启蒙/入门/进阶/熟练/精通 |
| description | Text | 班级描述,可选 |
| created_at | DateTime | 创建时间 |
@@ -120,14 +121,6 @@
"focus": {"basic": 15, "tech": 10, "piece": 20}
}
],
"daily_schedule": [
{
"phase": "热身",
"duration": "3分钟",
"content": "手部放松操 + 呼吸调节",
"purpose": "放松肌肉,进入状态"
}
],
"ai_report": "## 个性化练习方案报告\n\n..."
}
```
@@ -332,6 +325,7 @@ SELECT * FROM users;
| id | Integer | 主键 |
| student_id | Integer | 学员ID,外键 |
| goal_id | Integer | 目标ID,外键 |
| goal_content | Text | 目标内容副本(冗余存储,避免目标被删除后丢失) |
| start_date | DateTime | 开始日期 |
| assessment_date | DateTime | 评估日期 |
| mastery_level | Integer | 掌握程度 1-5(评估时填写) |