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.EimsRepairReq;
|
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_repair_req
|
*
|
* @author zhuguifei
|
* @date 2025-02-10
|
*/
|
@Data
|
@ExcelIgnoreUnannotated
|
@AutoMapper(target = EimsRepairReq.class)
|
public class EimsRepairReqVo implements Serializable {
|
|
@Serial
|
private static final long serialVersionUID = 1L;
|
|
/**
|
* 报修id
|
*/
|
@ExcelProperty(value = "报修id")
|
private Long id;
|
|
/**
|
* 报修单号
|
*/
|
@ExcelProperty(value = "报修单号")
|
private String code;
|
|
/**
|
* 报修状态
|
*/
|
@ExcelProperty(value = "报修状态")
|
private String status;
|
|
/**
|
* 发生事件
|
*/
|
@ExcelProperty(value = "发生时间")
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
private Date occTime;
|
|
/**
|
* 报修时间
|
*/
|
@ExcelProperty(value = "报修时间")
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
private Date reqTime;
|
|
/**
|
* 报修人部门
|
*/
|
@ExcelProperty(value = "报修人部门")
|
private Long reqDept;
|
|
@Translation(type = TransConstant.DEPT_ID_TO_NAME, mapper = "reqDept")
|
private String reqDeptName;
|
|
/**
|
* 报修人
|
*/
|
@ExcelProperty(value = "报修人")
|
private Long reqUser;
|
|
@Translation(type = TransConstant.USER_ID_TO_NICKNAME, mapper = "reqUser")
|
private String reqUserName;
|
|
/**
|
* 报修描述
|
*/
|
@ExcelProperty(value = "报修描述")
|
private String reqDesc;
|
|
/**
|
* 紧急程度
|
*/
|
@ExcelProperty(value = "紧急程度")
|
private String urgencyLevel;
|
|
/**
|
* 故障图片
|
*/
|
@ExcelProperty(value = "故障图片")
|
private String faultPicture;
|
|
/**
|
* 报修类型
|
*/
|
@ExcelProperty(value = "报修类型")
|
private String reqType;
|
|
/**
|
* 设备id
|
*/
|
@ExcelProperty(value = "设备id")
|
private Long equId;
|
|
/**
|
* 工具id
|
*/
|
private Long fixtureId;
|
|
/**
|
* 工具
|
*/
|
@Translation(type = TransConstant.FIXTURE_ID_TO_NAME, mapper = "fixtureId")
|
private String fixtureName;
|
|
/**
|
* 维修单id
|
*/
|
@ExcelProperty(value = "维修单id")
|
private Long repairId;
|
|
/**
|
* 维修人部门
|
*/
|
@ExcelProperty(value = "维修人部门")
|
private Long repairDept;
|
|
/**
|
* 维修人
|
*/
|
@ExcelProperty(value = "维修人")
|
private Long repairUser;
|
|
/**
|
* 故障类别
|
*/
|
@ExcelProperty(value = "故障类别")
|
private String faultType;
|
|
/**
|
* 备注
|
*/
|
@ExcelProperty(value = "备注")
|
private String remark;
|
|
private String equCode;
|
private String assetNo;
|
@Translation(type = TransConstant.EQU_ID_TO_NAME, mapper = "equId")
|
private String equName;
|
private String equLocation;
|
private String equTypeName;
|
|
}
|