UpdateMaterialInspectStatusDto.java
1.12 KB
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
39
40
41
42
43
44
45
46
47
48
49
50
package com.huaheng.api.mes.domain;
import com.alibaba.fastjson.annotation.JSONField;
import lombok.Data;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
@Data
public class UpdateMaterialInspectStatusDto implements Serializable {
private static final long serialVersionUID = -6948170133315497294L;
/**
* 盛具数量
*/
@NotNull(message = "盛具数量不能为空")
@JSONField(name = "containerQty")
private Integer vehicleQty;
/**
* 物料编码
*/
@NotBlank(message = "物料编码不能为空")
private String materialCode;
/**
* 工序号
*/
private String flowCode;
/**
* 工单号
*/
@NotBlank(message = "工单号不能为空")
private String orderCode;
/**
* 质检状态 1:正常 2:不合格 3:所检 4:军检
*/
@NotNull(message = "物料质检状态不能为空")
@JSONField(name = "materialStatus")
private Integer materialInspectStatus;
/**
* 更新后的物料质检状态
*/
private Integer changeStatus;
}