车间能级提升-智能设备管理系统
zhuguifei
2025-02-27 ec4d16c8a630960a4671a60f4d1957fd3de9def3
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
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.EimsRepairRes;
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_res
 *
 * @author zhuguifei
 * @date 2025-02-25
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = EimsRepairRes.class)
public class EimsRepairResVo implements Serializable {
 
    @Serial
    private static final long serialVersionUID = 1L;
 
    /**
     *
     */
    @ExcelProperty(value = "")
    private Long id;
 
    /**
     * 报修单id
     */
    @ExcelProperty(value = "报修单id")
    private Long reqId;
 
    private  Long reqUser;//报修人
 
    private  Long reqDept;//报修人部门
 
    /**
     * 维修单号
     */
    @ExcelProperty(value = "维修单号")
    private String resCode;
 
    /**
     * 维修人
     */
    private Long resUser;
 
    @ExcelProperty(value = "维修人")
    @Translation(type = TransConstant.USER_ID_TO_NICKNAME, mapper = "resUser")
    private String resUserName;
 
    /**
     * 维修人部门
     */
 
    private Long resDept;
    @ExcelProperty(value = "维修人部门")
    @Translation(type = TransConstant.DEPT_ID_TO_NAME, mapper = "resDept")
    private String resDeptName;
 
    /**
     * 原因分析
 
     */
    @ExcelProperty(value = "原因分析")
    private String resReason;
 
    /**
     * 处理措施
     */
    @ExcelProperty(value = "处理措施")
    private String resHandle;
 
    /**
     * 预防措施
     */
    @ExcelProperty(value = "预防措施")
    private String resPrevent;
 
    /**
     * 维修状态(字典)
     */
    @ExcelProperty(value = "维修状态(字典)", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "repair_res_status")
    private String status;
 
    /**
     * 开始时间
     */
    @ExcelProperty(value = "开始时间")
    private Date startTime;
 
    /**
     * 结束时间
     */
    @ExcelProperty(value = "结束时间")
    private Date endTime;
 
    /**
     * 使用工具
     */
    @ExcelProperty(value = "使用工具")
    private String useFixture;
 
    /**
     * 使用备件
     */
    @ExcelProperty(value = "使用备件")
    private String useParts;
 
    /**
     * 备注
     */
    @ExcelProperty(value = "备注")
    private String remark;
 
 
    // 关联表字段
    private  String reqType;//报修类型
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date reqTime;//报修时间
    private String equName;//设备名称
    private String fixtureName;//工具名称
    private String faultType;//故障类别
    private String reqDeptName;//报修部门
    private String reqUserName;//报修人
    private String reqDesc;//故障描述
    @Translation(type = TransConstant.REPAIR_REQ_ID_TO_CODE, mapper = "reqId")
    private String reqCode;//报修编码
 
 
}