lyh
16 小时以前 8cd2d2d8c805be35db8f697926aea59792e80b36
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
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
package org.jeecg.modules.eam.dto;
 
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecg.common.aspect.annotation.Dict;
import org.jeecg.common.system.base.entity.JeecgEntity;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;
 
import java.io.Serializable;
import java.util.Date;
 
/**
 * @Description: 维修工单
 * @Author: Lius
 * @Date: 2025-04-03
 */
@Data
@TableName("eam_repair_order")
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = "eam_repair_order对象", description = "维修工单导出")
public class EamRepairOrderExport {
 
    /**主键*/
    @TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private String id;
 
    /** 报修ID*/
    @ApiModelProperty(value = "报修ID")
    private String reportId;
    /**设备名称*/
    @ApiModelProperty(value = "设备ID")
    @Dict(dictTable = "eam_equipment", dicCode = "id", dicText = "equipment_name")
    private String equipmentId;
    /**
     * 设备编码
     */
    @Excel(name = "统一编码", width = 15)
    @TableField(exist = false)
    @ApiModelProperty(value = "统一编码")
    private String equipmentCode;
    /**
     * 设备名称
     */
    @Excel(name = "设备名称", width = 15)
    @TableField(exist = false)
    @ApiModelProperty(value = "设备名称")
    private String equipmentName;
    /**
     * 设备型号
     */
    @Excel(name = "设备型号", width = 15)
    @TableField(exist = false)
    @ApiModelProperty(value = "设备型号")
    private String equipmentModel;
 
    /**维修状态*/
    @Excel(name = "维修状态", width = 15,dicCode = "repair_status")
    @ApiModelProperty(name = "维修状态",notes = "待维修、维修中、待确认、维修完成")
    @Dict(dicCode = "repair_status")
    private String repairStatus;
 
    /**领取状态*/
    @Excel(name = "领取状态", width = 15,dicCode = "claim_status")
    @ApiModelProperty(name = "领取状态",notes = "未领取、已领取")
    @Dict(dicCode = "claim_status")
    private String claimStatus;
 
    /**
     * 工单编号
     */
    @Excel(name = "工单编号", width = 15)
    @ApiModelProperty(value = "工单编号")
    private String repairCode;
 
    /**故障类型*/
    @Excel(name = "故障类型", width = 15,dicCode = "fault_type")
    @ApiModelProperty(value = "故障类型")
    @Dict(dicCode = "fault_type")
    private String faultType;
 
    /**报修人*/
    @Excel(name = "报修人", width = 15,dictTable = "sys_user", dicCode = "username", dicText = "realname")
    @ApiModelProperty(value = "报修人")
    @Dict(dictTable = "sys_user", dicCode = "username", dicText = "realname")
    private String reportPerson;
 
    /**故障开始时间*/
    @Excel(name = "故障开始时间", width = 15,format = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(name = "故障开始时间",notes = "")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date faultStartTime;
 
    /** 维修开始时间 */
    @Excel(name = "维修开始时间", width = 15,format = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(name = "维修开始时间",notes = "")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date actualStartTime;
 
    /** 维修结束时间 */
    @Excel(name = "维修结束时间", width = 15,format = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(name = "维修结束时间",notes = "")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date actualEndTime;
 
    /** 维修时长*/
    @Excel(name = "维修时长", width = 15)
    @ApiModelProperty(name = "维修时长",notes = "")
    private String repairDuration;
 
    /**故障时长*/
    @Excel(name = "故障时长", width = 15)
    @ApiModelProperty(name = "故障时长",notes = "")
    private String faultDuration;
 
    /** 维修确认 */
    @Excel(name = "维修确认", width = 15,dictTable = "sys_user", dicCode = "username", dicText = "realname")
    @ApiModelProperty(name = "维修确认",notes = "")
    @Dict(dictTable = "sys_user", dicCode = "username", dicText = "realname")
    private String repairConfirm;
 
    /** 维修确认意见 */
    @Excel(name = "维修确认意见", width = 15)
    @ApiModelProperty(name = "维修确认意见",notes = "")
    private String repairConfirmComment;
 
    /** 维修确认时间 */
    @Excel(name = "维修确认时间", width = 15,format = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(name = "维修确认时间",notes = "")
    private Date repairConfirmTime;
 
    /**故障现象*/
    @Excel(name = "故障现象", width = 15)
    @ApiModelProperty(value = "故障现象")
    private String faultPhenomenon;
 
    /** 故障原因 */
    @Excel(name = "故障原因", width = 15)
    @ApiModelProperty(name = "故障原因",notes = "")
    private String faultReason;
 
    /** 故障分析 */
    @Excel(name = "故障分析", width = 15)
    @ApiModelProperty(name = "故障分析",notes = "")
    private String faultAnalysis;
 
    /** 排故过程 */
    @Excel(name = "排故过程", width = 15)
    @ApiModelProperty(name = "排故过程",notes = "")
    private String faultProcess;
 
    /** 预防措施 */
    @Excel(name = "预防措施", width = 15)
    @ApiModelProperty(name = "预防措施",notes = "")
    private String faultPrevent;
 
    /** 操作工 */
    @Excel(name = "操作工", width = 15,dictTable = "sys_user", dicCode = "username", dicText = "realname")
    @ApiModelProperty(name = "操作工",notes = "")
    @Dict(dictTable = "sys_user", dicCode = "username", dicText = "realname")
    private String confirmer;
 
    /** 操作工确认结果*/
    @Excel(name = "操作工确认结果", width = 15)
    @ApiModelProperty(name = "操作工确认结果",notes = "")
    private String confirmResult;
 
    /** 操作工确认意见 */
    @Excel(name = "操作工确认意见", width = 15)
    @ApiModelProperty(name = "操作工确认意见",notes = "")
    private String confirmComment;
 
    /** 操作工确认时间*/
    @Excel(name = "操作工确认时间", width = 15,format = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "操作工确认时间")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date confirmTime;
 
    @TableField(exist = false)
    private String installationPosition;
}