zj
2025-05-02 01830e44921b187b448d8cce9c9a46b9ad55af43
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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
package project.futures;
 
import javax.persistence.Column;
import javax.persistence.Table;
 
import kernel.bo.EntityObject;
 
@Table(name="T_FUTURES_PARA")
public class FuturesPara extends EntityObject {
 
    private static final long serialVersionUID = 8373415549401215805L;
    public final static String TIMENUM_SECOND = "second";
    public final static String TIMENUM_MINUTE = "minute";
    public final static String TIMENUM_HOUR = "hour";
    public final static String TIMENUM_DAY = "day";
 
    public enum TIMENUM {
        second(TIMENUM_SECOND, "秒"), minute(TIMENUM_MINUTE, "分"), hour(TIMENUM_HOUR, "时"), day(TIMENUM_DAY, "天");
 
        private String timenum;
        private String cn;
 
        TIMENUM(String timenum, String cn) {
            this.timenum = timenum;
            this.cn = cn;
        }
 
        public String getCn() {
            return this.cn;
        }
 
        public String getTimenum() {
            return timenum;
        }
 
    }
 
    /**
     * 币种
     */
    @Column(name="SYMBOL")
    private String symbol;
    
    /**
     * 时间长度
     */
    @Column(name="TIMENUM")
    private int timeNum;
    
    /**
     * 时间单位
     */
    @Column(name="TIMEUNIT")
    private String timeUnit;
 
    /**
     * 金额 ,字段命令错误,这里是最低购买金额
     */
    @Column(name="UNIT_AMOUNT")
    private double unit_amount;
 
    /**
     * 手续费(%),字段命令错误
     */
    @Column(name="UNIT_FEE")
    private double unit_fee;
 
    /**
     * 浮动最小收益率
     */
    @Column(name="PROFIT_RATIO")
    private double profit_ratio;
    /**
     * 浮动最大收益率
     */
    @Column(name="PROFIT_RATIO_MAX")
    private double profit_ratio_max;
 
    /**
     * 时间单位cn
     */
    private String timeUnitCn;
 
    /**
     * 每手最高价格
     */
    @Column(name="UNIT_MAX_AMOUNT")
    private double unit_max_amount;
 
    public String getSymbol() {
        return symbol;
    }
 
    public void setSymbol(String symbol) {
        this.symbol = symbol;
    }
 
    public int getTimeNum() {
        return timeNum;
    }
 
    public void setTimeNum(int timeNum) {
        this.timeNum = timeNum;
    }
 
    public String getTimeUnit() {
        return timeUnit;
    }
 
    public void setTimeUnit(String timeUnit) {
        this.timeUnit = timeUnit;
    }
 
    public double getUnit_amount() {
        return unit_amount;
    }
 
    public void setUnit_amount(double unit_amount) {
        this.unit_amount = unit_amount;
    }
 
    public double getProfit_ratio() {
        return profit_ratio;
    }
 
    public void setProfit_ratio(double profit_ratio) {
        this.profit_ratio = profit_ratio;
    }
 
    public double getUnit_fee() {
        return unit_fee;
    }
 
    public void setUnit_fee(double unit_fee) {
        this.unit_fee = unit_fee;
    }
 
    public String getTimeUnitCn() {
        return timeUnitCn;
    }
 
    public void setTimeUnitCn(String timeUnitCn) {
        this.timeUnitCn = timeUnitCn;
    }
 
    public double getProfit_ratio_max() {
        return profit_ratio_max;
    }
 
    public void setProfit_ratio_max(double profit_ratio_max) {
        this.profit_ratio_max = profit_ratio_max;
    }
 
    public double getUnit_max_amount() {
        return unit_max_amount;
    }
 
    public void setUnit_max_amount(double unit_max_amount) {
        this.unit_max_amount = unit_max_amount;
    }
 
}