78 lines
2.0 KiB
Java
78 lines
2.0 KiB
Java
|
|
package com.klp.domain.vo;
|
|||
|
|
|
|||
|
|
import java.util.Date;
|
|||
|
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
|||
|
|
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
|
|||
|
|
import com.alibaba.excel.annotation.ExcelProperty;
|
|||
|
|
import com.klp.common.annotation.ExcelDictFormat;
|
|||
|
|
import com.klp.common.convert.ExcelDictConvert;
|
|||
|
|
import lombok.Data;
|
|||
|
|
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* 检验主视图对象 wms_inspection_main
|
|||
|
|
*
|
|||
|
|
* @author klp
|
|||
|
|
* @date 2026-06-13
|
|||
|
|
*/
|
|||
|
|
@Data
|
|||
|
|
@ExcelIgnoreUnannotated
|
|||
|
|
public class WmsInspectionMainVo {
|
|||
|
|
|
|||
|
|
private static final long serialVersionUID = 1L;
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* 主键ID
|
|||
|
|
*/
|
|||
|
|
@ExcelProperty(value = "主键ID")
|
|||
|
|
private Long mainId;
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* 检验日期(对应日期列)
|
|||
|
|
*/
|
|||
|
|
@ExcelProperty(value = "检验日期", converter = ExcelDictConvert.class)
|
|||
|
|
@ExcelDictFormat(readConverterExp = "对=应日期列")
|
|||
|
|
private Date inspectionDate;
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* 样品名称(对应样品名称列)
|
|||
|
|
*/
|
|||
|
|
@ExcelProperty(value = "样品名称", converter = ExcelDictConvert.class)
|
|||
|
|
@ExcelDictFormat(readConverterExp = "对=应样品名称列")
|
|||
|
|
private String sampleName;
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* 样品编号(对应样品编号列)
|
|||
|
|
*/
|
|||
|
|
@ExcelProperty(value = "样品编号", converter = ExcelDictConvert.class)
|
|||
|
|
@ExcelDictFormat(readConverterExp = "对=应样品编号列")
|
|||
|
|
private String sampleNo;
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* 来样编号(对应来样编号列,如A箱/B箱)
|
|||
|
|
*/
|
|||
|
|
@ExcelProperty(value = "来样编号", converter = ExcelDictConvert.class)
|
|||
|
|
@ExcelDictFormat(readConverterExp = "对=应来样编号列,如A箱/B箱")
|
|||
|
|
private String batchNo;
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* 检验方案ID,关联wms_inspection_item_template
|
|||
|
|
*/
|
|||
|
|
@ExcelProperty(value = "检验方案ID,关联wms_inspection_item_template")
|
|||
|
|
private Long templateId;
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* 检验任务配置JSON,存储任务级配置
|
|||
|
|
*/
|
|||
|
|
@ExcelProperty(value = "检验任务配置JSON,存储任务级配置")
|
|||
|
|
private String taskConfigJson;
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* 备注
|
|||
|
|
*/
|
|||
|
|
@ExcelProperty(value = "备注")
|
|||
|
|
private String remark;
|
|||
|
|
|
|||
|
|
|
|||
|
|
}
|