package com.reading.platform.dto.response;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * 按班级任务统计响应
 */
@Data
@Schema(description = "按班级任务统计响应")
public class TaskStatsByClassResponse {

    @Schema(description = "班级 ID", example = "1")
    private String classId;

    @Schema(description = "班级名称", example = "大一班")
    private String className;

    @Schema(description = "年级", example = "K1")
    private String grade;

    @Schema(description = "总任务数", example = "50")
    private Integer total;

    @Schema(description = "已完成任务数", example = "40")
    private Integer completed;

    @Schema(description = "完成率", example = "80")
    private Integer rate;
}
