package cn.iocoder.yudao.module.mes.controller.admin.pro.feedback.vo;
|
|
import io.swagger.v3.oas.annotations.media.Schema;
|
import lombok.Data;
|
import lombok.experimental.Accessors;
|
|
import java.util.List;
|
|
@Schema(description = "管理后台 - MES 批量报工 Response VO")
|
@Data
|
@Accessors(chain = true)
|
public class MesProFeedbackBatchCreateRespVO {
|
|
@Schema(description = "成功数量", example = "2")
|
private Integer successCount;
|
|
@Schema(description = "失败数量", example = "1")
|
private Integer failCount;
|
|
@Schema(description = "详细结果列表")
|
private List<BatchResult> results;
|
|
@Data
|
@Accessors(chain = true)
|
public static class BatchResult {
|
|
@Schema(description = "任务ID", example = "101")
|
private Long taskId;
|
|
@Schema(description = "是否成功")
|
private Boolean success;
|
|
@Schema(description = "报工单ID(成功时有值)", example = "201")
|
private Long feedbackId;
|
|
@Schema(description = "错误信息(失败时有值)", example = "任务已完成,不能报工")
|
private String errorMsg;
|
}
|
}
|