package com.ycl.platform.domain.entity;
|
|
|
import annotation.Excel;
|
import com.ycl.system.entity.BaseEntity;
|
import org.apache.commons.lang3.builder.ToStringBuilder;
|
import org.apache.commons.lang3.builder.ToStringStyle;
|
|
/**
|
* 运维阈值对象 t_yw_threshold
|
*
|
* @author gonghl
|
* @date 2024-03-25
|
*/
|
public class YwThreshold extends BaseEntity {
|
private static final long serialVersionUID = 1L;
|
|
/**
|
* 主键
|
*/
|
private Integer id;
|
|
/**
|
* 设备类型:1人脸 2车辆 3视频
|
*/
|
@Excel(name = "设备类型:1人脸 2车辆 3视频")
|
private String monitorType;
|
|
/**
|
* 超时天数
|
*/
|
@Excel(name = "超时天数")
|
private Integer timeout;
|
|
/**
|
* 指标json
|
*/
|
@Excel(name = "指标json")
|
private String indicator;
|
|
/**
|
* 逻辑删除:0未删除 1删除
|
*/
|
private String deleted;
|
|
public void setId(Integer id) {
|
this.id = id;
|
}
|
|
public Integer getId() {
|
return id;
|
}
|
|
public void setMonitorType(String monitorType) {
|
this.monitorType = monitorType;
|
}
|
|
public String getMonitorType() {
|
return monitorType;
|
}
|
|
public void setTimeout(Integer timeout) {
|
this.timeout = timeout;
|
}
|
|
public Integer getTimeout() {
|
return timeout;
|
}
|
|
public void setIndicator(String indicator) {
|
this.indicator = indicator;
|
}
|
|
public String getIndicator() {
|
return indicator;
|
}
|
|
public void setDeleted(String deleted) {
|
this.deleted = deleted;
|
}
|
|
public String getDeleted() {
|
return deleted;
|
}
|
|
@Override
|
public String toString() {
|
return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
|
.append("id", getId())
|
.append("monitorType", getMonitorType())
|
.append("timeout", getTimeout())
|
.append("indicator", getIndicator())
|
.append("createTime", getCreateTime())
|
.append("updateTime", getUpdateTime())
|
.append("deleted", getDeleted())
|
.toString();
|
}
|
}
|