package com.aps.entity.Schedule;

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

import java.util.List;

@Data
@Schema(name = "调度响应结果", description = "调度响应结果")
public class ScheduleResponse {

    @Schema(description = "成功标志")
    private boolean success;

    @Schema(description = "返回消息")
    private String message;

    @Schema(description = "单个调度结果")
    private ScheduleResult singleResult;

    @Schema(description = "所有调度结果")
    private List<ScheduleResultList> allResults;

    @Schema(description = "缓存大小")
    private Integer cacheSize;
}