package com.gkhy.safePlatform.specialWork.model.dto.req;
|
|
import javax.validation.constraints.NotBlank;
|
import javax.validation.constraints.NotNull;
|
import java.io.Serializable;
|
import java.util.List;
|
|
/**
|
* 审批规则 - 层级
|
*/
|
public class ApprovalRuleStepAddReqDTO implements Serializable {
|
|
private static final long serialVersionUID = -5822805358883719983L;
|
/**
|
* 层级名称
|
*/
|
@NotBlank(message = "层级名称不能为空!")
|
private String stepName;
|
|
/** 层级规则状态 **/
|
private Byte status;
|
|
/** 层级所在顺序 **/
|
@NotNull(message = "层级所在顺序不能为空!")
|
private Integer stepSerial;
|
|
/** 层级内部有序标识 **/
|
private Boolean enableOrder;
|
|
//审批层级类型,单人,多人,分析人....
|
@NotNull(message = "审批层级人员类型未选择!")
|
private Byte personType;
|
|
@NotNull(message = "审批层级审批类型未选择!")
|
private Byte approvalType;
|
|
//审批环节有效时间
|
@NotNull(message = "审批环节有效时间不能为空!")
|
private Integer continueTime;
|
|
//审批环节有效时间单位
|
@NotNull(message = "审批环节有效时间单位!")
|
private Byte continueTimeUnit;
|
|
//审批单元
|
@NotNull(message = "审批单元不可为空!")
|
private List<ApprovalRuleUnitAddReqDTO> unitList;
|
/**
|
* 审批项ids
|
*/
|
@NotNull(message = "审批项不可为空!")
|
private List<ApprovalRuleUnitItemAddReqDTO> itemList;
|
|
/** 内容类型 **/
|
private Byte contentType;
|
|
/**
|
* 审核(1 单审,2 会审)
|
*/
|
private Byte auditType;
|
|
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 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<ApprovalRuleUnitAddReqDTO> getUnitList() {
|
return unitList;
|
}
|
|
public void setUnitList(List<ApprovalRuleUnitAddReqDTO> unitList) {
|
this.unitList = unitList;
|
}
|
|
public List<ApprovalRuleUnitItemAddReqDTO> getItemList() {
|
return itemList;
|
}
|
|
public void setItemList(List<ApprovalRuleUnitItemAddReqDTO> 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;
|
}
|
}
|