package cn.iocoder.yudao.module.mes.controller.admin.pro.bagcode.vo;
|
|
import cn.idev.excel.annotation.ExcelIgnore;
|
import cn.idev.excel.annotation.ExcelProperty;
|
import cn.idev.excel.annotation.write.style.ColumnWidth;
|
import cn.iocoder.yudao.framework.excel.core.annotations.DictFormat;
|
import cn.iocoder.yudao.framework.excel.core.convert.DictConvert;
|
import cn.iocoder.yudao.module.mes.enums.DictTypeConstants;
|
import io.swagger.v3.oas.annotations.media.Schema;
|
import lombok.Data;
|
|
import java.time.LocalDateTime;
|
|
@Schema(description = "管理后台 - MES 袋码赋码 Response VO")
|
@Data
|
public class MesProBagCodeRespVO {
|
|
@Schema(description = "编号", example = "1024")
|
@ExcelIgnore
|
private Long id;
|
|
@Schema(description = "生成组 UUID")
|
@ExcelIgnore
|
private String uuid;
|
|
@Schema(description = "袋码(二维码内容)", example = "PC20260818L01001-0001")
|
@ExcelProperty("二维码内容")
|
@ColumnWidth(30)
|
private String code;
|
|
@Schema(description = "批次内袋序号", example = "1")
|
@ExcelProperty("袋序号")
|
private Integer bagNo;
|
|
@Schema(description = "生产批次编号", example = "1024")
|
@ExcelIgnore
|
private Long batchId;
|
|
@Schema(description = "批次号", example = "PC20260818L01001")
|
@ExcelProperty("批次号")
|
@ColumnWidth(30)
|
private String batchCode;
|
|
@Schema(description = "产线编码")
|
@ExcelProperty("产线编码")
|
private String lineCode;
|
|
@Schema(description = "产线名称")
|
@ExcelProperty("产线名称")
|
private String lineName;
|
|
@Schema(description = "绑定托盘编号", example = "1024")
|
@ExcelIgnore
|
private Long palletId;
|
|
@Schema(description = "托盘码")
|
@ExcelProperty("托盘码")
|
@ColumnWidth(30)
|
private String palletCode;
|
|
@Schema(description = "状态(字典 mes_pro_bag_code_status)", example = "10")
|
@ExcelProperty(value = "状态", converter = DictConvert.class)
|
@DictFormat(DictTypeConstants.MES_PRO_BAG_CODE_STATUS)
|
private Integer status;
|
|
@Schema(description = "导出(交付印刷)时间")
|
@ExcelProperty("导出印刷时间")
|
@ColumnWidth(20)
|
private LocalDateTime printTime;
|
|
@Schema(description = "作废时间")
|
@ExcelIgnore
|
private LocalDateTime cancelTime;
|
|
@Schema(description = "作废原因")
|
@ExcelIgnore
|
private String cancelReason;
|
|
@Schema(description = "备注")
|
@ExcelIgnore
|
private String remark;
|
|
@Schema(description = "创建时间")
|
@ExcelIgnore
|
private LocalDateTime createTime;
|
|
}
|