kindergarten_java/reading-platform-frontend/src/api/generated/model/tenantCreateRequest.ts
zhonghua 5cb903d7ed feat: 家长端任务、教师端统计、数据库迁移等
- 家长端阅读任务:从 task_target 获取任务(学生+班级),支持家长关联孩子查看
- 家长端提交任务:修复照片上传,使用 uploadFile(file, poster) 符合 API 规范
- 教师端任务列表:TaskResponse 新增 targetCount、completionCount,填充目标人数与完成人数
- 数据库迁移:V45 添加 task_completion.photos,V46 添加 submitted_at、reviewed_at
- 其他:班级学生、家长孩子、学校班级统计等修复

Made-with: Cursor
2026-03-20 18:43:47 +08:00

40 lines
886 B
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 TenantCreateRequest {
/** 租户名称 */
name: string;
/** 租户编码/登录账号 */
code: string;
/** 初始密码(留空默认 123456 */
password?: string;
/** 联系人 */
contactName?: string;
/** 联系电话 */
contactPhone?: string;
/** 联系邮箱 */
contactEmail?: string;
/** 地址 */
address?: string;
/** Logo URL */
logoUrl?: string;
/** 教师配额 */
teacherQuota?: number;
/** 学生配额 */
studentQuota?: number;
/** 开始日期 */
startDate?: string;
/** 结束日期 */
expireDate?: string;
/** 课程套餐 ID 列表(可选,支持多选) */
collectionIds?: number[];
}