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
package com.nq.vo.indexposition;
 
 
import java.math.BigDecimal;
 
 
public class IndexPositionVO {
    private BigDecimal allIndexProfitAndLose;
    private BigDecimal allIndexFreezAmt;
 
    public void setAllIndexProfitAndLose(BigDecimal allIndexProfitAndLose) {
        this.allIndexProfitAndLose = allIndexProfitAndLose;
    }
 
    public void setAllIndexFreezAmt(BigDecimal allIndexFreezAmt) {
        this.allIndexFreezAmt = allIndexFreezAmt;
    }
 
    public boolean equals(Object o) {
        if (o == this) return true;
        if (!(o instanceof IndexPositionVO)) return false;
        IndexPositionVO other = (IndexPositionVO) o;
        if (!other.canEqual(this)) return false;
        Object this$allIndexProfitAndLose = getAllIndexProfitAndLose(), other$allIndexProfitAndLose = other.getAllIndexProfitAndLose();
        if ((this$allIndexProfitAndLose == null) ? (other$allIndexProfitAndLose != null) : !this$allIndexProfitAndLose.equals(other$allIndexProfitAndLose))
            return false;
        Object this$allIndexFreezAmt = getAllIndexFreezAmt(), other$allIndexFreezAmt = other.getAllIndexFreezAmt();
        return !((this$allIndexFreezAmt == null) ? (other$allIndexFreezAmt != null) : !this$allIndexFreezAmt.equals(other$allIndexFreezAmt));
    }
 
    protected boolean canEqual(Object other) {
        return other instanceof IndexPositionVO;
    }
 
    public int hashCode() {
        int PRIME = 59;
        int result = 1;
        Object $allIndexProfitAndLose = getAllIndexProfitAndLose();
        result = result * 59 + (($allIndexProfitAndLose == null) ? 43 : $allIndexProfitAndLose.hashCode());
        Object $allIndexFreezAmt = getAllIndexFreezAmt();
        return result * 59 + (($allIndexFreezAmt == null) ? 43 : $allIndexFreezAmt.hashCode());
    }
 
    public String toString() {
        return "IndexPositionVO(allIndexProfitAndLose=" + getAllIndexProfitAndLose() + ", allIndexFreezAmt=" + getAllIndexFreezAmt() + ")";
    }
 
 
    public BigDecimal getAllIndexProfitAndLose() {
        return this.allIndexProfitAndLose;
    }
 
 
    public BigDecimal getAllIndexFreezAmt() {
        return this.allIndexFreezAmt;
    }
}