Lius
2025-04-21 753939d6542dbf49131773ab7cf40a281e632bdd
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
package org.jeecg.modules.eam.entity;
 
import com.baomidou.mybatisplus.annotation.TableField;
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.api.vo.FileUploadResult;
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;
import java.util.List;
 
/**
 * @Description: 故障报修
 * @Author: Lius
 * @Date: 2025-04-01
 */
@Data
@TableName("eam_report_repair")
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = "eam_report_repair对象", description = "故障报修")
public class EamReportRepair extends JeecgEntity implements Serializable {
 
    private static final long serialVersionUID = 3966250456529614720L;
 
    /**
     * 设备ID
     */
    @Excel(name = "设备ID", width = 15, dictTable = "eam_equipment", dicCode = "id", dicText = "equipment_code")
    @ApiModelProperty(value = "设备ID")
    @Dict(dictTable = "eam_equipment", dicCode = "id", dicText = "equipment_code")
    private String equipmentId;
    /**
     * 设备名称
     */
    @Excel(name = "设备名称", width = 15)
    @TableField(exist = false)
    @ApiModelProperty(value = "设备名称")
    private String equipmentName;
    /**
     * 删除标记
     */
    @ApiModelProperty(value = "删除标记")
    @Dict(dicCode = "del_flag")
    private Integer delFlag;
    /**
     * 故障开始时间
     */
    @ApiModelProperty(value = "故障开始时间")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "故障开始时间", width = 15, format = "yyyy-MM-dd HH:mm:ss")
    private Date faultStartTime;
    /**
     * 是否停机
     */
    @Excel(name = "是否停机", width = 15, dicCode = "breakdown_flag")
    @ApiModelProperty(value = "是否停机")
    @Dict(dicCode = "breakdown_flag")
    private String breakdownFlag;
    /**
     * 故障简称
     */
    @Excel(name = "故障简称", width = 15)
    @ApiModelProperty(value = "故障简称")
    private String faultName;
    /**
     * 故障分类
     */
    @Excel(name = "故障分类", width = 15, dicCode = "fault_reason_category")
    @ApiModelProperty(value = "故障分类")
    @Dict(dicCode = "fault_reason_category")
    private String faultType;
    /**
     * 故障描述
     */
    @Excel(name = "故障描述", width = 15)
    @ApiModelProperty(value = "故障描述")
    private String faultDescription;
    /**
     * 报修状态
     */
    @Excel(name = "报修状态", width = 15, dicCode = "report_repair_status")
    @ApiModelProperty(value = "报修状态")
    @Dict(dicCode = "report_repair_status")
    private String reportStatus;
    /**
     * 照片文件ids;id以逗号分隔
     */
    @Excel(name = "照片", width = 15, type = 2)
    @ApiModelProperty(value = "照片")
    private String imageFiles;
 
    /**照片*/
    @ApiModelProperty(value = "照片")
    @TableField(exist = false)
    private List<FileUploadResult> imageFilesResult;
 
    /**
     * 备注
     */
    @Excel(name = "备注", width = 15)
    @ApiModelProperty(value = "备注")
    private String remark;
 
}