教师端数据看板: - 新增 TeacherDashboardResponse/TeacherLessonVO/TeacherLessonTrendVO - 新增 TeacherWeeklyStatsResponse 周统计响应 - 新增 TeacherActivityLevel 枚举和 TeacherActivityRankResponse 活跃度排行 - 实现教师端课程统计、任务完成详情、任务反馈接口 学校端课程统计: - 新增 CourseUsageVO/CourseUsageStatsVO/CoursePackageVO - 新增 SchoolCourseResponse 和学校端课程使用查询接口 - 实现学校端统计数据和课程趋势接口 用户资料功能: - 新增 UpdateProfileRequest/UpdateProfileResponse - 实现用户资料更新接口 前后端对齐: - 更新 OpenAPI 规范和前端 API 类型生成 - 优化 DashboardView 组件和 API 调用 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
45 lines
893 B
TypeScript
45 lines
893 B
TypeScript
/**
|
|
* Generated by orval v8.5.3 🍺
|
|
* Do not edit manually.
|
|
* Reading Platform API
|
|
* Reading Platform Backend Service API Documentation
|
|
* OpenAPI spec version: 1.0.0
|
|
*/
|
|
import type { LocalTime } from './localTime';
|
|
|
|
/**
|
|
* 教师课程视图对象
|
|
*/
|
|
export interface TeacherLessonVO {
|
|
/** ID */
|
|
id?: number;
|
|
/** 租户 ID */
|
|
tenantId?: number;
|
|
/** 课程 ID */
|
|
courseId?: number;
|
|
/** 班级 ID */
|
|
classId?: number;
|
|
/** 课程名称 */
|
|
courseName?: string;
|
|
/** 班级名称 */
|
|
className?: string;
|
|
/** 教师 ID */
|
|
teacherId?: number;
|
|
/** 标题 */
|
|
title?: string;
|
|
/** 课时日期 */
|
|
lessonDate?: string;
|
|
startTime?: LocalTime;
|
|
endTime?: LocalTime;
|
|
/** 地点 */
|
|
location?: string;
|
|
/** 状态 */
|
|
status?: string;
|
|
/** 备注 */
|
|
notes?: string;
|
|
/** 创建时间 */
|
|
createdAt?: string;
|
|
/** 更新时间 */
|
|
updatedAt?: string;
|
|
}
|