gongchunyi
6 小时以前 801854b46b8ad6b003fc767e0cf85367de8843eb
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
package com.ruoyi.safe.pojo;
 
import com.baomidou.mybatisplus.annotation.FieldFill;
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.ruoyi.basic.dto.StorageBlobVO;
import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.List;
 
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;
import org.springframework.format.annotation.DateTimeFormat;
 
/**
 * <p>
 * 安全生产--安全设施整改
 * </p>
 *
 * @author 芯导软件(江苏)有限公司
 * @since 2026-06-29
 */
@Getter
@Setter
@TableName("safe_facility_rectification")
@Schema(name = "SafeFacilityRectification对象", description = "安全生产--安全设施整改")
public class SafeFacilityRectification implements Serializable {
 
    private static final long serialVersionUID = 1L;
 
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
 
    @Schema(description = "巡检ID")
    private Integer inspectionId;
 
    @Schema(description = "设施ID")
    private Integer facilityId;
 
    @Schema(description = "问题描述")
    private String problemDesc;
 
    @Schema(description = "问题等级")
    private String problemLevel;
 
    @Schema(description = "问题图片")
    private String problemImage;
 
    @Schema(description = "整改责任人ID")
    private Integer rectifyUserId;
 
    @Schema(description = "计划整改时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime planTime;
 
    @Schema(description = "实际整改时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime actualTime;
 
    @Schema(description = "整改说明")
    private String rectifyDesc;
 
    @Schema(description = "整改图片")
    private String rectifyImage;
 
    @Schema(description = "状态(待整改/整改中/已整改/已验收)")
    private String status;
 
    @Schema(description = "验收人ID")
    private Integer verifyUserId;
 
    @Schema(description = "验收时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime verifyTime;
 
    @Schema(description = "验收说明")
    private String verifyDesc;
 
    @Schema(description = "创建时间")
    @TableField(fill = FieldFill.INSERT)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;
 
    @Schema(description = "创建人ID")
    @TableField(fill = FieldFill.INSERT)
    private Integer createUser;
 
    @Schema(description = "更新时间")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime updateTime;
 
    @Schema(description = "更新人ID")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Integer updateUser;
 
    @TableField(fill = FieldFill.INSERT)
    private Integer tenantId;
 
    @TableField(fill = FieldFill.INSERT)
    private Long deptId;
 
    @TableField(exist = false)
    private String facilityName;
 
    @TableField(exist = false)
    private String facilityCode;
 
    @TableField(exist = false)
    private String inspectionCode;
 
    @TableField(exist = false)
    private String rectifyUserName;
 
    @TableField(exist = false)
    private String verifyUserName;
 
    @Schema(description = "巡检异常图片回显")
    @TableField(exist = false)
    private List<StorageBlobVO> storageBlobVOs;
}