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

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 = "OrderDateQueryParam对象", description = "订单日报表查询响应")
public class OrderDateQueryResult {

    @ExcelProperty("日期")
    @ColumnWidth(20)
    @ApiModelProperty(value = "日期")
    private String reckondate;

    @ExcelProperty("订单号")
    @ColumnWidth(20)
    @ApiModelProperty(value = "订单号")
    private String tradeid;

    @ExcelProperty("客户")
    @ColumnWidth(20)
    @ApiModelProperty(value = "客户")
    private String userfullname;

    @ExcelProperty("所属会员")
    @ColumnWidth(20)
    @ApiModelProperty(value = "所属会员")
    private String areafullname;

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

    @ExcelProperty("方向")
    @ColumnWidth(20)
    @ApiModelProperty(value = "方向")
    private String buyorselldisplay;

    @ExcelProperty("订单价格")
    @ColumnWidth(20)
    @ApiModelProperty(value = "订单价格")
    private BigDecimal holderprice;

    @ExcelProperty("原始数量")
    @ColumnWidth(20)
    @ApiModelProperty(value = "原始数量")
    private String opennum;

    @ExcelProperty("原始金额")
    @ColumnWidth(20)
    @ApiModelProperty(value = "原始金额")
    private BigDecimal tradeamount;

    @ExcelProperty("订单数量")
    @ColumnWidth(20)
    @ApiModelProperty(value = "订单数量")
    private String holdernum;

    @ExcelProperty("订单金额")
    @ColumnWidth(20)
    @ApiModelProperty(value = "订单金额")
    private BigDecimal holderamount;

    @ExcelProperty("占用资金")
    @ColumnWidth(20)
    @ApiModelProperty(value = "占用资金")
    private BigDecimal payeddeposit;

    @ExcelProperty("冻结数量")
    @ColumnWidth(20)
    @ApiModelProperty(value = "冻结数量")
    private String freezenum;

    @ExcelProperty("交收数量")
    @ColumnWidth(20)
    @ApiModelProperty(value = "交收数量")
    private String deliverynum;

    @ExcelProperty("终止盈亏")
    @ColumnWidth(20)
    @ApiModelProperty(value = "终止盈亏")
    private BigDecimal closepl;

    @ExcelProperty("浮动盈亏")
    @ColumnWidth(20)
    @ApiModelProperty(value = "浮动盈亏")
    private BigDecimal floatpl;

    @ExcelProperty("风险率")
    @ColumnWidth(20)
    @ApiModelProperty(value = "风险率")
    private String depositratedisplay;

    @ExcelProperty("操作人")
    @ColumnWidth(20)
    @ApiModelProperty(value = "操作人")
    private String operatorcode;

    private String goodscode;

    private Integer buyorsell;
}
