|
|
@@ -1,6 +1,7 @@
|
|
|
package com.yunfeiyun.agmp.iot.common.domain;
|
|
|
|
|
|
import java.util.Date;
|
|
|
+
|
|
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
|
|
import com.yunfeiyun.agmp.common.core.domain.BaseEntity;
|
|
|
import org.hibernate.validator.constraints.Length;
|
|
|
@@ -9,7 +10,7 @@ import com.yunfeiyun.agmp.common.annotation.Excel;
|
|
|
|
|
|
/**
|
|
|
* 告警触发次数对象 IotWarncount
|
|
|
- *
|
|
|
+ *
|
|
|
* @author 杨晓辉
|
|
|
* @date 2025-03-07
|
|
|
*/
|
|
|
@@ -17,32 +18,45 @@ import com.yunfeiyun.agmp.common.annotation.Excel;
|
|
|
public class IotWarncount extends IotBaseEntity {
|
|
|
private static final long serialVersionUID = 1L;
|
|
|
|
|
|
- /** 自增主键 */
|
|
|
+ /**
|
|
|
+ * 自增主键
|
|
|
+ */
|
|
|
private Long id;
|
|
|
|
|
|
- /** 告警触发次数标识 */
|
|
|
- @Length(max = 36 , message = "告警触发次数标识最大长度为36")
|
|
|
+ /**
|
|
|
+ * 告警触发次数标识
|
|
|
+ */
|
|
|
+ @Length(max = 36, message = "告警触发次数标识最大长度为36")
|
|
|
private String wctBid;
|
|
|
|
|
|
- /** 告警配置业务标识 */
|
|
|
- @Length(max = 36 , message = "告警配置业务标识最大长度为36")
|
|
|
+ /**
|
|
|
+ * 告警配置业务标识
|
|
|
+ */
|
|
|
+ @Length(max = 36, message = "告警配置业务标识最大长度为36")
|
|
|
private String wcBid;
|
|
|
|
|
|
- /** 设备ID */
|
|
|
- @Length(max = 36 , message = "设备ID最大长度为36")
|
|
|
+ /**
|
|
|
+ * 设备ID
|
|
|
+ */
|
|
|
+ @Length(max = 36, message = "设备ID最大长度为36")
|
|
|
private String devBid;
|
|
|
|
|
|
- /** 当前重复次数 */
|
|
|
+ /**
|
|
|
+ * 当前重复次数
|
|
|
+ */
|
|
|
@Excel(name = "当前重复次数")
|
|
|
private Long wctCount;
|
|
|
|
|
|
- /** 最后更新时间 */
|
|
|
- @JsonFormat(pattern = "yyyy-MM-dd")
|
|
|
+ /**
|
|
|
+ * 最后更新时间
|
|
|
+ */
|
|
|
@Excel(name = "最后更新时间", width = 30, dateFormat = "yyyy-MM-dd")
|
|
|
- private Date lastUpdateTime;
|
|
|
+ private String lastUpdateTime;
|
|
|
|
|
|
- /** 租户标识 */
|
|
|
- @Length(max = 36 , message = "租户标识最大长度为36")
|
|
|
+ /**
|
|
|
+ * 租户标识
|
|
|
+ */
|
|
|
+ @Length(max = 36, message = "租户标识最大长度为36")
|
|
|
private String tid;
|
|
|
|
|
|
}
|