|
|
@@ -1,247 +0,0 @@
|
|
|
-package com.yunfeiyun.agmp.iot.common.domain;
|
|
|
-
|
|
|
-import org.apache.commons.lang3.builder.ToStringBuilder;
|
|
|
-import org.apache.commons.lang3.builder.ToStringStyle;
|
|
|
-import org.hibernate.validator.constraints.Length;
|
|
|
-import com.yunfeiyun.agmp.common.annotation.Excel;
|
|
|
-
|
|
|
-/**
|
|
|
- * 告警记录对象 IotWarnRecord
|
|
|
- *
|
|
|
- * @author 杨晓辉
|
|
|
- * @date 2025-03-07
|
|
|
- */
|
|
|
-public class IotWarnRecord extends IotBaseEntity
|
|
|
-{
|
|
|
- private static final long serialVersionUID = 1L;
|
|
|
-
|
|
|
- /** 自增主键 */
|
|
|
- private Long id;
|
|
|
-
|
|
|
- /** 告警记录标识 */
|
|
|
- @Length(max = 36 , message = "告警记录标识最大长度为36")
|
|
|
- private String wrBid;
|
|
|
-
|
|
|
- /** 告警名称 */
|
|
|
- @Length(max = 100 , message = "告警名称最大长度为100")
|
|
|
- private String wrName;
|
|
|
-
|
|
|
- /** 告警类型 */
|
|
|
- @Length(max = 50 , message = "告警类型最大长度为50")
|
|
|
- private String wrType;
|
|
|
-
|
|
|
- /** 告警内容 */
|
|
|
- @Length(max = 50 , message = "告警内容最大长度为50")
|
|
|
- private String wrContent;
|
|
|
-
|
|
|
- /** 告警等级《普通/重要/紧急》 */
|
|
|
- @Length(max = 1 , message = "告警等级《普通/重要/紧急》最大长度为1")
|
|
|
- private String wrLevel;
|
|
|
-
|
|
|
- /** 设备型号 */
|
|
|
- @Length(max = 50 , message = "设备型号最大长度为50")
|
|
|
- private String devtypeBid;
|
|
|
-
|
|
|
- /** 设备ID */
|
|
|
- @Length(max = 36 , message = "设备ID最大长度为36")
|
|
|
- private String devBid;
|
|
|
-
|
|
|
- /** 处理状态,表示当前告警的状态(如未处理、已处理等) */
|
|
|
- @Excel(name = "处理状态,表示当前告警的状态", readConverterExp = "如=未处理、已处理等")
|
|
|
- private String status;
|
|
|
-
|
|
|
- /** 处理人 */
|
|
|
- @Length(max = 36 , message = "处理人最大长度为36")
|
|
|
- private String wrDealuserid;
|
|
|
-
|
|
|
- /** 处理结果 */
|
|
|
- @Length(max = 36 , message = "处理结果最大长度为36")
|
|
|
- private String wrDealresult;
|
|
|
-
|
|
|
- /** 处理时间 */
|
|
|
- @Length(max = 19 , message = "处理时间最大长度为19")
|
|
|
- private String wrDealtime;
|
|
|
-
|
|
|
- /** 创建人 */
|
|
|
- @Length(max = 36 , message = "创建人最大长度为36")
|
|
|
- private String wrCreator;
|
|
|
-
|
|
|
- /** 创建时间 */
|
|
|
- @Length(max = 19 , message = "创建时间最大长度为19")
|
|
|
- private String wrCreateddate;
|
|
|
-
|
|
|
- /** 上报数据冗余存储 */
|
|
|
- @Length(max = 65535 , message = "上报数据冗余存储最大长度为65535")
|
|
|
- private String wrData;
|
|
|
-
|
|
|
- /** 租户标识 */
|
|
|
- @Length(max = 36 , message = "租户标识最大长度为36")
|
|
|
- private String tid;
|
|
|
-
|
|
|
- public void setId(Long id)
|
|
|
- {
|
|
|
- this.id = id;
|
|
|
- }
|
|
|
-
|
|
|
- public Long getId()
|
|
|
- {
|
|
|
- return id;
|
|
|
- }
|
|
|
- public void setWrBid(String wrBid)
|
|
|
- {
|
|
|
- this.wrBid = wrBid;
|
|
|
- }
|
|
|
-
|
|
|
- public String getWrBid()
|
|
|
- {
|
|
|
- return wrBid;
|
|
|
- }
|
|
|
- public void setWrName(String wrName)
|
|
|
- {
|
|
|
- this.wrName = wrName;
|
|
|
- }
|
|
|
-
|
|
|
- public String getWrName()
|
|
|
- {
|
|
|
- return wrName;
|
|
|
- }
|
|
|
- public void setWrType(String wrType)
|
|
|
- {
|
|
|
- this.wrType = wrType;
|
|
|
- }
|
|
|
-
|
|
|
- public String getWrType()
|
|
|
- {
|
|
|
- return wrType;
|
|
|
- }
|
|
|
- public void setWrContent(String wrContent)
|
|
|
- {
|
|
|
- this.wrContent = wrContent;
|
|
|
- }
|
|
|
-
|
|
|
- public String getWrContent()
|
|
|
- {
|
|
|
- return wrContent;
|
|
|
- }
|
|
|
- public void setWrLevel(String wrLevel)
|
|
|
- {
|
|
|
- this.wrLevel = wrLevel;
|
|
|
- }
|
|
|
-
|
|
|
- public String getWrLevel()
|
|
|
- {
|
|
|
- return wrLevel;
|
|
|
- }
|
|
|
- public void setDevtypeBid(String devtypeBid)
|
|
|
- {
|
|
|
- this.devtypeBid = devtypeBid;
|
|
|
- }
|
|
|
-
|
|
|
- public String getDevtypeBid()
|
|
|
- {
|
|
|
- return devtypeBid;
|
|
|
- }
|
|
|
- public void setDevBid(String devBid)
|
|
|
- {
|
|
|
- this.devBid = devBid;
|
|
|
- }
|
|
|
-
|
|
|
- public String getDevBid()
|
|
|
- {
|
|
|
- return devBid;
|
|
|
- }
|
|
|
- public void setStatus(String status)
|
|
|
- {
|
|
|
- this.status = status;
|
|
|
- }
|
|
|
-
|
|
|
- public String getStatus()
|
|
|
- {
|
|
|
- return status;
|
|
|
- }
|
|
|
- public void setWrDealuserid(String wrDealuserid)
|
|
|
- {
|
|
|
- this.wrDealuserid = wrDealuserid;
|
|
|
- }
|
|
|
-
|
|
|
- public String getWrDealuserid()
|
|
|
- {
|
|
|
- return wrDealuserid;
|
|
|
- }
|
|
|
- public void setWrDealresult(String wrDealresult)
|
|
|
- {
|
|
|
- this.wrDealresult = wrDealresult;
|
|
|
- }
|
|
|
-
|
|
|
- public String getWrDealresult()
|
|
|
- {
|
|
|
- return wrDealresult;
|
|
|
- }
|
|
|
- public void setWrDealtime(String wrDealtime)
|
|
|
- {
|
|
|
- this.wrDealtime = wrDealtime;
|
|
|
- }
|
|
|
-
|
|
|
- public String getWrDealtime()
|
|
|
- {
|
|
|
- return wrDealtime;
|
|
|
- }
|
|
|
- public void setWrCreator(String wrCreator)
|
|
|
- {
|
|
|
- this.wrCreator = wrCreator;
|
|
|
- }
|
|
|
-
|
|
|
- public String getWrCreator()
|
|
|
- {
|
|
|
- return wrCreator;
|
|
|
- }
|
|
|
- public void setWrCreateddate(String wrCreateddate)
|
|
|
- {
|
|
|
- this.wrCreateddate = wrCreateddate;
|
|
|
- }
|
|
|
-
|
|
|
- public String getWrCreateddate()
|
|
|
- {
|
|
|
- return wrCreateddate;
|
|
|
- }
|
|
|
- public void setWrData(String wrData)
|
|
|
- {
|
|
|
- this.wrData = wrData;
|
|
|
- }
|
|
|
-
|
|
|
- public String getWrData()
|
|
|
- {
|
|
|
- return wrData;
|
|
|
- }
|
|
|
- public void setTid(String tid)
|
|
|
- {
|
|
|
- this.tid = tid;
|
|
|
- }
|
|
|
-
|
|
|
- public String getTid()
|
|
|
- {
|
|
|
- return tid;
|
|
|
- }
|
|
|
-
|
|
|
- @Override
|
|
|
- public String toString() {
|
|
|
- return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
|
|
|
- .append("id", getId())
|
|
|
- .append("wrBid", getWrBid())
|
|
|
- .append("wrName", getWrName())
|
|
|
- .append("wrType", getWrType())
|
|
|
- .append("wrContent", getWrContent())
|
|
|
- .append("wrLevel", getWrLevel())
|
|
|
- .append("devtypeBid", getDevtypeBid())
|
|
|
- .append("devBid", getDevBid())
|
|
|
- .append("status", getStatus())
|
|
|
- .append("wrDealuserid", getWrDealuserid())
|
|
|
- .append("wrDealresult", getWrDealresult())
|
|
|
- .append("wrDealtime", getWrDealtime())
|
|
|
- .append("wrCreator", getWrCreator())
|
|
|
- .append("wrCreateddate", getWrCreateddate())
|
|
|
- .append("wrData", getWrData())
|
|
|
- .append("tid", getTid())
|
|
|
- .toString();
|
|
|
- }
|
|
|
-}
|