package org.dromara.eims.domain.vo;
|
|
import java.util.Date;
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
import org.dromara.common.translation.annotation.Translation;
|
import org.dromara.common.translation.constant.TransConstant;
|
import org.dromara.eims.domain.EimsEquStatu;
|
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_equ_statu
|
*
|
* @author zhuguifei
|
* @date 2025-01-14
|
*/
|
@Data
|
@ExcelIgnoreUnannotated
|
@AutoMapper(target = EimsEquStatu.class)
|
public class EimsEquStatuVo implements Serializable {
|
|
@Serial
|
private static final long serialVersionUID = 1L;
|
|
/**
|
* 设备状态记录id
|
*/
|
@ExcelProperty(value = "设备状态记录id")
|
private Long equStatuId;
|
|
/**
|
* 设备id
|
*/
|
@ExcelProperty(value = "设备id")
|
private Long equId;
|
|
/**
|
* 设备名称
|
*/
|
private String equName;
|
|
|
private String assetNo;
|
|
/**
|
* 变更前状态
|
*/
|
@ExcelProperty(value = "变更前状态")
|
private String beforeChange;
|
|
/**
|
* 变更后状态
|
*/
|
@ExcelProperty(value = "变更后状态")
|
private String afterChange;
|
|
/**
|
* 变更日期
|
*/
|
@ExcelProperty(value = "变更日期")
|
private Date changeDate;
|
|
/**
|
* 变更人
|
*/
|
private Long changeUser;
|
|
@ExcelProperty(value = "变更人")
|
@Translation(type = TransConstant.USER_ID_TO_NICKNAME, mapper = "changeUser")
|
private String changeUserName;
|
|
/**
|
* 变更人部门
|
*/
|
@ExcelProperty(value = "变更人部门")
|
private Long userDept;
|
|
/**
|
* 变更描述
|
*/
|
@ExcelProperty(value = "变更描述")
|
private String changeDesc;
|
|
/**
|
* 描述
|
*/
|
@ExcelProperty(value = "描述")
|
private String remark;
|
|
|
/**
|
* 确认人
|
*/
|
private Long confirmor;
|
|
|
@Translation(type = TransConstant.USER_ID_TO_NICKNAME, mapper = "confirmor")
|
private String confirmorName;
|
|
/**
|
* 变更单状态(0-申请,1-同意,2-驳回)
|
*/
|
private String orderStatus;
|
|
|
}
|