peter
2025-11-19 c8a4e883abfe89e83fda268c14f30f3e6e45edee
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
package com.nq.vo.position;
 
import java.math.BigDecimal;
 
 
public class PositionVO {
    private BigDecimal allProfitAndLose;
    private BigDecimal allFreezAmt;
 
    public void setAllProfitAndLose(BigDecimal allProfitAndLose) {
        this.allProfitAndLose = allProfitAndLose;
    }
 
    public void setAllFreezAmt(BigDecimal allFreezAmt) {
        this.allFreezAmt = allFreezAmt;
    }
 
    public boolean equals(Object o) {
        if (o == this) return true;
        if (!(o instanceof PositionVO)) return false;
        PositionVO other = (PositionVO) o;
        if (!other.canEqual(this)) return false;
        Object this$allProfitAndLose = getAllProfitAndLose(), other$allProfitAndLose = other.getAllProfitAndLose();
        if ((this$allProfitAndLose == null) ? (other$allProfitAndLose != null) : !this$allProfitAndLose.equals(other$allProfitAndLose))
            return false;
        Object this$allFreezAmt = getAllFreezAmt(), other$allFreezAmt = other.getAllFreezAmt();
        return !((this$allFreezAmt == null) ? (other$allFreezAmt != null) : !this$allFreezAmt.equals(other$allFreezAmt));
    }
 
    protected boolean canEqual(Object other) {
        return other instanceof PositionVO;
    }
 
    public int hashCode() {
        int PRIME = 59;
        int result = 1;
        Object $allProfitAndLose = getAllProfitAndLose();
        result = result * 59 + (($allProfitAndLose == null) ? 43 : $allProfitAndLose.hashCode());
        Object $allFreezAmt = getAllFreezAmt();
        return result * 59 + (($allFreezAmt == null) ? 43 : $allFreezAmt.hashCode());
    }
 
    public String toString() {
        return "PositionVO(allProfitAndLose=" + getAllProfitAndLose() + ", allFreezAmt=" + getAllFreezAmt() + ")";
    }
 
 
    public BigDecimal getAllProfitAndLose() {
        return this.allProfitAndLose;
    }
 
 
    public BigDecimal getAllFreezAmt() {
        return this.allFreezAmt;
    }
}