package com.vci.pagemodel; import java.util.ArrayList; import java.util.List; /** * 流程中可以执行的用户 * --如果有多个角色和多个部门的时候,第一层节点会是角色或者部门 * @author weidy * */ public class ProcessUserVO implements java.io.Serializable{ public ProcessUserVO(){ } public ProcessUserVO(String oid, String name, String id, String type){ this.oid = oid; this.name = name; this.id = id; this.type = type; } /** * */ private static final long serialVersionUID = 9016814293362324477L; private String oid; private String name; private String id; private String type ="user"; private int secret = -1; private String secretText = ""; private boolean leaf; private List children = new ArrayList(); public String getOid() { return oid; } public void setOid(String oid) { this.oid = oid; } public String getName() { return name; } public void setName(String name) { this.name = name; } public String getId() { return id; } public void setId(String id) { this.id = id; } public String getType() { return type; } public void setType(String type) { this.type = type; } public List getChildren() { return children; } public void setChildren(List children) { this.children = children; } public int getSecret() { return secret; } public void setSecret(int secret) { this.secret = secret; } public String getSecretText() { return secretText; } public void setSecretText(String secretText) { this.secretText = secretText; } public boolean isLeaf() { return leaf; } public void setLeaf(boolean leaf) { this.leaf = leaf; } }