zj
2024-06-03 4afe73cb84c5a609662b8b4ee20693de9b86b9a3
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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
package com.nq.vo.stock;
 
import lombok.Data;
 
@Data
public class MarketVO {
 
    private String name;
 
    private String nowPrice;
 
    private String increaseRate;
 
    private String increase;
 
    private String type;
    public void setName(String name) {
        this.name = name;
    }
 
    public void setNowPrice(String nowPrice) {
        this.nowPrice = nowPrice;
    }
 
    public void setIncreaseRate(String increaseRate) {
        this.increaseRate = increaseRate;
    }
 
    public void setIncrease(String increase) {
        this.increase = increase;
    }
 
    public boolean equals(Object o) {
        if (o == this) return true;
        if (!(o instanceof MarketVO)) return false;
        MarketVO other = (MarketVO) o;
        if (!other.canEqual(this)) return false;
        Object this$name = getName(), other$name = other.getName();
        if ((this$name == null) ? (other$name != null) : !this$name.equals(other$name)) return false;
        Object this$nowPrice = getNowPrice(), other$nowPrice = other.getNowPrice();
        if ((this$nowPrice == null) ? (other$nowPrice != null) : !this$nowPrice.equals(other$nowPrice)) return false;
        Object this$increaseRate = getIncreaseRate(), other$increaseRate = other.getIncreaseRate();
        if ((this$increaseRate == null) ? (other$increaseRate != null) : !this$increaseRate.equals(other$increaseRate))
            return false;
        Object this$increase = getIncrease(), other$increase = other.getIncrease();
        return !((this$increase == null) ? (other$increase != null) : !this$increase.equals(other$increase));
    }
 
    protected boolean canEqual(Object other) {
        return other instanceof MarketVO;
    }
 
    public int hashCode() {
        int PRIME = 59;
        int result = 1;
        Object $name = getName();
        result = result * 59 + (($name == null) ? 43 : $name.hashCode());
        Object $nowPrice = getNowPrice();
        result = result * 59 + (($nowPrice == null) ? 43 : $nowPrice.hashCode());
        Object $increaseRate = getIncreaseRate();
        result = result * 59 + (($increaseRate == null) ? 43 : $increaseRate.hashCode());
        Object $increase = getIncrease();
        return result * 59 + (($increase == null) ? 43 : $increase.hashCode());
    }
 
    public String toString() {
        return "MarketVO(name=" + getName() + ", nowPrice=" + getNowPrice() + ", increaseRate=" + getIncreaseRate() + ", increase=" + getIncrease() + ")";
    }
 
 
    public String getName() {
        return this.name;
    }
 
 
    public String getNowPrice() {
        return this.nowPrice;
    }
 
 
    public String getIncreaseRate() {
        return this.increaseRate;
    }
 
 
    public String getIncrease() {
        return this.increase;
    }
 
}