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

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 = "GoodsTradeQueryResult对象", description = "商品成交汇总")
public class GoodsTradeQueryResult {

    @ExcelProperty("交易日")
    @ColumnWidth(20)
    @ApiModelProperty(value = "交易日")
    private String tradeDate;

    @ExcelProperty("商品代码名称")
    @ColumnWidth(20)
    @ApiModelProperty(value = "商品代码名称")
    private String goodsfullname;

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

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

    @ExcelProperty("总转让损益")
    @ColumnWidth(20)
    @ApiModelProperty(value = "总转让损益")
    private BigDecimal closeplsum;

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

    private String goodscode;
}
