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
package com.ruoyi.envaccess.pojo;
 
import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.dto.DateQueryDto;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
 
import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;
 
/**
 * 环保门禁--智能巡检台账
 * env_inspection
 */
@TableName(value = "env_inspection")
@Data
public class EnvInspection extends DateQueryDto implements Serializable {
    private static final long serialVersionUID = 1L;
 
    @TableId(type = IdType.AUTO)
    private Long id;
 
    @Excel(name = "巡检名称")
    private String inspectionName;
 
    /**
     * 1定期 2临时 3故障
     */
    @Excel(name = "巡检类型", readConverterExp = "1=定期巡检,2=临时巡检,3=故障巡检")
    private Integer inspectionType;
 
    @Excel(name = "巡检路径规划")
    private String routePlan;
 
    @Excel(name = "巡检区域")
    private String area;
 
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "计划开始时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date planStartTime;
 
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "计划结束时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date planEndTime;
 
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "实际开始时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date actualStartTime;
 
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "实际结束时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date actualEndTime;
 
    @Excel(name = "巡检人员")
    private String inspector;
 
    @Excel(name = "巡检结果")
    private String inspectionResult;
 
    @ApiModelProperty(value = "AI视频分析结果(预留)")
    private String aiAnalysis;
 
    @ApiModelProperty(value = "无人机/机器人回传数据(预留)")
    private String uavData;
 
    @ApiModelProperty(value = "自动生成巡检报告")
    private String reportPath;
 
    /**
     * 0待执行 1执行中 2已完成 3已取消
     */
    @Excel(name = "状态", readConverterExp = "0=待执行,1=执行中,2=已完成,3=已取消")
    private Integer status;
 
    @Excel(name = "备注")
    private String remark;
 
    @ApiModelProperty(value = "创建时间")
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;
 
    @ApiModelProperty(value = "创建用户")
    @TableField(fill = FieldFill.INSERT)
    private Integer createUser;
 
    @ApiModelProperty(value = "修改时间")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;
 
    @ApiModelProperty(value = "修改用户")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Integer updateUser;
 
    @ApiModelProperty(value = "租户ID")
    @TableField(fill = FieldFill.INSERT)
    private Long tenantId;
}