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
package com.ruoyi.device.pojo;
 
import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.Date;
 
import com.baomidou.mybatisplus.annotation.*;
import com.deepoove.poi.data.PictureRenderData;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
 
/**
 * 设备维护添加维护记录表
 *
 * @author makejava
 * @since 2025-04-17 11:28:56
 */
@Data
@TableName("device_maintenance")
public class DeviceMaintenance {
 
    @TableId(type = IdType.AUTO)
    private Integer id;
 
    @Schema(description = "设备id")
    private Integer deviceId;
 
    @Schema(description = "保养计划明细id")
    private Integer maintenancePlanDetailId;
 
    @Schema(description = "维护日期")
    private LocalDate maintenanceDate;
 
    @Schema(description = "维护内容")
    private String maintenanceContent;
 
    @Schema(description = "外观是否良好")
    private String appearanceGood;
 
    @Schema(description = "是否可以正常使用")
    private String normalUse;
 
    @Schema(description = "是否清洁仪器表面")
    private String surfaceClean;
 
    @Schema(description = "标识是否完好")
    private String labelIntact;
 
    @Schema(description = "显示器灯是否正常")
    private String displayLightNormal;
 
    @Schema(description = "仪器是否生锈")
    private String noRust;
 
    @Schema(description = "校准是否正常")
    private String calibrationNormal;
 
    @Schema(description = "配件是否需要更换")
    private String partsReplace;
 
    @Schema(description = "维护结果是否正常")
    private String resultNormal;
 
    @Schema(description = "维护人id")
    private Integer maintenanceUserId;
 
    @Schema(description = "维护人")
    private String maintenanceUserName;
 
    @Schema(description = "备注")
    private String remark;
 
    @Schema(description = "审核状态 0不通过 1通过 NULL待审核")
    private Integer reviewStatus;
 
    @Schema(description = "审核人id")
    private Integer reviewUserId;
 
    @Schema(description = "审核人")
    private String reviewUserName;
 
    @Schema(description = "审核备注")
    private String reviewRemark;
 
    @Schema(description = "审核时间")
    private LocalDateTime reviewTime;
 
    @Schema(description = "创建日期")
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;
 
    @Schema(description = "创建人id")
    @TableField(fill = FieldFill.INSERT)
    private Integer createUser;
 
    @Schema(description = "更新时间")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;
 
    @Schema(description = "更新人id")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Integer updateUser;
 
    @TableField(select = false, exist = false)
    @Schema(description = "维护人图片")
    private PictureRenderData maintenanceUserUrlRender;
 
 
}