package cn.autoform.web.client.bean;
|
|
|
import java.io.Serializable;
|
import java.util.List;
|
|
/**
|
* 组织机构
|
* @author liush
|
*
|
*/
|
|
public class Organization implements Serializable {
|
|
|
/**
|
* 上级id
|
*/
|
private String parentId;
|
|
/**
|
* 用户集
|
*/
|
private List<User> users;
|
|
/**
|
* 角色集
|
*/
|
private List<Position> positions;
|
|
/**
|
* 子部门集
|
*/
|
private List<Organization> children;
|
|
private String phone;
|
|
/**
|
* 机构id
|
*/
|
private String id;
|
|
/**
|
* 机构名称
|
*/
|
private String name;
|
|
/**
|
* 机构code
|
*/
|
private String code;
|
|
public String getId() {
|
return id;
|
}
|
|
public void setId(String id) {
|
this.id = id;
|
}
|
|
public String getName() {
|
return name;
|
}
|
|
public void setName(String name) {
|
this.name = name;
|
}
|
|
public String getCode() {
|
return code;
|
}
|
|
public void setCode(String code) {
|
this.code = code;
|
}
|
|
public String getParentId() {
|
return parentId;
|
}
|
|
public void setParentId(String parentId) {
|
this.parentId = parentId;
|
}
|
|
public List<User> getUsers() {
|
return users;
|
}
|
|
public void setUsers(List<User> users) {
|
this.users = users;
|
}
|
|
public List<Position> getPositions() {
|
return positions;
|
}
|
|
public void setPositions(List<Position> positions) {
|
this.positions = positions;
|
}
|
|
public List<Organization> getChildren() {
|
return children;
|
}
|
|
public void setChildren(List<Organization> children) {
|
this.children = children;
|
}
|
|
public String getPhone() {
|
return phone;
|
}
|
|
public void setPhone(String phone) {
|
this.phone = phone;
|
}
|
|
|
}
|