package cn.iocoder.yudao.module.mes.controller.admin.pro.qrexport.vo;
|
|
import io.swagger.v3.oas.annotations.media.Schema;
|
import lombok.Data;
|
|
import java.time.LocalDateTime;
|
|
@Schema(description = "管理后台 - MES 二维码导出任务 Response VO")
|
@Data
|
public class MesProQrExportTaskRespVO {
|
|
@Schema(description = "任务编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "1024")
|
private Long id;
|
|
@Schema(description = "业务类型", example = "BAG_LABEL")
|
private String bizType;
|
|
@Schema(description = "任务名称", example = "袋码二维码标签-20260818")
|
private String taskName;
|
|
@Schema(description = "状态(10 排队中 20 生成中 30 待下载 40 已取消 50 已失败 60 已下载)", example = "20")
|
private Integer status;
|
|
@Schema(description = "状态名称", example = "生成中")
|
private String statusName;
|
|
@Schema(description = "标签总张数", example = "52872")
|
private Integer totalCount;
|
|
@Schema(description = "已生成张数", example = "12000")
|
private Integer finishedCount;
|
|
@Schema(description = "进度百分比(0~100)", example = "23")
|
private Integer progress;
|
|
@Schema(description = "ZIP 文件大小(字节)", example = "1536000")
|
private Long fileSize;
|
|
@Schema(description = "失败原因")
|
private String errorMsg;
|
|
@Schema(description = "是否可下载(已生成完成且文件仍存在)", example = "true")
|
private Boolean downloadable;
|
|
@Schema(description = "创建时间")
|
private LocalDateTime createTime;
|
|
@Schema(description = "完成时间")
|
private LocalDateTime finishTime;
|
|
}
|