后端: - 新增 YesNo 枚举类 - 新增 LessonStepCreateRequest、PackageGrantRequest 等 DTO - 新增 ResourceItemCreateRequest、ResourceLibraryCreateRequest - 新增 StatsService 统计服务实现 - 优化 AdminCourseController、AdminResourceController 等控制器 - 完善 TenantService 套餐授权功能 前端: - 优化套餐详情页和列表页展示 - 更新自动生成的 API 类型定义 文档: - 更新设计文档和开发日志 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
52 lines
1.2 KiB
TypeScript
52 lines
1.2 KiB
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
|
||
*/
|
||
|
||
/**
|
||
* 课程套餐实体
|
||
*/
|
||
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;
|
||
}
|