package com.muchinfo.mtp3pojos.vo.reportform;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
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 = "GoodsReportResult对象", description = "商品交易报表响应")
public class GoodsReportResult {

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

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

    @ExcelProperty("总委托量")
    @ColumnWidth(20)
    @ApiModelProperty(value = "总委托量")
    private Integer totalorderqty;

    @ExcelProperty("总成交量")
    @ColumnWidth(20)
    @ApiModelProperty(value = "总成交量")
    private Integer tradeqty;

    @ExcelProperty("总持仓量")
    @ColumnWidth(20)
    @ApiModelProperty(value = "总持仓量")
    private Integer totalholdqty;

    @ExcelProperty("总成交笔数")
    @ColumnWidth(20)
    @ApiModelProperty(value = "总成交笔数")
    private Integer tradelot;

    @ExcelProperty("总成交金额")
    @ColumnWidth(20)
    @ApiModelProperty(value = "总成交金额")
    private BigDecimal tradeamount;

    @ExcelProperty("总手续费")
    @ColumnWidth(20)
    @ApiModelProperty(value = "总手续费")
    private BigDecimal totalcharge;

    @ExcelProperty("总递延费")
    @ColumnWidth(20)
    @ApiModelProperty(value = "总递延费")
    private BigDecimal totalinterest;

    @ExcelProperty("委托账户数")
    @ColumnWidth(20)
    @ApiModelProperty(value = "委托账户数")
    private Integer orderaccountcount;

    @ExcelProperty("成交账户数")
    @ColumnWidth(20)
    @ApiModelProperty(value = "成交账户数")
    private Integer tradeaccountcount;

    @ExcelProperty("持仓账户数")
    @ColumnWidth(20)
    @ApiModelProperty(value = "持仓账户数")
    private Integer holdaccountcount;

    @ExcelProperty("成交市场占比")
    @ColumnWidth(20)
    @ApiModelProperty(value = "成交市场占比")
    private BigDecimal markettradeqty;

    private Long marketid;

    private String goodscode;
}
