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

import com.muchinfo.mtp3pojos.entity.Wrfactortypeitem;
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 = "DeliveryOrderDetailResult对象", description = "交收委托查询详情")
public class DeliveryOrderDetailResult {

    private String wrfactortypeid;

    @ApiModelProperty(value = "申报流水号 ")
    private String deliveryticket;

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

    private String histradedate;

    private String tradedate;

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

    private Long accountid;

    @ApiModelProperty(value = "对手(账号) ")
    private String matchaccountname;

    private Long matchaccountid;

    @ApiModelProperty(value = "状态")
    private Integer deliveryorderstatus;

    private String auditremark;

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

    @ApiModelProperty(value = "审核人 ")
    private String auditname;

    @ApiModelProperty(value = "审核时间 ")
    private Date audittime;

    @ApiModelProperty(value = "错误信息 ")
    private String retcode;

    @ApiModelProperty(value = "现货商品 ")
    private String wrstandardcode;

    private String wrstandardname;

    @ApiModelProperty(value = "现货数量 ")
    private Integer deliveryqty;

    private String deliverygoodsunitname;

    private List<Wrfactortypeitem> wrFactorTypeItemList;

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

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

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

    @ApiModelProperty(value = "辅助合约一 ")
    private Integer ppricemode;

    private String pgoodsname;

    private BigDecimal pdeliveryprice;

    private Integer pdeliveryqty;

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

    private Integer p2pricemode;

    private BigDecimal p2deliveryprice;

    private Integer p2deliveryqty;
}
