package org.dromara.qm.domain.vo; import java.util.Date; import com.fasterxml.jackson.annotation.JsonFormat; import org.dromara.qm.domain.QmBatch; import cn.idev.excel.annotation.ExcelIgnoreUnannotated; import cn.idev.excel.annotation.ExcelProperty; import org.dromara.common.excel.annotation.ExcelDictFormat; import org.dromara.common.excel.convert.ExcelDictConvert; import io.github.linpeilie.annotations.AutoMapper; import lombok.Data; import java.io.Serial; import java.io.Serializable; import java.util.Date; /** * 检验批次视图对象 qm_batch * * @author zhuguifei * @date 2026-03-02 */ @Data @ExcelIgnoreUnannotated @AutoMapper(target = QmBatch.class) public class QmBatchVo implements Serializable { @Serial private static final long serialVersionUID = 1L; /** * 编码 */ @ExcelProperty(value = "编码") private String id; /** * 批次代码 */ @ExcelProperty(value = "批次代码") private String batchCode; /** * 批次名称 */ @ExcelProperty(value = "批次名称") private String batchName; /** * A-制丝 B-成型 C-卷包 D-封箱 E-糖香料 */ @ExcelProperty(value = "A-制丝 B-成型 C-卷包 D-封箱 E-糖香料") private String typ; /** * 机台代码 */ @ExcelProperty(value = "机台代码") private String eqpCode; /** * 牌号 */ @ExcelProperty(value = "牌号") private String matCode; /** * 判定依据代码 */ @ExcelProperty(value = "判定依据代码") private String judgeCode; /** * 批次生成日期 */ @ExcelProperty(value = "批次生成日期") private Date batchDate; /** * 使用标志 */ @ExcelProperty(value = "使用标志") private String isflag; /** * 启用标志 */ @ExcelProperty(value = "启用标志") private String enabled; /** * 到货总量 */ @ExcelProperty(value = "到货总量") private Long totalNum; /** * 综合判定 */ @ExcelProperty(value = "综合判定") private String results; /** * 批准人 */ @ExcelProperty(value = "批准人") private String approver; /** * 审核人 */ @ExcelProperty(value = "审核人") private String auditor; /** * 创建人 */ @ExcelProperty(value = "创建人") private String creater; /** * 制表日期 */ @ExcelProperty(value = "制表日期") private Date tabDate; /** * 版本名称 */ @ExcelProperty(value = "版本名称") private String verName; /** * 版本编号 */ @ExcelProperty(value = "版本编号") private String verCode; /** * 保存期 */ @ExcelProperty(value = "保存期") private String archDate; /** * 0-未上传mes,1-已上传, 3-从MES下载 */ @ExcelProperty(value = "0-未上传mes,1-已上传, 3-从MES下载") private String flag; /** * 上传MES时间 */ @ExcelProperty(value = "上传MES时间") private Date toMesDate; /** * 从MES时间下载 */ @ExcelProperty(value = "从MES时间下载") private Date fromMesDate; /** * 删除标志 */ @ExcelProperty(value = "删除标志") private Long deleted; /** * 批次描述 */ @ExcelProperty(value = "批次描述") private String batchDes; /** * 类别 0:成品 1:辅材 */ @ExcelProperty(value = "类别 0:成品 1:辅材") private String category; /** * 卷制工号 */ @ExcelProperty(value = "卷制工号") private String makeno; /** * 班次机号 */ @ExcelProperty(value = "班次机号") private String shifteqpno; /** * 装箱号 */ @ExcelProperty(value = "装箱号") private String boxno; /** * 父批次号 */ @ExcelProperty(value = "父批次号") private String pid; /** * 复核人 */ @ExcelProperty(value = "复核人") private String reviewer; /** * 复检次数 */ @ExcelProperty(value = "复检次数") private Long rvcount; /** * 批次状态 */ @ExcelProperty(value = "批次状态") private String state; /** * 复核日期 */ @ExcelProperty(value = "复核日期") private Date reviewTime; /** * 审核日期 */ @ExcelProperty(value = "审核日期") private Date auditTime; /** * 规格 */ @ExcelProperty(value = "规格") private String spec; /** * 批准时间 */ @ExcelProperty(value = "批准时间") private Date approveTime; /** * 到货单位 */ @ExcelProperty(value = "到货单位") private String unit; /** * 到货日期 */ @ExcelProperty(value = "到货日期") private Date arrivalTime; /** * 存放地点 */ @ExcelProperty(value = "存放地点") private String storagePlace; /** * 检验员 */ @ExcelProperty(value = "检验员") private String checker; /** * 接单日期 */ @ExcelProperty(value = "接单日期") private Date receiveTime; /** * 报检日期 */ @ExcelProperty(value = "报检日期") private Date inspTime; /** * 仓库保管员 */ @ExcelProperty(value = "仓库保管员") private String storer; /** * 是否验证 */ @ExcelProperty(value = "是否验证") private String isverify; /** * 是否检验 */ @ExcelProperty(value = "是否检验") private String ischk; /** * 备用1 */ @ExcelProperty(value = "备用1") private String bak1; /** * 备用2 */ @ExcelProperty(value = "备用2") private String bak2; }