whycxzp
2021-05-08 bf11d37faf3c24c33336421c1bf7fe4b3cd52f6b
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
package com.whyc.pojo;
 
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.ibatis.type.Alias;
 
@Alias("AlarmRule")
@TableName(schema = "`db_3.5mw_web`",value ="tb_alarm_rule" )
@ApiModel
public class AlarmRule {
 
    private Integer id;
    @ApiModelProperty("设备字段")
    private String field;
    @ApiModelProperty("设备字段")
    private String name;
    @ApiModelProperty("告警名称")
    private String description;
    @ApiModelProperty("告警阈值")
    private Float threshold;
    @ApiModelProperty("告警级别")
    private Integer level;
    @ApiModelProperty("启用状态")
    private Integer status;
 
    public Integer getId() {
        return id;
    }
 
    public void setId(Integer id) {
        this.id = id;
    }
 
    public String getField() {
        return field;
    }
 
    public void setField(String field) {
        this.field = field;
    }
 
    public String getName() {
        return name;
    }
 
    public void setName(String name) {
        this.name = name;
    }
 
    public String getDescription() {
        return description;
    }
 
    public void setDescription(String description) {
        this.description = description;
    }
 
    public Float getThreshold() {
        return threshold;
    }
 
    public void setThreshold(Float threshold) {
        this.threshold = threshold;
    }
 
    public Integer getLevel() {
        return level;
    }
 
    public void setLevel(Integer level) {
        this.level = level;
    }
 
    public Integer getStatus() {
        return status;
    }
 
    public void setStatus(Integer status) {
        this.status = status;
    }
}