package ink.wgink.pojo.bos; import ink.wgink.pojo.dtos.department.DepartmentSimpleDTO; import ink.wgink.pojo.dtos.group.GroupSimpleDTO; import ink.wgink.pojo.dtos.position.PositionSimpleDTO; import ink.wgink.pojo.dtos.role.RoleSimpleDTO; import java.util.ArrayList; import java.util.List; /** * @ClassName: UserInfoBO * @Description: 用户 * @Author: WangGeng * @Date: 2019/3/24 11:03 PM * @Version: 1.0 **/ public class UserInfoBO { private String userId; private String userUsername; private String userName; private String userPhone; private String userAvatar; private String userEmail; private String dataRight; private List dataUserIds; private List rootDepartmentIds; private List departments; private List roles; private List groups; private List positions; private Object expandData; public String getUserId() { return userId == null ? "" : userId.trim(); } public void setUserId(String userId) { this.userId = userId; } public String getUserUsername() { return userUsername == null ? "" : userUsername.trim(); } public void setUserUsername(String userUsername) { this.userUsername = userUsername; } public String getUserName() { return userName == null ? "" : userName.trim(); } public void setUserName(String userName) { this.userName = userName; } public String getUserPhone() { return userPhone == null ? "" : userPhone.trim(); } public void setUserPhone(String userPhone) { this.userPhone = userPhone; } public String getUserAvatar() { return userAvatar == null ? "" : userAvatar; } public void setUserAvatar(String userAvatar) { this.userAvatar = userAvatar; } public String getUserEmail() { return userEmail == null ? "" : userEmail; } public void setUserEmail(String userEmail) { this.userEmail = userEmail; } public String getDataRight() { return dataRight == null ? "" : dataRight.trim(); } public void setDataRight(String dataRight) { this.dataRight = dataRight; } public List getDataUserIds() { return dataUserIds == null ? new ArrayList<>(0) : dataUserIds; } public void setDataUserIds(List dataUserIds) { this.dataUserIds = dataUserIds; } public List getRootDepartmentIds() { return rootDepartmentIds == null ? new ArrayList<>(0) : rootDepartmentIds; } public void setRootDepartmentIds(List rootDepartmentIds) { this.rootDepartmentIds = rootDepartmentIds; } public List getDepartments() { return departments == null ? new ArrayList<>(0) : departments; } public void setDepartments(List departments) { this.departments = departments; } public List getRoles() { return roles == null ? new ArrayList<>() : roles; } public void setRoles(List roles) { this.roles = roles; } public List getGroups() { return groups == null ? new ArrayList<>() : groups; } public void setGroups(List groups) { this.groups = groups; } public List getPositions() { return positions == null ? new ArrayList<>() : positions; } public void setPositions(List positions) { this.positions = positions; } public Object getExpandData() { return expandData; } public void setExpandData(Object expandData) { this.expandData = expandData; } }