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

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.muchinfo.mtp3pojos.exportconverter.BuyOrSellConverter;
import com.muchinfo.mtp3pojos.exportconverter.DeliveryOrderStatusConverter;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Builder
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "OfflineDeliveryResult对象", description = "线下交收单查询响应")
public class OfflineDeliveryResult {

    @ExcelProperty("交收单号")
    @ColumnWidth(20)
    @ApiModelProperty(value = "交收单号")
    private String deliveryorderid;

    @ExcelProperty("申请人")
    @ColumnWidth(20)
    @ApiModelProperty(value = "申请人")
    private String username;

    @ExcelProperty("交收商品")
    @ColumnWidth(20)
    @ApiModelProperty(value = "交收商品")
    private String goodsdisplay;

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

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

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

    @ExcelProperty("交收价格")
    @ColumnWidth(20)
    @ApiModelProperty(value = "交收价格")
    private String deliveryprice;

    @ExcelProperty("交收货款")
    @ColumnWidth(20)
    @ApiModelProperty(value = "交收货款")
    private String deliveryamount;

    @ExcelProperty("对手方")
    @ColumnWidth(20)
    @ApiModelProperty(value = "对手方")
    private String matchname;

    @ExcelProperty("申请时间")
    @ColumnWidth(20)
    @ApiModelProperty(value = "申请时间")
    private String reqtime;

    @ExcelProperty("交收状态")
    @ColumnWidth(20)
    @ApiModelProperty(value = "交收状态")
    private String orderstatusdisplay;

    private Integer orderstatus;

    private Long marketid;

    private Long buyorsell;

    private Integer trademode;

    private String goodscode;
}

