| | |
| | | private BigDecimal buyOrderPrice; |
| | | private String sellOrderId; |
| | | private Date sellOrderTime; |
| | | private Integer status; |
| | | private Integer lockDays; |
| | | |
| | | public void setId(Integer id) { |
| | | this.id = id; |
| | |
| | | private BigDecimal spreadRatePrice; |
| | | /*追加保证金额*/ |
| | | private BigDecimal marginAdd; |
| | | |
| | | private BigDecimal buyOrderIdIndex; |
| | | |
| | | public void setPositionType(Integer positionType) { |
| | | this.positionType = positionType; |
| | |
| | | } |
| | | |
| | | @ConstructorProperties({"id", "positionType", "positionSn", "userId", "nickName", "agentId", "stockName", "stockCode", "stockGid", "stockSpell", "buyOrderId", "buyOrderTime", "buyOrderPrice", "sellOrderId", "sellOrderTime", "sellOrderPrice", "profitTargetPrice", "stopTargetPrice", "orderDirection", "orderNum", "orderLever", "orderTotalPrice", "orderFee", "orderSpread", "orderStayFee", "orderStayDays", "profitAndLose", "allProfitAndLose", "isLock", "lockMsg", "stockPlate", "spreadRatePrice", "marginAdd"}) |
| | | public UserPosition(Integer id, Integer positionType, String positionSn, Integer userId, String nickName, Integer agentId, String stockName, String stockCode, String stockGid, String stockSpell, String buyOrderId, Date buyOrderTime, BigDecimal buyOrderPrice, String sellOrderId, Date sellOrderTime, BigDecimal sellOrderPrice, BigDecimal profitTargetPrice, BigDecimal stopTargetPrice, String orderDirection, Integer orderNum, Integer orderLever, BigDecimal orderTotalPrice, BigDecimal orderFee, BigDecimal orderSpread, BigDecimal orderStayFee, Integer orderStayDays, BigDecimal profitAndLose, BigDecimal allProfitAndLose, Integer isLock, String lockMsg, String stockPlate, BigDecimal spreadRatePrice, BigDecimal marginAdd) { |
| | | public UserPosition(Integer id, Integer positionType, String positionSn, Integer userId, String nickName, Integer agentId, |
| | | String stockName, String stockCode, String stockGid, String stockSpell, String buyOrderId, Date buyOrderTime, |
| | | BigDecimal buyOrderPrice, String sellOrderId, Date sellOrderTime, BigDecimal sellOrderPrice, BigDecimal profitTargetPrice, |
| | | BigDecimal stopTargetPrice, String orderDirection, Integer orderNum, Integer orderLever, BigDecimal orderTotalPrice, |
| | | BigDecimal orderFee, BigDecimal orderSpread, BigDecimal orderStayFee, Integer orderStayDays, BigDecimal profitAndLose, |
| | | BigDecimal allProfitAndLose, Integer isLock, String lockMsg, String stockPlate, BigDecimal spreadRatePrice, |
| | | BigDecimal marginAdd,Integer status,Integer lockDays) { |
| | | this.id = id; |
| | | this.positionType = positionType; |
| | | this.positionSn = positionSn; |
| | |
| | | this.stockPlate = stockPlate; |
| | | this.spreadRatePrice = spreadRatePrice; |
| | | this.marginAdd = marginAdd; |
| | | this.status = status; |
| | | this.lockDays = lockDays; |
| | | } |
| | | |
| | | |
| | |
| | | public void setMarginAdd(BigDecimal marginAdd) { |
| | | this.marginAdd = marginAdd; |
| | | } |
| | | |
| | | public BigDecimal getBuyOrderIdIndex() { |
| | | return buyOrderIdIndex; |
| | | } |
| | | |
| | | public void setBuyOrderIdIndex(BigDecimal buyOrderIdIndex) { |
| | | this.buyOrderIdIndex = buyOrderIdIndex; |
| | | } |
| | | |
| | | public Integer getStatus() { |
| | | return status; |
| | | } |
| | | |
| | | public void setStatus(Integer status) { |
| | | this.status = status; |
| | | } |
| | | |
| | | public Integer getLockDays() { |
| | | return lockDays; |
| | | } |
| | | |
| | | public void setLockDays(Integer lockDays) { |
| | | this.lockDays = lockDays; |
| | | } |
| | | } |
| | | |