郑永安
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
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
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
package com.gkhy.safePlatform.specialWork.model.dto.req;
 
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.util.List;
 
/**
 * 审批规则 - 层级
 */
public class ApprovalRuleStepModReqDTO {
 
    /** 层级ID **/
    private Long stepId;
 
    /**
     * 层级名称
     */
    @NotBlank(message = "层级名称不能为空!")
    private String stepName;
 
    /** 层级规则状态 **/
    private Byte status;
 
    /** 层级所在顺序 **/
    @NotNull(message = "层级所在顺序不能为空!")
    private Integer stepSerial;
 
    /** 层级内部有序标识 **/
    private Boolean enableOrder;
 
    //审批层级类型,单人,多人,分析人....
    @NotNull(message = "审批类型层级类型未选择!")
    private Byte type;
 
    private Byte personType;
 
    private Byte approvalType;
 
    private Byte contentType;
 
    //审批环节有效时间
    @NotNull(message = "审批环节有效时间不能为空!")
    private Integer continueTime;
 
    //审批环节有效时间单位
    @NotNull(message = "审批环节有效时间单位!")
    private Byte continueTimeUnit;
 
    //审批单元
    @NotNull(message = "审批单元不可为空!")
    private List<ApprovalRuleUnitModReqDTO> unitList;
    /**
     * 审批项ids
     */
    @NotNull(message = "审批项不可为空!")
    private List<ApprovalRuleUnitItemModReqDTO> itemList;
 
    /**
     * 审核(1 单审,2 会审)
     */
    private Byte auditType;
 
    public Long getStepId() {
        return stepId;
    }
 
    public void setStepId(Long stepId) {
        this.stepId = stepId;
    }
 
    public Byte getStatus() {
        return status;
    }
 
    public void setStatus(Byte status) {
        this.status = status;
    }
 
    public Integer getStepSerial() {
        return stepSerial;
    }
 
    public void setStepSerial(Integer stepSerial) {
        this.stepSerial = stepSerial;
    }
 
    public Boolean getEnableOrder() {
        return enableOrder;
    }
 
    public void setEnableOrder(Boolean enableOrder) {
        this.enableOrder = enableOrder;
    }
 
    public Byte getType() {
        return type;
    }
 
    public void setType(Byte type) {
        this.type = type;
    }
 
    public Integer getContinueTime() {
        return continueTime;
    }
 
    public void setContinueTime(Integer continueTime) {
        this.continueTime = continueTime;
    }
 
    public Byte getContinueTimeUnit() {
        return continueTimeUnit;
    }
 
    public void setContinueTimeUnit(Byte continueTimeUnit) {
        this.continueTimeUnit = continueTimeUnit;
    }
 
    public String getStepName() {
        return stepName;
    }
 
    public void setStepName(String stepName) {
        this.stepName = stepName;
    }
 
    public List<ApprovalRuleUnitModReqDTO> getUnitList() {
        return unitList;
    }
 
    public void setUnitList(List<ApprovalRuleUnitModReqDTO> unitList) {
        this.unitList = unitList;
    }
 
    public List<ApprovalRuleUnitItemModReqDTO> getItemList() {
        return itemList;
    }
 
    public void setItemList(List<ApprovalRuleUnitItemModReqDTO> itemList) {
        this.itemList = itemList;
    }
 
    public Byte getAuditType() {
        return auditType;
    }
 
    public void setAuditType(Byte auditType) {
        this.auditType = auditType;
    }
 
    public Byte getPersonType() {
        return personType;
    }
 
    public void setPersonType(Byte personType) {
        this.personType = personType;
    }
 
    public Byte getApprovalType() {
        return approvalType;
    }
 
    public void setApprovalType(Byte approvalType) {
        this.approvalType = approvalType;
    }
 
    public Byte getContentType() {
        return contentType;
    }
 
    public void setContentType(Byte contentType) {
        this.contentType = contentType;
    }
}