package cn.iocoder.yudao.module.mes.controller.admin.pro.bagcode.vo;
|
|
import io.swagger.v3.oas.annotations.media.Schema;
|
import lombok.Data;
|
|
import java.time.LocalDateTime;
|
|
@Schema(description = "管理后台 - MES 袋码生成任务 Response VO")
|
@Data
|
public class MesProBagCodeGenerateTaskRespVO {
|
|
@Schema(description = "任务编号", example = "1024")
|
private Long id;
|
|
@Schema(description = "业务类型:PACKAGE(数据包)/ RAW(原始数据)", example = "PACKAGE")
|
private String bizType;
|
|
@Schema(description = "任务状态", example = "20")
|
private Integer status;
|
|
@Schema(description = "任务状态名称", example = "生成中")
|
private String statusName;
|
|
@Schema(description = "进度百分比(0~100)", example = "35")
|
private Integer progress;
|
|
@Schema(description = "生成组 UUID")
|
private String uuid;
|
|
@Schema(description = "品种编号", example = "1")
|
private Long itemId;
|
|
@Schema(description = "品种编码", example = "ITEM001")
|
private String itemCode;
|
|
@Schema(description = "品种名称", example = "种子")
|
private String itemName;
|
|
@Schema(description = "计量单位类型", example = "48袋")
|
private String unitType;
|
|
@Schema(description = "每托盘袋数(吨类型为 0)", example = "48")
|
private Integer perPallet;
|
|
@Schema(description = "托盘数(原始数据为 0)", example = "5")
|
private Integer palletCount;
|
|
@Schema(description = "袋码总数", example = "240")
|
private Integer totalCount;
|
|
@Schema(description = "已生成袋码数", example = "120")
|
private Integer finishedCount;
|
|
@Schema(description = "失败原因")
|
private String errorMsg;
|
|
@Schema(description = "创建时间")
|
private LocalDateTime createTime;
|
|
@Schema(description = "完成/终止时间")
|
private LocalDateTime finishTime;
|
|
}
|