From f65443d8abeaedc9d102324565e8368e7c9d90c8 Mon Sep 17 00:00:00 2001 From: 郑永安 <zyazyz250@sina.com> Date: 星期一, 19 六月 2023 14:41:54 +0800 Subject: [PATCH] commit --- src/main/java/com/gk/firework/Domain/WarningInfo.java | 133 ++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 133 insertions(+), 0 deletions(-) diff --git a/src/main/java/com/gk/firework/Domain/WarningInfo.java b/src/main/java/com/gk/firework/Domain/WarningInfo.java new file mode 100644 index 0000000..573fbf6 --- /dev/null +++ b/src/main/java/com/gk/firework/Domain/WarningInfo.java @@ -0,0 +1,133 @@ +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; + } +} -- Gitblit v1.9.2