yaowanxin
3 天以前 5051c4082a91cbab723445dcfcea2d85770a8c97
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
package com.ruoyi.procurementrecord.pojo;
 
import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;
 
import java.io.Serializable;
import java.time.LocalDateTime;
 
@Data
@TableName("gas_tank_warning")
public class GasTankWarning implements Serializable {
    @TableId(value = "id",type = IdType.AUTO)
    private Long id;
    /**
     * 储气罐编码
     */
    @Excel(name = "储气罐编码")
    private String tankCode;
    /**
     * 储气罐名称
     */
    @Excel(name = "储气罐名称")
    private String tankName;
    /**
     * 储气罐类型
     */
    @Excel(name = "储气罐类型")
    private String tankType;
    /**
     * 规格型号
     */
    @Excel(name = "规格型号")
    private String specificationModel;
    /**
     * 容积(m³)
     */
    @Excel(name = "容积(m³)")
    private Long volume;
    /**
     * 当前气体水平(m³)
     */
    @Excel(name = "当前气体水平(m³)")
    private Long currentGasLevel;
    /**
     * 安全气体水平(m³)
     */
    @Excel(name = "安全气体水平(m³)")
    private Long safetyGasLevel;
    /**
     * 最小气体水平(m³)
     */
    @Excel(name = "最小气体水平(m³)")
    private Long minGasLevel;
    /**
     * 最大气体水平(m³)
     */
    @Excel(name = "最大气体水平(m³)")
    private Long maxGasLevel;
    /**
     * 当前压力(MPa)
     */
    @Excel(name = "当前压力(MPa)")
    private Double currentPressure;
    /**
     * 预警类型
     */
    @Excel(name = "预警类型")
    private String warningType;
    /**
     * 预警等级
     */
    @Excel(name = "预警等级")
    private String warningLevel;
    /**
     * 预警阈值
     */
    @Excel(name = "预警阈值")
    private Long warningThreshold;
    /**
     * 是否启用
     */
    @Excel(name = "是否启用")
    private Boolean isEnabled;
    /**
     * 预警规则-当???时触发预警
     */
    @Excel(name = "预警规则")
    private String warningRule;
    /**
     * 预警时间
     */
    @Excel(name = "预警时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime warningTime;
    /**
     * 预警持续天数
     */
    @Excel(name = "预警持续天数")
    private Long warningDuration;
    /**
     * 最后更新时间
     */
    @Excel(name = "最后更新时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime lastUpdateTime;
    /**
     * 预期充装时间
     */
    @Excel(name = "预期充装时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime expectedRefillTime;
    /**
     * 预期缺气时间
     */
    @Excel(name = "预期缺气时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime expectedShortageTime;
    /**
     * 创建时间
     */
    @TableField(fill = FieldFill.INSERT)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;
 
    /**
     * 更新时间
     */
    @TableField(fill = FieldFill.INSERT_UPDATE)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime updateTime;
 
    /**
     * 创建人
     */
    @TableField(fill = FieldFill.INSERT)
    private Integer createUser;
 
    /**
     * 更新人
     */
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Integer updateUser;
 
    /**
     * 租户ID
     */
    @TableField(fill = FieldFill.INSERT)
    private Long tenantId;
}