package cn.iocoder.yudao.module.mes.controller.admin.pro.pallet.vo;
|
|
import cn.iocoder.yudao.module.mes.controller.admin.pro.bagcode.vo.MesProBagCodeRespVO;
|
import io.swagger.v3.oas.annotations.media.Schema;
|
import lombok.Data;
|
|
import java.time.LocalDateTime;
|
import java.util.List;
|
|
@Schema(description = "管理后台 - MES 托盘码扫码追溯 Response VO")
|
@Data
|
public class MesProPalletTraceRespVO {
|
|
// ========== 托盘信息 ==========
|
|
@Schema(description = "托盘码编号", example = "1024")
|
private Long id;
|
|
@Schema(description = "托盘码(二维码内容)", example = "PC20260818L01001-P01")
|
private String code;
|
|
@Schema(description = "批次内托盘序号", example = "1")
|
private Integer palletNo;
|
|
@Schema(description = "可装袋数(袋/托盘)", example = "25")
|
private Integer capacity;
|
|
@Schema(description = "已绑定袋码数量", example = "10")
|
private Integer bagCount;
|
|
@Schema(description = "状态(字典 mes_pro_pallet_status)", example = "10")
|
private Integer status;
|
|
@Schema(description = "生产批次编号", example = "1024")
|
private Long batchId;
|
|
@Schema(description = "批次号", example = "PC20260818L01001")
|
private String batchCode;
|
|
@Schema(description = "备注")
|
private String remark;
|
|
// ========== 批次信息 ==========
|
|
@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 = "1")
|
private Long ownerUserId;
|
|
@Schema(description = "责任人昵称")
|
private String ownerUserName;
|
|
@Schema(description = "品种(物料)编号", example = "1024")
|
private Long itemId;
|
|
@Schema(description = "品种编码")
|
private String itemCode;
|
|
@Schema(description = "品种名称")
|
private String itemName;
|
|
@Schema(description = "品种规格")
|
private String itemSpecification;
|
|
// ========== 追溯信息 ==========
|
|
@Schema(description = "绑定在该托盘上的袋码列表(按袋序号升序)")
|
private List<MesProBagCodeRespVO> bags;
|
|
}
|