郑永安
2023-06-19 7a6abd05683528032687c75e80e0bd2030a3e46c
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
package com.gkhy.safePlatform.specialWork.model.dto.req;
 
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
 
public class ApprovalRuleItemMeasureModReqDTO {
 
    @NotNull(message = "安全措施主键不可为空!")
    private Long id;
 
    //安全措施所属作业类型
    @NotNull(message = "作业类型不可为空!")
    private Byte workType;
 
    //安全措施类型,1:选择 | 2:填空
    @NotNull(message = "安全措施类型不可为空!")
    private Byte type;
    //正确值
    private Byte correctVal;
 
    //文字内容,最长64汉字
    @NotBlank(message = "文字内容不可为空!")
    private String context;
 
    public Long getId() {
        return id;
    }
 
    public void setId(Long id) {
        this.id = id;
    }
 
    public Byte getWorkType() {
        return workType;
    }
 
    public void setWorkType(Byte workType) {
        this.workType = workType;
    }
 
    public Byte getType() {
        return type;
    }
 
    public void setType(Byte type) {
        this.type = type;
    }
 
    public Byte getCorrectVal() {
        return correctVal;
    }
 
    public void setCorrectVal(Byte correctVal) {
        this.correctVal = correctVal;
    }
 
    public String getContext() {
        return context;
    }
 
    public void setContext(String context) {
        this.context = context;
    }
}