import { z } from "zod"

/** 生成学生个人诊断报告 */
export const GenerateStudentReportSchema = z.object({
  studentId: z.string().min(1),
  period: z.string().min(1),
})

export type GenerateStudentReportInput = z.infer<typeof GenerateStudentReportSchema>

/** 生成班级诊断报告 */
export const GenerateClassReportSchema = z.object({
  classId: z.string().min(1),
  period: z.string().min(1),
})

export type GenerateClassReportInput = z.infer<typeof GenerateClassReportSchema>

/** v4-P2-3: 生成年级诊断报告 */
export const GenerateGradeReportSchema = z.object({
  gradeId: z.string().min(1),
  period: z.string().min(1),
})

export type GenerateGradeReportInput = z.infer<typeof GenerateGradeReportSchema>

/** 发布诊断报告 */
export const PublishReportSchema = z.object({
  id: z.string().min(1),
})

export type PublishReportInput = z.infer<typeof PublishReportSchema>

/** 删除诊断报告 */
export const DeleteReportSchema = z.object({
  id: z.string().min(1),
})

export type DeleteReportInput = z.infer<typeof DeleteReportSchema>
