package com.fjhx.params.stock;

import lombok.Getter;
import lombok.Setter;

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

@Getter
@Setter
public class AddProductCombinationDto {

    /**
     * 组合产品id
     */
    @NotNull(message = "组合产品id不能为空")
    private Long productId;

    /**
     * 组合放置仓库id
     */
    @NotNull(message = "组合后放置仓库id不能为空")
    private Long combinationWarehouseId;

    /**
     * 来源所在仓库id
     */
    @NotNull(message = "半成品所在仓库id不能为空")
    private Long sourceWarehouseId;

    /**
     * 组合数量
     */
    @NotNull(message = "组合数量不能为空")
    private BigDecimal combinationQuantity;

}
