郑永安
2023-09-19 69185134fcfaf913ea45f1255677225a2cc311a4
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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
package com.gk.hotwork.specialWork.model.dto.req;
 
 
import javax.validation.constraints.NotNull;
import java.util.List;
 
/**
 * 规则传参对象
 */
public class ApprovalRuleModReqDTO {
 
    /** 规则ID **/
    @NotNull(message = "规则主键不可为空")
    private Long ruleId;
 
    //规则名称
    @NotNull(message = "规则名称不可以为空")
    private String ruleName;
    /** 企业ID **/
    private Long eid;
 
    /** 部门ID **/
    @NotNull(message = "部门不可以为空")
    private Long depId;
 
    /** 规则状态 **/
    private Byte status;
 
    /** 作业类型 **/
    @NotNull(message = "作业类型不可以为空")
    private Byte workType;
 
    //作业等级
    private Byte workLevel;
 
    @NotNull(message = "层级不可为空!")
    List<ApprovalRuleStepModReqDTO> stepList;
 
    public Long getRuleId() {
        return ruleId;
    }
 
    public void setRuleId(Long ruleId) {
        this.ruleId = ruleId;
    }
 
    public String getRuleName() {
        return ruleName;
    }
 
    public void setRuleName(String ruleName) {
        this.ruleName = ruleName;
    }
 
    public Long getEid() {
        return eid;
    }
 
    public void setEid(Long eid) {
        this.eid = eid;
    }
 
    public Long getDepId() {
        return depId;
    }
 
    public void setDepId(Long depId) {
        this.depId = depId;
    }
 
    public Byte getStatus() {
        return status;
    }
 
    public void setStatus(Byte status) {
        this.status = status;
    }
 
    public Byte getWorkType() {
        return workType;
    }
 
    public void setWorkType(Byte workType) {
        this.workType = workType;
    }
 
    public Byte getWorkLevel() {
        return workLevel;
    }
 
    public void setWorkLevel(Byte workLevel) {
        this.workLevel = workLevel;
    }
 
    public List<ApprovalRuleStepModReqDTO> getStepList() {
        return stepList;
    }
 
    public void setStepList(List<ApprovalRuleStepModReqDTO> stepList) {
        this.stepList = stepList;
    }
}