/** * 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 { LessonTagResponse } from './lessonTagResponse'; /** * 学校端课程响应 */ export interface SchoolCourseResponse { /** ID */ id?: number; /** 租户 ID */ tenantId?: number; /** 课程名称 */ name?: string; /** 课程编码 */ code?: string; /** 描述 */ description?: string; /** 绘本名称 */ pictureBookName?: string; /** 封面图片路径 */ coverImagePath?: string; /** 封面 URL */ coverUrl?: string; /** 年级标签(规范为数组) */ gradeTags?: string[]; /** 领域标签(规范为数组) */ domainTags?: string[]; /** 课程时长(分钟) */ duration?: number; /** 使用次数 */ usageCount?: number; /** 教师数量 */ teacherCount?: number; /** 平均评分 */ avgRating?: number; /** 状态 */ status?: string; /** 创建时间 */ createdAt?: string; /** 更新时间 */ updatedAt?: string; /** 课程环节标签(列表展示用,仅 name 和 lessonType) */ lessonTags?: LessonTagResponse[]; }