package org.dromara.qa.md.domain.vo;
|
|
import org.dromara.qa.md.domain.MdInstrument;
|
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;
|
|
|
|
/**
|
* 测量仪器视图对象 md_instrument
|
*
|
* @author zhuguifei
|
* @date 2026-03-18
|
*/
|
@Data
|
@ExcelIgnoreUnannotated
|
@AutoMapper(target = MdInstrument.class)
|
public class MdInstrumentVo implements Serializable {
|
|
@Serial
|
private static final long serialVersionUID = 1L;
|
|
/**
|
* 编码
|
*/
|
@ExcelProperty(value = "编码")
|
private String id;
|
|
/**
|
* 仪器代码
|
*/
|
@ExcelProperty(value = "仪器代码")
|
private String instrumentCode;
|
|
/**
|
* 仪器名称
|
*/
|
@ExcelProperty(value = "仪器名称")
|
private String instrumentName;
|
|
/**
|
* 接口标准
|
*/
|
@ExcelProperty(value = "接口标准")
|
private String ifStd;
|
|
/**
|
* 接口标准代码
|
*/
|
@ExcelProperty(value = "接口标准代码")
|
private Long isc;
|
|
/**
|
* 所属车间
|
*/
|
@ExcelProperty(value = "所属车间")
|
private String workShop;
|
|
/**
|
* 启用
|
*/
|
@ExcelProperty(value = "启用", converter = ExcelDictConvert.class)
|
@ExcelDictFormat(dictType = "sys_yes_no")
|
private Long enable;
|
|
/**
|
* 删除
|
*/
|
@ExcelProperty(value = "删除")
|
private Long del;
|
|
/**
|
* 备注
|
*/
|
@ExcelProperty(value = "备注")
|
private String instrumentDes;
|
|
|
}
|