package com.gkhy.safePlatform.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;
|
}
|
}
|