83 lines
2.0 KiB
Java
83 lines
2.0 KiB
Java
|
|
package com.klp.domain.vo;
|
|||
|
|
|
|||
|
|
import java.math.BigDecimal;
|
|||
|
|
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_detail
|
|||
|
|
*
|
|||
|
|
* @author klp
|
|||
|
|
* @date 2026-06-13
|
|||
|
|
*/
|
|||
|
|
@Data
|
|||
|
|
@ExcelIgnoreUnannotated
|
|||
|
|
public class WmsInspectionDetailVo {
|
|||
|
|
|
|||
|
|
private static final long serialVersionUID = 1L;
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* 主键ID
|
|||
|
|
*/
|
|||
|
|
@ExcelProperty(value = "主键ID")
|
|||
|
|
private Long detailId;
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* 关联主表ID(wms_inspection_main.main_id)
|
|||
|
|
*/
|
|||
|
|
@ExcelProperty(value = "关联主表ID", converter = ExcelDictConvert.class)
|
|||
|
|
@ExcelDictFormat(readConverterExp = "w=ms_inspection_main.main_id")
|
|||
|
|
private Long mainId;
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* 分析项目名称(如浓度、PH、电导率等)
|
|||
|
|
*/
|
|||
|
|
@ExcelProperty(value = "分析项目名称", converter = ExcelDictConvert.class)
|
|||
|
|
@ExcelDictFormat(readConverterExp = "如=浓度、PH、电导率等")
|
|||
|
|
private String itemName;
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* 检验结果值
|
|||
|
|
*/
|
|||
|
|
@ExcelProperty(value = "检验结果值")
|
|||
|
|
private BigDecimal itemValue;
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* 单位(如%、mgKOH/g、us/cm等)
|
|||
|
|
*/
|
|||
|
|
@ExcelProperty(value = "单位", converter = ExcelDictConvert.class)
|
|||
|
|
@ExcelDictFormat(readConverterExp = "如=%、mgKOH/g、us/cm等")
|
|||
|
|
private String itemUnit;
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* 上限值
|
|||
|
|
*/
|
|||
|
|
@ExcelProperty(value = "上限值")
|
|||
|
|
private BigDecimal upperLimit;
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* 下限值
|
|||
|
|
*/
|
|||
|
|
@ExcelProperty(value = "下限值")
|
|||
|
|
private BigDecimal lowerLimit;
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* 范围描述(如160,方便展示)
|
|||
|
|
*/
|
|||
|
|
@ExcelProperty(value = "范围描述", converter = ExcelDictConvert.class)
|
|||
|
|
@ExcelDictFormat(readConverterExp = "如=160,方便展示")
|
|||
|
|
private String rangeDesc;
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* 备注
|
|||
|
|
*/
|
|||
|
|
@ExcelProperty(value = "备注")
|
|||
|
|
private String remark;
|
|||
|
|
|
|||
|
|
|
|||
|
|
}
|