1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
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;
    }
}