package cn.shlanbao.qms.domain.vo;
|
|
import cn.shlanbao.qms.domain.LbRetestResult;
|
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
|
import com.alibaba.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;
|
|
|
|
/**
|
* 复测记录视图对象 lb_retest_result
|
*
|
* @author Lion Li
|
* @date 2025-03-10
|
*/
|
@Data
|
@ExcelIgnoreUnannotated
|
@AutoMapper(target = LbRetestResult.class)
|
public class LbRetestResultVo implements Serializable {
|
|
@Serial
|
private static final long serialVersionUID = 1L;
|
|
/**
|
*
|
*/
|
@ExcelProperty(value = "")
|
private Long id;
|
|
/**
|
* 批次号
|
*/
|
@ExcelProperty(value = "批次号")
|
private String batchCode;
|
|
/**
|
* 测试序号
|
*/
|
@ExcelProperty(value = "测试序号")
|
private String testNum;
|
|
/**
|
* 测试项目
|
*/
|
@ExcelProperty(value = "测试项目")
|
private String testItem;
|
|
/**
|
* 复测次数
|
*/
|
@ExcelProperty(value = "复测次数")
|
private String retestNum;
|
|
/**
|
* 设备号
|
*/
|
@ExcelProperty(value = "设备号")
|
private String deviceCode;
|
|
/**
|
* 用户帐号
|
*/
|
@ExcelProperty(value = "用户帐号")
|
private String userName;
|
|
/**
|
* 环境温度
|
*/
|
@ExcelProperty(value = "环境温度")
|
private String temp;
|
|
/**
|
* 实际电压
|
*/
|
@ExcelProperty(value = "实际电压")
|
private Long voltage;
|
|
/**
|
* 实际电流
|
*/
|
@ExcelProperty(value = "实际电流")
|
private Long loadCurrent;
|
|
/**
|
* 标准距离
|
*/
|
@ExcelProperty(value = "标准距离")
|
private Long stdDistance;
|
|
/**
|
* 感应物
|
*/
|
@ExcelProperty(value = "感应物")
|
private String inductor;
|
|
/**
|
* 输出引脚(黑;白)
|
*/
|
@ExcelProperty(value = "输出引脚", converter = ExcelDictConvert.class)
|
@ExcelDictFormat(readConverterExp = "黑=;白")
|
private String output;
|
|
/**
|
* 测试数据
|
*/
|
@ExcelProperty(value = "测试数据")
|
private Long testValue;
|
|
/**
|
* 判断条件(最小值<=真实值<=最大值 )
|
*/
|
@ExcelProperty(value = "判断条件", converter = ExcelDictConvert.class)
|
@ExcelDictFormat(readConverterExp = "最=小值<=真实值<=最大值")
|
private String judgeDetail;
|
|
/**
|
* 测试结果(OK; NG)
|
*/
|
@ExcelProperty(value = "测试结果", converter = ExcelDictConvert.class)
|
@ExcelDictFormat(readConverterExp = "O=K;,N=G")
|
private String testResult;
|
|
/**
|
* 备注
|
*/
|
@ExcelProperty(value = "备注")
|
private String remark;
|
|
|
}
|