package com.hw.wms.domain.vo;

import lombok.Data;

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

/**
 * @Description: 原材料退库确认VO
 * @ClassName: WmsRawReturnConfirmVo
 * @Author  : xins
 * @Date    :2023-12-22  16:34
 * @Version :1.0
 */
@Data
public class WmsRawReturnConfirmVo {
    //原材料退库记录ID
    @NotNull(message = "原材料退库记录ID必须输入")
    private Long rawReturnId;

    //库位编码
    @NotBlank(message = "库位编码必须输入")
    private String locationCode;

    //物料条码
    @NotBlank(message = "物料条码必须输入")
    private String materialBarcode;

    //原材料出库数量
    @NotNull(message = "原材料退库数量必须输入")
    private BigDecimal returnAmount;
}
