package org.dromara.eims.domain.vo;
|
|
import java.util.Date;
|
|
import org.dromara.common.translation.annotation.Translation;
|
import org.dromara.common.translation.constant.TransConstant;
|
import org.dromara.eims.domain.EimsInspectSt;
|
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;
|
|
|
/**
|
* 点检汇总视图对象 eims_inspect_st
|
*
|
* @author zhuguifei
|
* @date 2025-03-14
|
*/
|
@Data
|
@ExcelIgnoreUnannotated
|
@AutoMapper(target = EimsInspectSt.class)
|
public class EimsInspectStVo implements Serializable {
|
|
@Serial
|
private static final long serialVersionUID = 1L;
|
|
/**
|
*
|
*/
|
@ExcelProperty(value = "")
|
private Long id;
|
|
/**
|
* 标题
|
*/
|
@ExcelProperty(value = "标题")
|
private String title;
|
|
/**
|
* 设备id
|
*/
|
@ExcelProperty(value = "设备id")
|
private Long equId;
|
private String equName;
|
private String assetNo;
|
|
/**
|
* 计划时间
|
*/
|
@ExcelProperty(value = "计划时间")
|
private Date planTime;
|
|
/**
|
* 状态
|
*/
|
@ExcelProperty(value = "状态", converter = ExcelDictConvert.class)
|
@ExcelDictFormat(dictType = "eims_inspect_status")
|
private String status;
|
|
/**
|
* 点检人
|
*/
|
@ExcelProperty(value = "点检人")
|
private Long inspUser;
|
@Translation(type = TransConstant.USER_ID_TO_NICKNAME, mapper = "inspUser")
|
private String inspUserName;
|
|
/**
|
* 稽查人
|
*/
|
@ExcelProperty(value = "稽查人")
|
private Long verifyUser;
|
@Translation(type = TransConstant.USER_ID_TO_NICKNAME, mapper = "verifyUser")
|
private String verifyUserName;
|
|
/**
|
* 稽查日期
|
*/
|
@ExcelProperty(value = "稽查日期")
|
private Date verifyTime;
|
|
/**
|
* 特记事项
|
*/
|
@ExcelProperty(value = "特记事项")
|
private String specialNote;
|
|
/**
|
* 备注
|
*/
|
@ExcelProperty(value = "备注")
|
private String remark;
|
|
/**
|
* 记录总数
|
*/
|
private Integer recordCount;
|
/**
|
* 已点检记录
|
*/
|
private Integer checkCount;
|
/**
|
* 未点检记录
|
*/
|
private Integer unCheckCount;
|
/**
|
* 结果-正常数
|
*/
|
private Integer normalNum;
|
/**
|
* 结果-异常数
|
*/
|
private Integer abNormalNum;
|
|
|
|
|
}
|