kindergarten_java/reading-platform-frontend/src/api/generated/model/lessonFeedback.ts
En 0d4275b235 feat: 完善 OpenAPI 注解和前端 API 客户端
主要变更:
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>
2026-03-10 23:51:02 +08:00

56 lines
1.1 KiB
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
*/
/**
* 课时反馈
*/
export interface LessonFeedback {
/** ID */
readonly id?: string;
/** 课时 ID */
lessonId?: string;
/** 教师 ID */
teacherId?: string;
/**
* 设计质量评分 (1-5)
* @minimum 1
* @maximum 5
*/
designQuality?: number;
/**
* 参与度评分 (1-5)
* @minimum 1
* @maximum 5
*/
participation?: number;
/**
* 目标达成度评分 (1-5)
* @minimum 1
* @maximum 5
*/
goalAchievement?: number;
/** 环节反馈 JSON */
stepFeedbacks?: string;
/** 优点 */
pros?: string;
/** 建议 */
suggestions?: string;
/** 完成的活动 JSON */
activitiesDone?: string;
/** 创建人用户名 */
readonly createdBy?: string;
/** 创建时间 */
readonly createdAt?: string;
/** 更新时间 */
readonly updatedAt?: string;
/** 更新人用户名 */
readonly updatedBy?: string;
/** 是否删除 */
readonly deleted?: number;
}