package com.muchinfo.mtp3pojos.vo.reportform;

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;

@Builder
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "TradeReportQueryResult对象", description = "成交汇总报表")
public class TradeReportQueryResult {

    private String goodscode;

    @ApiModelProperty(value = "商品/代码")
    private String goodsname;

    @ApiModelProperty(value = "市场")
    private String marketname;

    @ApiModelProperty(value = "成交量")
    private Integer tradeqty;

    @ApiModelProperty(value = "建仓数量")
    private Integer openqty;

    @ApiModelProperty(value = "平仓数量")
    private Integer closeqty;

    @ApiModelProperty(value = "成交金额")
    private BigDecimal tradeamount;

    @ApiModelProperty(value = "平仓盈亏")
    private BigDecimal closepl;

    @ApiModelProperty(value = "建仓手续费")
    private BigDecimal opencharge;

    @ApiModelProperty(value = "平仓手续费")
    private BigDecimal closecharge;
}
