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 MesProBagCodeTraceRespVO {
|
|
// ========== 袋码信息 ==========
|
|
@Schema(description = "袋码编号", example = "1024")
|
private Long id;
|
|
@Schema(description = "袋码(二维码内容)", example = "PC20260818L01001-0001")
|
private String code;
|
|
@Schema(description = "批次内袋序号", example = "1")
|
private Integer bagNo;
|
|
@Schema(description = "袋码状态(字典 mes_pro_bag_code_status)", example = "10")
|
private Integer status;
|
|
@Schema(description = "导出(交付印刷)时间")
|
private LocalDateTime printTime;
|
|
@Schema(description = "作废时间")
|
private LocalDateTime cancelTime;
|
|
@Schema(description = "作废原因")
|
private String cancelReason;
|
|
@Schema(description = "替换组 UUID")
|
private String replacementUuid;
|
|
@Schema(description = "替换后的新袋码")
|
private String replacedByCode;
|
|
@Schema(description = "被替换的旧袋码")
|
private String replacementOfCode;
|
|
// ========== 批次信息 ==========
|
|
@Schema(description = "生产批次编号", example = "1024")
|
private Long batchId;
|
|
@Schema(description = "批次号", example = "PC20260818L01001")
|
private String batchCode;
|
|
@Schema(description = "批次状态(字典 mes_pro_batch_status)", example = "20")
|
private Integer batchStatus;
|
|
@Schema(description = "生产日期")
|
private LocalDateTime produceDate;
|
|
@Schema(description = "产线编码")
|
private String lineCode;
|
|
@Schema(description = "产线名称")
|
private String lineName;
|
|
// ========== 品种信息 ==========
|
|
@Schema(description = "品种(物料)编号", example = "1024")
|
private Long itemId;
|
|
@Schema(description = "品种编码")
|
private String itemCode;
|
|
@Schema(description = "品种名称")
|
private String itemName;
|
|
@Schema(description = "品种规格")
|
private String itemSpecification;
|
|
@Schema(description = "责任人用户编号", example = "1")
|
private Long ownerUserId;
|
|
@Schema(description = "责任人昵称")
|
private String ownerUserName;
|
|
// ========== 托盘信息 ==========
|
|
@Schema(description = "绑定托盘编号", example = "1024")
|
private Long palletId;
|
|
@Schema(description = "托盘码")
|
private String palletCode;
|
|
}
|