主要变更: 1. 所有 Entity/DTO/VO 添加 @Schema 注解,完善 API 文档 2. 新增前端 API 封装模块 (src/apis),包含 fetch.ts 和 apis.ts 3. 生成完整的 TypeScript 类型定义(100+ 个模型) 4. pom.xml 添加 Maven 编译配置和 UTF-8 编码支持 5. 更新 CLAUDE.md 开发文档,新增接口规范和 Swagger 注解规范 6. 清理旧的文档文件和 Flyway 迁移脚本 技术细节: - 后端:27 个实体类 + 所有 DTO/Response 添加 Swagger 注解 - 前端:新增 orval 生成的 API 客户端类型 - 构建:配置 Maven compiler plugin 和 Spring Boot 插件的 JVM 参数 - 数据库:新增 schema 导出文件,删除旧 Flyway 迁移脚本 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
47 lines
945 B
TypeScript
47 lines
945 B
TypeScript
/**
|
|
* Generated by orval v7.13.2 🍺
|
|
* 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 SchedulePlanResponse {
|
|
/** 课表 ID */
|
|
id?: string;
|
|
/** 课表名称 */
|
|
name?: string;
|
|
/** 班级 ID */
|
|
classId?: string;
|
|
/** 班级名称 */
|
|
className?: string;
|
|
/** 课程 ID */
|
|
courseId?: string;
|
|
/** 课程名称 */
|
|
courseName?: string;
|
|
/** 教师 ID */
|
|
teacherId?: string;
|
|
/** 教师姓名 */
|
|
teacherName?: string;
|
|
/** 星期几 (1-7) */
|
|
dayOfWeek?: number;
|
|
/** 节次 */
|
|
period?: number;
|
|
startTime?: LocalTime;
|
|
endTime?: LocalTime;
|
|
/** 开始日期 */
|
|
startDate?: string;
|
|
/** 结束日期 */
|
|
endDate?: string;
|
|
/** 地点 */
|
|
location?: string;
|
|
/** 备注 */
|
|
note?: string;
|
|
/** 状态 */
|
|
status?: string;
|
|
}
|