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;
|
}
|
}
|