1
zj
2024-06-03 09206aedcfdf30050123e99f2af0a192ebad1de4
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
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
package com.nq.pojo;
 
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
 
import java.math.BigDecimal;
import java.util.Date;
@Data
public class UserIndexPosition {
    private Integer id;
    private Integer positionType;
    private String positionSn;
    private Integer userId;
    private String realName;
    private Integer agentId;
    private String indexName;
    private String indexCode;
    private String indexGid;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
 
    private Date buyOrderTime;
    private BigDecimal buyOrderPrice;
    private Date sellOrderTime;
    private BigDecimal sellOrderPrice;
    private String orderDirection;
    private Integer orderNum;
    private BigDecimal allDepositAmt;
    private BigDecimal orderFee;
    private Integer orderStayDays;
    private BigDecimal eachPoint;
    private BigDecimal profitAndLose;
    private BigDecimal allProfitAndLose;
    private Integer isLock;
    private String lockMsg;
    /*杠杆倍数*/
    private Integer orderLever;
    private BigDecimal profitTargetPrice;
    private BigDecimal stopTargetPrice;
 
    public UserIndexPosition(Integer id, Integer positionType, String positionSn, Integer userId, String realName, Integer agentId, String indexName, String indexCode, String indexGid, Date buyOrderTime, BigDecimal buyOrderPrice, Date sellOrderTime, BigDecimal sellOrderPrice, String orderDirection, Integer orderNum, BigDecimal allDepositAmt, BigDecimal orderFee, Integer orderStayDays, BigDecimal eachPoint, BigDecimal profitAndLose, BigDecimal allProfitAndLose, Integer isLock, String lockMsg, Integer orderLever, BigDecimal profitTargetPrice, BigDecimal stopTargetPrice) {
        this.id = id;
        this.positionType = positionType;
        this.positionSn = positionSn;
        this.userId = userId;
        this.realName = realName;
        this.agentId = agentId;
        this.indexName = indexName;
        this.indexCode = indexCode;
        this.indexGid = indexGid;
        this.buyOrderTime = buyOrderTime;
        this.buyOrderPrice = buyOrderPrice;
        this.sellOrderTime = sellOrderTime;
        this.sellOrderPrice = sellOrderPrice;
        this.orderDirection = orderDirection;
        this.orderNum = orderNum;
        this.allDepositAmt = allDepositAmt;
        this.orderFee = orderFee;
        this.orderStayDays = orderStayDays;
        this.eachPoint = eachPoint;
        this.profitAndLose = profitAndLose;
        this.allProfitAndLose = allProfitAndLose;
        this.isLock = isLock;
        this.lockMsg = lockMsg;
        this.orderLever = orderLever;
        this.profitTargetPrice = profitTargetPrice;
        this.stopTargetPrice = stopTargetPrice;
 
    }
 
 
    public UserIndexPosition() {
    }
 
    public Integer getId() {
        return id;
    }
 
    public void setId(Integer id) {
        this.id = id;
    }
 
    public Integer getPositionType() {
        return positionType;
    }
 
    public void setPositionType(Integer positionType) {
        this.positionType = positionType;
    }
 
    public String getPositionSn() {
        return positionSn;
    }
 
    public void setPositionSn(String positionSn) {
        this.positionSn = positionSn;
    }
 
    public Integer getUserId() {
        return userId;
    }
 
    public void setUserId(Integer userId) {
        this.userId = userId;
    }
 
    public String getRealName() {
        return realName;
    }
 
    public void setRealName(String realName) {
        this.realName = realName;
    }
 
    public Integer getAgentId() {
        return agentId;
    }
 
    public void setAgentId(Integer agentId) {
        this.agentId = agentId;
    }
 
    public String getIndexName() {
        return indexName;
    }
 
    public void setIndexName(String indexName) {
        this.indexName = indexName;
    }
 
    public String getIndexCode() {
        return indexCode;
    }
 
    public void setIndexCode(String indexCode) {
        this.indexCode = indexCode;
    }
 
    public String getIndexGid() {
        return indexGid;
    }
 
    public void setIndexGid(String indexGid) {
        this.indexGid = indexGid;
    }
 
    public Date getBuyOrderTime() {
        return buyOrderTime;
    }
 
    public void setBuyOrderTime(Date buyOrderTime) {
        this.buyOrderTime = buyOrderTime;
    }
 
    public BigDecimal getBuyOrderPrice() {
        return buyOrderPrice;
    }
 
    public void setBuyOrderPrice(BigDecimal buyOrderPrice) {
        this.buyOrderPrice = buyOrderPrice;
    }
 
    public Date getSellOrderTime() {
        return sellOrderTime;
    }
 
    public void setSellOrderTime(Date sellOrderTime) {
        this.sellOrderTime = sellOrderTime;
    }
 
    public BigDecimal getSellOrderPrice() {
        return sellOrderPrice;
    }
 
    public void setSellOrderPrice(BigDecimal sellOrderPrice) {
        this.sellOrderPrice = sellOrderPrice;
    }
 
    public String getOrderDirection() {
        return orderDirection;
    }
 
    public void setOrderDirection(String orderDirection) {
        this.orderDirection = orderDirection;
    }
 
    public Integer getOrderNum() {
        return orderNum;
    }
 
    public void setOrderNum(Integer orderNum) {
        this.orderNum = orderNum;
    }
 
    public BigDecimal getAllDepositAmt() {
        return allDepositAmt;
    }
 
    public void setAllDepositAmt(BigDecimal allDepositAmt) {
        this.allDepositAmt = allDepositAmt;
    }
 
    public BigDecimal getOrderFee() {
        return orderFee;
    }
 
    public void setOrderFee(BigDecimal orderFee) {
        this.orderFee = orderFee;
    }
 
    public Integer getOrderStayDays() {
        return orderStayDays;
    }
 
    public void setOrderStayDays(Integer orderStayDays) {
        this.orderStayDays = orderStayDays;
    }
 
    public BigDecimal getEachPoint() {
        return eachPoint;
    }
 
    public void setEachPoint(BigDecimal eachPoint) {
        this.eachPoint = eachPoint;
    }
 
    public BigDecimal getProfitAndLose() {
        return profitAndLose;
    }
 
    public void setProfitAndLose(BigDecimal profitAndLose) {
        this.profitAndLose = profitAndLose;
    }
 
    public BigDecimal getAllProfitAndLose() {
        return allProfitAndLose;
    }
 
    public void setAllProfitAndLose(BigDecimal allProfitAndLose) {
        this.allProfitAndLose = allProfitAndLose;
    }
 
    public Integer getIsLock() {
        return isLock;
    }
 
    public void setIsLock(Integer isLock) {
        this.isLock = isLock;
    }
 
    public String getLockMsg() {
        return lockMsg;
    }
 
    public void setLockMsg(String lockMsg) {
        this.lockMsg = lockMsg;
    }
 
    public Integer getOrderLever() {
        return orderLever;
    }
 
    public void setOrderLever(Integer orderLever) {
        this.orderLever = orderLever;
    }
}