package com.prolog.cs.biz.outbound.model.vo.check;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.math.BigDecimal;

@ApiModel("装箱明细信息")
@Data
public class PackgeBackDVO implements Serializable {

    private static final long serialVersionUID = 7211102765948341749L;
    @NotEmpty(message = "WMS箱号不能为空")
    @ApiModelProperty(value = "WMS箱号")
    private String wmsNo;

    @NotEmpty(message = "包裹类型不能为空")
    @ApiModelProperty(value = "包裹类型")
    private String packageType;

    @NotEmpty(message = "销售单号不能为空")
    @ApiModelProperty(value = "销售单号")
    private String billNo;

    @ApiModelProperty(value = "毛重")
    private BigDecimal netWeight;

    @ApiModelProperty(value = "实际毛重")
    private BigDecimal acNetWeight;

    @ApiModelProperty(value = "体积")
    private BigDecimal volume;

    @ApiModelProperty(value = "实际体积")
    private BigDecimal acVolume;

    @ApiModelProperty(value = "净重")
    private BigDecimal weight;

    @ApiModelProperty(value = "运单号")
    private String wayBillNo;

    @ApiModelProperty(value = "装箱人")
    private String packBy;

    @NotNull(message = "装箱时间不能为空")
    @ApiModelProperty(value = "装箱时间")
    private String packDate;

    @NotNull(message = "件数不能为空")
    @ApiModelProperty(value = "件数")
    private BigDecimal qty;

    @ApiModelProperty(value = "整件数")
    private BigDecimal pcs;

    @ApiModelProperty(value = "拼箱数")
    private BigDecimal assembleNum;

    @ApiModelProperty(value = "长(cm)")
    private BigDecimal length;

    @ApiModelProperty(value = "宽(cm)")
    private BigDecimal wide;

    @ApiModelProperty(value = "高(cm)")
    private BigDecimal high;
}
