package doumeemes.dao.ext.bean; import doumeemes.core.annotation.excel.ExcelColumn; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import lombok.Data; import javax.validation.constraints.NotNull; import java.math.BigDecimal; @Data @ApiModel("仓库管理-出入库单明细信息表 - bean") public class WoutBoundDetailBean { @ApiModelProperty(value = "组成物料ID") @NotNull( message = "组成物料ID不能为空") private Integer materialId; @ApiModelProperty(value = "单位编码") @NotNull( message = "单位编码不能为空") private Integer unitId; @ApiModelProperty(value = "仓位编码(关联warehouse表)", example = "1") @ExcelColumn(name="仓位编码(关联warehouse表)") private Integer locationId; @ApiModelProperty(value = "批次") @NotNull( message = "批次不能为空") private String batch; @ApiModelProperty(value = "数量") @NotNull( message = "数量不能为空") private BigDecimal num; @ApiModelProperty(value = "工序编码") private Integer procedureId; @ApiModelProperty(value = "工序名称") private String procedureName; @ApiModelProperty(value = "产品质量属性 0合格 1不良 2报废") private Integer qualityType; }