package com.muchinfo.mtp3pojos.vo.query.contract;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.Date;

@Builder
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "ContractTradeResult对象", description = "平仓单明细")
public class ContractTradeResult {

    @ApiModelProperty(value = "关联建仓成交单号")
    private String opentradeid;

    @ApiModelProperty(value = "方向")
    private Integer buyorsell;

    @ApiModelProperty(value = "平仓价格")
    private BigDecimal closeprice;

    @ApiModelProperty(value = "建仓价格")
    private BigDecimal openprice;

    @ApiModelProperty(value = "持仓价格")
    private BigDecimal holderprice;

    @ApiModelProperty(value = "平仓时间")
    private Date closetime;
}
