package com.nq.pojo; import com.baomidou.mybatisplus.annotation.IdType; import com.baomidou.mybatisplus.annotation.TableId; import com.baomidou.mybatisplus.annotation.TableName; import lombok.Data; import java.beans.ConstructorProperties; import java.io.Serializable; import java.math.BigDecimal; import java.util.Date; @TableName(value ="user_position") @Data public class UserPosition implements Serializable { @TableId(type = IdType.AUTO,value = "id") private Integer id; private Integer positionType; private String positionSn; private Integer userId; private String nickName; private Integer agentId; private String stockName; private String stockCode; private String stockGid; private String stockSpell; private String buyOrderId; private Date buyOrderTime; private BigDecimal buyOrderPrice; private String sellOrderId; private Date sellOrderTime; private BigDecimal sellOrderPrice; private BigDecimal profitTargetPrice; private BigDecimal stopTargetPrice; private String orderDirection; private Integer orderNum; private Integer orderLever; private BigDecimal orderTotalPrice; private BigDecimal orderFee; private BigDecimal orderSpread; private BigDecimal orderStayFee; private Integer orderStayDays; private BigDecimal profitAndLose; private BigDecimal allProfitAndLose; private Integer isLock; private String lockMsg; private String stockPlate; /*点差费金额*/ private BigDecimal spreadRatePrice; /*追加保证金额*/ private BigDecimal marginAdd; }