| | |
| | | |
| | | @Data |
| | | @ToString |
| | | @NoArgsConstructor |
| | | @AllArgsConstructor |
| | | @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 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; |
| | | } |
| | | } |