package org.dromara.eims.domain.vo;
|
|
import java.util.Date;
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
import org.dromara.common.mybatis.core.domain.BaseEntity;
|
import org.dromara.common.translation.annotation.Translation;
|
import org.dromara.common.translation.constant.TransConstant;
|
import org.dromara.eims.domain.EimsInspectRecord;
|
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_inspect_record
|
*
|
* @author zhuguifei
|
* @date 2025-03-13
|
*/
|
@Data
|
@ExcelIgnoreUnannotated
|
@AutoMapper(target = EimsInspectRecord.class)
|
public class EimsInspectRecordVo extends BaseEntity implements Serializable {
|
|
@Serial
|
private static final long serialVersionUID = 1L;
|
|
/**
|
* id
|
*/
|
@ExcelProperty(value = "id")
|
private Long id;
|
|
/**
|
* 设备di
|
*/
|
@ExcelProperty(value = "设备di")
|
private Long equId;
|
|
|
@Translation(type = TransConstant.EQU_ID_TO_NAME, mapper = "equId")
|
private String equName;
|
|
private String assetNo;
|
|
/**
|
* 点检名称
|
*/
|
@ExcelProperty(value = "点检名称")
|
private String inspName;
|
|
/**
|
* 点检人
|
*/
|
private Long inspUser;
|
|
|
@Translation(type = TransConstant.USER_ID_TO_NICKNAME, mapper = "inspUser")
|
private String inspUserName;
|
|
/**
|
* 点检部门
|
*/
|
private Long inspDept;
|
@Translation(type = TransConstant.DEPT_ID_TO_NAME, mapper = "inspDept")
|
private String inspDeptName;
|
|
/**
|
* 点检描述
|
*/
|
@ExcelProperty(value = "点检描述")
|
private String inspDesc;
|
|
/**
|
* 状态
|
*/
|
@ExcelProperty(value = "状态", converter = ExcelDictConvert.class)
|
@ExcelDictFormat(dictType = "eims_inspect_status")
|
private String status;
|
|
/**
|
* 点检编码
|
*/
|
@ExcelProperty(value = "点检编码")
|
private String inspCode;
|
|
/**
|
* 值记录方式(字典)
|
*/
|
@ExcelProperty(value = "值记录方式", converter = ExcelDictConvert.class)
|
@ExcelDictFormat(readConverterExp = "字=典")
|
private String recordMode;
|
|
/**
|
* 参考值
|
*/
|
@ExcelProperty(value = "参考值")
|
private String referenceValue;
|
|
/**
|
* 上限
|
*/
|
@ExcelProperty(value = "上限")
|
private String upperLimit;
|
|
/**
|
* 下限
|
*/
|
@ExcelProperty(value = "下限")
|
private String lowLimit;
|
|
/**
|
* 检查值
|
*/
|
@ExcelProperty(value = "检查值")
|
private String checkValue;
|
|
/**
|
* 点检结果(字典)
|
*/
|
@ExcelProperty(value = "点检结果", converter = ExcelDictConvert.class)
|
@ExcelDictFormat(dictType = "eims_inspect_result")
|
private String inspResult;
|
|
/**
|
* 点检类型(字典)
|
*/
|
@ExcelDictFormat(dictType = "eims_inspect_type")
|
private String inspType;
|
|
|
/**
|
* 点检时间
|
*/
|
@ExcelProperty(value = "点检时间")
|
private Date inspTime;
|
|
/**
|
* 计划点检日期
|
*/
|
@ExcelProperty(value = "计划点检日期")
|
@JsonFormat(pattern = "yyyy-MM-dd")
|
private Date planTime;
|
|
/**
|
* 验证人
|
*/
|
@ExcelProperty(value = "验证人")
|
private Long verifyUser;
|
|
@Translation(type = TransConstant.USER_ID_TO_NICKNAME, mapper = "verifyUser")
|
private String verifyUserName;
|
|
/**
|
* 计划id
|
*/
|
@ExcelProperty(value = "计划id")
|
private Long planId;
|
|
/**
|
* 备注
|
*/
|
@ExcelProperty(value = "备注")
|
private String remark;
|
|
|
}
|