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

@Builder
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "DeliveryOrderResult对象", description = "交收单管理响应")
public class DeliveryOrderResult {

    @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 Integer deliveryqty;

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

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

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

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

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

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

    private String goodunitid;

    @ApiModelProperty(value = "撤销交收数量")
    private Integer cancledeliveryqty;

    @ApiModelProperty(value = "交收信息")
    private String deliveryinfo;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "交收手续费")
    private BigDecimal deliverycharge;

    @ApiModelProperty(value = "完成时间")
    private Date closetime;

    private Integer orderstatus;

    private Long marketid;

    private Long buyorsell;

    private String goodscode;
}
