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

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;
import java.util.List;

@Builder
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "ApplyOrderDetailResult对象", description = "申报式委托单详情")
public class ApplyOrderDetailResult {

    @ApiModelProperty(value = "交收单号")
    private String deliveryapplyorderid;

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

    private String tradedate;

    @ApiModelProperty(value = "申报人")
    private String accountname;

    @ApiModelProperty(value = "账号")
    private Long accountid;

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

    @ApiModelProperty(value = "对手委托单号")
    private String counterorderid;

    @ApiModelProperty(value = "时间有效类型")
    private Integer validtype;

    @ApiModelProperty(value = "有效期限")
    private Date validtime;

    @ApiModelProperty(value = "状态")
    private String applyorderstatus;

    @ApiModelProperty(value = "申报时间")
    private Date ordertime;

    @ApiModelProperty(value = "交收品种")
    private String deliverygoodsname;

    @ApiModelProperty(value = "品种数量")
    private Integer deliveryqty;

    private String deliverygoodsunitname;

    @ApiModelProperty(value = "品牌")
    private String brandname;

    @ApiModelProperty(value = "品质")
    private String qualityname;

    @ApiModelProperty(value = "规格")
    private String specname;

    @ApiModelProperty(value = "仓库")
    private String warehousename;

    @ApiModelProperty(value = "是否标准交收商品")
    private Integer isstandard;

    @ApiModelProperty(value = "升贴水")
    private String pricemove;

    @ApiModelProperty(value = "交易合约")
    private String xgoodsname;

    @ApiModelProperty(value = "交收价格")
    private BigDecimal xdeliveryprice;

    @ApiModelProperty(value = "合约数量")
    private Integer xdeliveryqty;

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

    @ApiModelProperty(value = "撤销数量")
    private Integer xdeliverycancelqty;

    @ApiModelProperty(value = "价格方式")
    private Integer ppricemode;

    @ApiModelProperty(value = "辅助合约一")
    private String pgoodsname;

    @ApiModelProperty(value = "交收价格")
    private BigDecimal pdeliveryprice;

    @ApiModelProperty(value = "合约手数")
    private Integer pdeliveryqty;

    @ApiModelProperty(value = "价格方式")
    private Integer p2pricemode;

    @ApiModelProperty(value = "辅助合约二")
    private String p2goodsname;

    @ApiModelProperty(value = "交收价格")
    private BigDecimal p2deliveryprice;

    @ApiModelProperty(value = "合约手数")
    private Integer p2deliveryqty;

    private List<DeliveryDetailResult> deliveryIds;
}
