package com.hw.mes.domain.vo;

import lombok.Data;

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

/**
 * @Description: 物料扫描确认VO对象
 * @ClassName: MesMaterialScanVo
 * @Author  : xins
 * @Date    :2024-04-07  10:17
 * @Version :1.0
 */
@Data
public class MesMaterialScanVo {

    //生产计划ID
    @NotNull(message = "生产计划ID必须输入")
    private Long planId;

    //生产计划明细ID
    @NotNull(message = "生产计划明细ID必须输入")
    private Long planDetailId;


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

    //数量
    @NotNull(message = "数量必须输入")
    private BigDecimal checkAmount;
}
