jiangping
2023-08-17 6365ab0a976afdd247742c9b3dca15deb3a7a7a1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
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;
 
}