package org.dromara.eims.domain.vo;
|
|
import org.dromara.common.translation.annotation.Translation;
|
import org.dromara.common.translation.constant.TransConstant;
|
import org.dromara.eims.domain.EimsFaultKnow;
|
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;
|
|
|
|
/**
|
* 故障知识视图对象 eims_fault_know
|
*
|
* @author zhuguifei
|
* @date 2025-03-18
|
*/
|
@Data
|
@ExcelIgnoreUnannotated
|
@AutoMapper(target = EimsFaultKnow.class)
|
public class EimsFaultKnowVo implements Serializable {
|
|
@Serial
|
private static final long serialVersionUID = 1L;
|
|
/**
|
*
|
*/
|
@ExcelProperty(value = "")
|
private Long id;
|
|
/**
|
* 设备id
|
*/
|
@ExcelProperty(value = "设备id")
|
private Long equId;
|
@Translation(type = TransConstant.EQU_ID_TO_NAME, mapper = "equId")
|
private String equName;
|
private String assetNo;
|
|
/**
|
* 设备类型
|
*/
|
@ExcelProperty(value = "设备类型", converter = ExcelDictConvert.class)
|
private Long equType;
|
|
private String equTypeName;
|
|
/**
|
* 设备部位(字典)
|
*/
|
@ExcelProperty(value = "设备部位(字典)")
|
private String equPart;
|
|
/**
|
* 知识编码
|
*/
|
@ExcelProperty(value = "知识编码")
|
private String faultCode;
|
|
/**
|
* 故障类别(字典)
|
*/
|
@ExcelProperty(value = "故障类别(字典)", converter = ExcelDictConvert.class)
|
@ExcelDictFormat(dictType = "repair_fault_type")
|
private String faultType;
|
|
/**
|
* 故障原因(字典)
|
*/
|
@ExcelProperty(value = "故障原因(字典)")
|
private String faultReason;
|
|
/**
|
* 报修描述
|
*/
|
@ExcelProperty(value = "报修描述")
|
private String reqDesc;
|
|
/**
|
* 处理措施
|
*/
|
@ExcelProperty(value = "处理措施")
|
private String resHandle;
|
|
/**
|
* 备注
|
*/
|
@ExcelProperty(value = "备注")
|
private String remark;
|
|
|
}
|