package com.gk.hotwork.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;
|
|
//审批环节有效时间
|
@NotNull(message = "审批环节有效时间不能为空!")
|
private Integer continueTime;
|
|
//审批环节有效时间单位
|
@NotNull(message = "审批环节有效时间单位!")
|
private Byte continueTimeUnit;
|
|
//审批单元
|
@NotNull(message = "审批单元不可为空!")
|
private List<ApprovalRuleUnitModReqDTO> unitList;
|
/**
|
* 审批项ids
|
*/
|
@NotNull(message = "审批项不可为空!")
|
private List<ApprovalRuleUnitItemModReqDTO> itemList;
|
|
/**
|
* 审核(0 单审,1 会审)
|
*/
|
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;
|
}
|
}
|