package com.qianwen.smartman.modules.visual.vo;
|
|
import io.swagger.annotations.ApiModelProperty;
|
|
|
public class TimeStatusVO extends VisualBaseVO {
|
/**
|
* top x,查询最高的几条
|
*/
|
@ApiModelProperty("设备top数据")
|
private Integer top;
|
|
public void setTop(final Integer top) {
|
this.top = top;
|
}
|
|
@Override // org.springblade.modules.visual.vo.VisualBaseVO
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof TimeStatusVO) {
|
TimeStatusVO other = (TimeStatusVO) o;
|
if (other.canEqual(this)) {
|
Object this$top = getTop();
|
Object other$top = other.getTop();
|
return this$top == null ? other$top == null : this$top.equals(other$top);
|
}
|
return false;
|
}
|
return false;
|
}
|
|
@Override // org.springblade.modules.visual.vo.VisualBaseVO
|
protected boolean canEqual(final Object other) {
|
return other instanceof TimeStatusVO;
|
}
|
|
@Override // org.springblade.modules.visual.vo.VisualBaseVO
|
public int hashCode() {
|
Object $top = getTop();
|
int result = (1 * 59) + ($top == null ? 43 : $top.hashCode());
|
return result;
|
}
|
|
@Override // org.springblade.modules.visual.vo.VisualBaseVO
|
public String toString() {
|
return "TimeStatusVO(top=" + getTop() + ")";
|
}
|
|
public Integer getTop() {
|
return this.top;
|
}
|
}
|