| | |
| | | public class ContractHoldOrderEntity extends BaseEntity { |
| | | |
| | | /** |
| | | * 是否可平仓 1-是 |
| | | */ |
| | | public static final int ORDER_CAN_CLOSING_Y = 1; |
| | | /** |
| | | * 是否可平仓 0-否 |
| | | */ |
| | | public static final int ORDER_CAN_CLOSING_N = 0; |
| | | |
| | | /** |
| | | * 开仓类型 1-开多 |
| | | */ |
| | | public static final int ORDER_OPENING_TYPE_MORE = 1; |
| | | |
| | | /** |
| | | * 开仓类型 2-开空 |
| | | */ |
| | | public static final int ORDER_OPENING_TYPE_LESS = 2; |
| | | |
| | | /** |
| | | * 会员Id |
| | | */ |
| | | private Long memberId; |
| | |
| | | private BigDecimal openingPrice; |
| | | |
| | | /** |
| | | * 开仓类型 1-开多 2-开多 |
| | | * 开仓类型 1-开多2-开空 |
| | | */ |
| | | private int openingType; |
| | | |
| | |
| | | private BigDecimal forceClosingPrice; |
| | | |
| | | private int operateNo; |
| | | |
| | | /** |
| | | * 是否可平仓 0-否 1-是 |
| | | */ |
| | | private int isCanClosing; |
| | | |
| | | /** |
| | | * 批次号 队列平仓时使用,避免重复 |
| | | */ |
| | | public String batchNo; |
| | | } |