package com.shkj.wms.bo;

import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

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

/**
 * 地址对象
 *
 * @author lch
 * @date 2022-04-09
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
public class CheckContainerBo implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 容器code
     */
    @NotBlank(message = "容器code不得为空")
    private String containerCode;

    /**
     * 商品id
     */
    @NotNull(message = "商品id不得为空")
    private Long goodId;

    /**
     * 整装
     */
    @NotNull(message = "整装不得为空")
    private BigDecimal caseQty;

    /**
     * 零货
     */
    @NotNull(message = "零货不得为空")
    private BigDecimal pieceQty;
}
