zj
2025-02-25 dd315d5732e14fcf3df71e0cf213cc442bd8607b
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
package project.futures;
 
import java.io.Serializable;
 
import javax.persistence.Column;
import javax.persistence.Table;
 
import kernel.bo.EntityObject;
 
@Table(name="T_PROFIT_LOSS_CONFIG")
public class ProfitAndLossConfig extends EntityObject {
    private static final long serialVersionUID = -1367032133017670721L;
    /**
     * 盈利
     */
    public final static String TYPE_PROFIT = "profit";
    public final static String TYPE_LOSS = "loss";
    public final static String TYPE_BUY_PROFIT = "buy_profit";
    public final static String TYPE_SELL_PROFIT = "sell_profit";
    /**
     * 买多盈利并且买空亏损
     */
    public final static String TYPE_BUY_PROFIT_SELL_LOSS = "buy_profit_sell_loss";
    /**
     * 买空盈利并且买多亏损
     */
    public final static String TYPE_SELL_PROFIT_BUY_LOSS = "sell_profit_buy_loss";
 
    @Column(name="PARTY_ID")
    private Serializable partyId;
    
    /**
     * 见TYPE_* 1 盈利,2亏损,3 买多盈利,4买空盈利
     */
    @Column(name="TYPE")
    private String type;
 
    /**
     * 备注
     */
    @Column(name="REMARK")
    private String remark;
 
    public Serializable getPartyId() {
        return partyId;
    }
 
    public void setPartyId(Serializable partyId) {
        this.partyId = partyId;
    }
 
    public String getType() {
        return type;
    }
 
    public void setType(String type) {
        this.type = type;
    }
 
    public String getRemark() {
        return remark;
    }
 
    public void setRemark(String remark) {
        this.remark = remark;
    }
 
}