zj
2024-06-03 287ac389edd047696d956afafdb855a93830bc0c
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.futuresposition;
 
 
import java.math.BigDecimal;
 
 
public class FuturesPositionVO {
    private BigDecimal allFuturesProfitAndLose;
    private BigDecimal allFuturesDepositAmt;
 
    public void setAllFuturesProfitAndLose(BigDecimal allFuturesProfitAndLose) {
        this.allFuturesProfitAndLose = allFuturesProfitAndLose;
    }
 
    public void setAllFuturesDepositAmt(BigDecimal allFuturesDepositAmt) {
        this.allFuturesDepositAmt = allFuturesDepositAmt;
    }
 
    public boolean equals(Object o) {
        if (o == this) return true;
        if (!(o instanceof FuturesPositionVO)) return false;
        FuturesPositionVO other = (FuturesPositionVO) o;
        if (!other.canEqual(this)) return false;
        Object this$allFuturesProfitAndLose = getAllFuturesProfitAndLose(), other$allFuturesProfitAndLose = other.getAllFuturesProfitAndLose();
        if ((this$allFuturesProfitAndLose == null) ? (other$allFuturesProfitAndLose != null) : !this$allFuturesProfitAndLose.equals(other$allFuturesProfitAndLose))
            return false;
        Object this$allFuturesDepositAmt = getAllFuturesDepositAmt(), other$allFuturesDepositAmt = other.getAllFuturesDepositAmt();
        return !((this$allFuturesDepositAmt == null) ? (other$allFuturesDepositAmt != null) : !this$allFuturesDepositAmt.equals(other$allFuturesDepositAmt));
    }
 
    protected boolean canEqual(Object other) {
        return other instanceof FuturesPositionVO;
    }
 
    public int hashCode() {
        int PRIME = 59;
        int result = 1;
        Object $allFuturesProfitAndLose = getAllFuturesProfitAndLose();
        result = result * 59 + (($allFuturesProfitAndLose == null) ? 43 : $allFuturesProfitAndLose.hashCode());
        Object $allFuturesDepositAmt = getAllFuturesDepositAmt();
        return result * 59 + (($allFuturesDepositAmt == null) ? 43 : $allFuturesDepositAmt.hashCode());
    }
 
    public String toString() {
        return "FuturesPositionVO(allFuturesProfitAndLose=" + getAllFuturesProfitAndLose() + ", allFuturesDepositAmt=" + getAllFuturesDepositAmt() + ")";
    }
 
 
    public BigDecimal getAllFuturesProfitAndLose() {
        return this.allFuturesProfitAndLose;
    }
 
 
    public BigDecimal getAllFuturesDepositAmt() {
        return this.allFuturesDepositAmt;
    }
}