package com.gk.firework.Domain;
|
|
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 io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModelProperty;
|
|
import java.io.Serializable;
|
import java.util.Date;
|
|
@ApiModel("报警阈值类")
|
@TableName("warning")
|
public class WarningInfo implements Serializable {
|
@TableField(exist = false)
|
private static final long serialVersionUID = 1L;
|
|
@TableId(type = IdType.AUTO)
|
private Long id;
|
|
/** 警告类型 warntype **/
|
private String warntype;
|
|
/** 计算周期(天) period **/
|
private Integer period;
|
|
/** 企业类型 enterprisetype **/
|
private String enterprisetype;
|
|
/** 报警是否开启短信通知 issms **/
|
private Byte issms;
|
|
/** 预警值 minimum **/
|
private Integer minimum;
|
|
/** 报警值 maximum **/
|
private Integer maximum;
|
|
/** 更新人 modifiedby **/
|
@ApiModelProperty("更新人")
|
private String modifiedby;
|
|
/** 更新时间 modifieddate **/
|
@ApiModelProperty("更新时间")
|
private Date modifieddate;
|
|
/** id **/
|
public Long getId() {
|
return id;
|
}
|
|
/** id **/
|
public void setId(Long id) {
|
this.id = id;
|
}
|
|
/** 类型 warntype **/
|
public String getWarntype() {
|
return warntype;
|
}
|
|
/** 类型 warntype **/
|
public void setWarntype(String warntype) {
|
this.warntype = warntype == null ? null : warntype.trim();
|
}
|
|
/** 计算周期(天) period **/
|
public Integer getPeriod() {
|
return period;
|
}
|
|
/** 计算周期(天) period **/
|
public void setPeriod(Integer period) {
|
this.period = period;
|
}
|
|
/** 企业类型 enterprisetype **/
|
public String getEnterprisetype() {
|
return enterprisetype;
|
}
|
|
/** 企业类型 enterprisetype **/
|
public void setEnterprisetype(String enterprisetype) {
|
this.enterprisetype = enterprisetype == null ? null : enterprisetype.trim();
|
}
|
|
/** 报警是否开启短信通知 issms **/
|
public Byte getIssms() {
|
return issms;
|
}
|
|
/** 报警是否开启短信通知 issms **/
|
public void setIssms(Byte issms) {
|
this.issms = issms;
|
}
|
|
/** 预警值 minimum **/
|
public Integer getMinimum() {
|
return minimum;
|
}
|
|
/** 预警值 minimum **/
|
public void setMinimum(Integer minimum) {
|
this.minimum = minimum;
|
}
|
|
/** 报警值 maximum **/
|
public Integer getMaximum() {
|
return maximum;
|
}
|
|
/** 报警值 maximum **/
|
public void setMaximum(Integer maximum) {
|
this.maximum = maximum;
|
}
|
|
public String getModifiedby() {
|
return modifiedby;
|
}
|
|
public void setModifiedby(String modifiedby) {
|
this.modifiedby = modifiedby;
|
}
|
|
public Date getModifieddate() {
|
return modifieddate;
|
}
|
|
public void setModifieddate(Date modifieddate) {
|
this.modifieddate = modifieddate;
|
}
|
}
|