package com.yssh.entity;
|
|
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModelProperty;
|
|
import java.io.Serializable;
|
import java.util.Date;
|
|
import lombok.Data;
|
import lombok.ToString;
|
|
@Data
|
@ToString
|
@ApiModel(value="报警/预警对象", description="报警/预警对象")
|
public class WarningDetail implements Serializable {
|
public WarningDetail() {
|
}
|
|
public WarningDetail(Long id, String tableName, String suYuanId, String locationName, Date createTime, Integer type, Double value) {
|
this.id = id;
|
this.tableName = tableName;
|
this.suYuanId = suYuanId;
|
this.locationName = locationName;
|
this.createTime = createTime;
|
this.type = type;
|
this.value = value;
|
}
|
|
private static final long serialVersionUID = 1610250573910282005L;
|
|
@ApiModelProperty(value = "主键")
|
private Long id;
|
|
@ApiModelProperty(value = "溯源数据表名")
|
private String tableName;
|
|
@ApiModelProperty(value = "溯源数据编号")
|
private String suYuanId;
|
|
@ApiModelProperty(value = "点位名称")
|
private String locationName;
|
|
@ApiModelProperty(value = "时间")
|
private Date createTime;
|
|
@ApiModelProperty(value = "类型")
|
private Integer type;
|
|
@ApiModelProperty(value = "数值")
|
private Double value;
|
|
public Long getId() {
|
return id;
|
}
|
|
public void setId(Long id) {
|
this.id = id;
|
}
|
|
public String getTableName() {
|
return tableName;
|
}
|
|
public void setTableName(String tableName) {
|
this.tableName = tableName;
|
}
|
|
public String getSuYuanId() {
|
return suYuanId;
|
}
|
|
public void setSuYuanId(String suYuanId) {
|
this.suYuanId = suYuanId;
|
}
|
|
public String getLocationName() {
|
return locationName;
|
}
|
|
public void setLocationName(String locationName) {
|
this.locationName = locationName;
|
}
|
|
public Date getCreateTime() {
|
return createTime;
|
}
|
|
public void setCreateTime(Date createTime) {
|
this.createTime = createTime;
|
}
|
|
public Integer getType() {
|
return type;
|
}
|
|
public void setType(Integer type) {
|
this.type = type;
|
}
|
|
public Double getValue() {
|
return value;
|
}
|
|
public void setValue(Double value) {
|
this.value = value;
|
}
|
}
|