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

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 = "CommissionSheetResult对象", description = "委托单查询响应")
public class CommissionSheetResult {

    @ApiModelProperty(value = "委托单号")
    private String orderId;

    @ApiModelProperty(value = "账户")
    private String accountNameId;

    @ApiModelProperty(value = "商品代码/名称")
    private String goodsCodeName;

    @ApiModelProperty(value = "单据类型")
    private Integer buildType;

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

    @ApiModelProperty(value = "委托价格/斩仓委托价、行权价（tradeMode = 18、26）")
    private BigDecimal orderPrice;

    @ApiModelProperty(value = "委托数量/斩仓数量")
    private Integer orderQty;

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

    @ApiModelProperty(value = "状态 code：orderstatus")
    private Integer orderStatus;

    @ApiModelProperty(value = "委托时间/斩仓时间")
    private Date orderTime;

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

    @ApiModelProperty(value = "期权类型 tradeMode = 18、26")
    private Integer optionType;

    @ApiModelProperty(value = "定货金 tradeMode = 18、26")
    private BigDecimal premium;

    @ApiModelProperty(value = "点差 tradeMode = 46")
    private BigDecimal marketMaxSub;

    @ApiModelProperty(value = "斩仓金额 operatetype == 2")
    private BigDecimal orderAccount;

    @ApiModelProperty(value = "挂摘类型 tradeMode == 36")
    private Integer listType;

    @ApiModelProperty(value = "委托账号 tradeMode == 36")
    private Long tradeAccountId;

    @ApiModelProperty(value = "查询类型 1历史 0当前")
    private Integer isHis;

    private String goodscode;
}
