NodeConfCopyVo.java 2.65 KB
package com.hotent.bpmModel.params;

import java.util.List;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 流程节点复制对象
 *
 * @company 广州宏天软件有限公司
 * @author pangq
 * @email pangq@jee-soft.cn
 * @date 2021年9月27日
 */
@ApiModel(description = "流程节点复制对象")
public class NodeConfCopyVo {

	@ApiModelProperty(name = "defId", required = true, notes = "流程定义id")
	protected String defId;

	@ApiModelProperty(name = "topDefKey", notes = "父流程定义id")
	protected String topDefKey;

	@ApiModelProperty(name = "sourceNodeId", required = true,  notes = "源节点id")
	protected String sourceNodeId;

	@ApiModelProperty(name = "targetNodeIds",  required = true, notes = "目标节点ids")
	protected List<String> targetNodeIds;

	@ApiModelProperty(name = "scope", required = true,  notes = "复制范围")
	protected List<String> scope;

	@ApiModelProperty(name = "pcFormKey", required = true, notes = "表单key")
	protected String pcFormKey;

	@ApiModelProperty(name = "defKey", required = true, notes = "流程定义key")
	protected String defKey;


	/**
	 * 复制范围
	 * @author pangq
	 */
	public final static class Scope {
		/**
		 * 节点表单
		 */
		public final static String NODE_FORM = "nodeForm";
		/**
		 * 节点审批人
		 */
		public final static String NODE_USER = "nodeUser";
		/**
		 * 节点传阅人
		 */
		public final static String NODE_READ_USER = "nodeReadUser";
		/**
		 * 节点属性
		 */
		public final static String NODE_PROPERTIES = "nodeProperties";
		/**
		 * 节点按钮
		 */
		public final static String NODE_BTN = "nodeBtn";
		/**
		 * 全部配置信息
		 */
		public final static String ALL = "all";
	}

	public String getDefId() {
		return defId;
	}

	public void setDefId(String defId) {
		this.defId = defId;
	}

	public String getTopDefKey() {
		return topDefKey;
	}

	public void setTopDefKey(String topDefKey) {
		this.topDefKey = topDefKey;
	}

	public String getSourceNodeId() {
		return sourceNodeId;
	}

	public void setSourceNodeId(String sourceNodeId) {
		this.sourceNodeId = sourceNodeId;
	}

	public List<String> getTargetNodeIds() {
		return targetNodeIds;
	}

	public void setTargetNodeIds(List<String> targetNodeIds) {
		this.targetNodeIds = targetNodeIds;
	}

	public List<String> getScope() {
		return scope;
	}

	public void setScope(List<String> scope) {
		this.scope = scope;
	}

	public String getPcFormKey() {
		return pcFormKey;
	}

	public void setPcFormKey(String pcFormKey) {
		this.pcFormKey = pcFormKey;
	}

	public String getDefKey() {
		return defKey;
	}

	public void setDefKey(String defKey) {
		this.defKey = defKey;
	}

}