kindergarten_java/reading-platform-frontend/src/api/generated/model/coursePackage.ts
En 673214481d feat: 课程包功能完善与代码优化
后端:
- 新增 YesNo 枚举类
- 新增 LessonStepCreateRequest、PackageGrantRequest 等 DTO
- 新增 ResourceItemCreateRequest、ResourceLibraryCreateRequest
- 新增 StatsService 统计服务实现
- 优化 AdminCourseController、AdminResourceController 等控制器
- 完善 TenantService 套餐授权功能

前端:
- 优化套餐详情页和列表页展示
- 更新自动生成的 API 类型定义

文档:
- 更新设计文档和开发日志

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-17 15:03:02 +08:00

52 lines
1.2 KiB
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/**
* 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
*/
/**
* 课程套餐实体
*/
export interface CoursePackage {
/** 主键 ID */
id?: number;
/** 创建人 */
createBy?: string;
/** 创建时间 */
createdAt?: string;
/** 更新人 */
updateBy?: string;
/** 更新时间 */
updatedAt?: string;
/** 套餐名称 */
name?: string;
/** 套餐描述 */
description?: string;
/** 价格(分) */
price?: number;
/** 折后价格(分) */
discountPrice?: number;
/** 折扣类型PERCENTAGE、FIXED */
discountType?: string;
/** 适用年级JSON 数组) */
gradeLevels?: string;
/** 课程数量 */
courseCount?: number;
/** 状态DRAFT、PENDING、APPROVED、REJECTED、PUBLISHED、OFFLINE */
status?: string;
/** 提交时间 */
submittedAt?: string;
/** 提交人 ID */
submittedBy?: number;
/** 审核时间 */
reviewedAt?: string;
/** 审核人 ID */
reviewedBy?: number;
/** 审核意见 */
reviewComment?: string;
/** 发布时间 */
publishedAt?: string;
}