package doumeemes.dao.ext.bean; 
 | 
  
 | 
import com.fasterxml.jackson.annotation.JsonFormat; 
 | 
import doumeemes.core.annotation.excel.ExcelColumn; 
 | 
import doumeemes.dao.business.model.BomDetail; 
 | 
import io.swagger.annotations.ApiModel; 
 | 
import io.swagger.annotations.ApiModelProperty; 
 | 
import lombok.Data; 
 | 
  
 | 
import javax.validation.constraints.NotNull; 
 | 
import java.math.BigDecimal; 
 | 
import java.util.Date; 
 | 
  
 | 
@Data 
 | 
@ApiModel("物料清单明细信息表 - 编辑or保存") 
 | 
public class BomDetailBean { 
 | 
  
 | 
//    @ApiModelProperty(value = "物料清单编码") 
 | 
//    @NotNull( message = "物料清单编码不能为空") 
 | 
//    private Integer bomId; 
 | 
  
 | 
    @ApiModelProperty(value = "组成物料ID") 
 | 
    @NotNull( message = "组成物料ID不能为空") 
 | 
    private Integer materialId; 
 | 
  
 | 
    @ApiModelProperty(value = "单位编码") 
 | 
    @NotNull( message = "单位编码不能为空") 
 | 
    private Integer unitId; 
 | 
  
 | 
//    @ApiModelProperty(value = "投料工序编码") 
 | 
//    @NotNull( message = "投料工序编码不能为空") 
 | 
//    private Integer procedureId; 
 | 
  
 | 
    @ApiModelProperty(value = "数量(最多2位小数)") 
 | 
    @NotNull( message = "数量不能为空") 
 | 
    private BigDecimal num; 
 | 
  
 | 
} 
 |