package com.reading.platform.dto.response;

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

/**
 * 任务统计响应
 */
@Data
@Schema(description = "任务统计响应")
public class TaskStatsResponse {

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

    @Schema(description = "已发布任务数", example = "80")
    private Integer publishedTasks;

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

    @Schema(description = "进行中任务数", example = "20")
    private Integer inProgressTasks;

    @Schema(description = "待完成数量", example = "20")
    private Integer pendingCount;

    @Schema(description = "总完成次数", example = "500")
    private Integer totalCompletions;

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