| | |
| | | public class ShiroUser implements Serializable { |
| | | |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | |
| | | public Integer id; // 主键ID |
| | | public String account; // 账号 |
| | | public String name; // 姓名 |
| | |
| | | public List<String> roleNames; // 角色名称集 |
| | | public Integer roleType; // 角色类型 1=平台 2=分公司 3=加盟商 |
| | | public Integer objectId; // 对象ID |
| | | |
| | | |
| | | public List<String> menuIds; //菜单 |
| | | |
| | | public boolean isAdmin; //是否是超管 |
| | | |
| | | |
| | | public Integer getId() { |
| | | return id; |
| | | } |
| | | |
| | | |
| | | public void setId(Integer id) { |
| | | this.id = id; |
| | | } |
| | | |
| | | |
| | | public String getAccount() { |
| | | return account; |
| | | } |
| | |
| | | public void setRoleType(Integer roleType) { |
| | | this.roleType = roleType; |
| | | } |
| | | |
| | | |
| | | public Integer getObjectId() { |
| | | return objectId; |
| | | } |
| | | |
| | | |
| | | public void setObjectId(Integer objectId) { |
| | | this.objectId = objectId; |
| | | } |
| | | |
| | | public List<String> getMenuIds() { |
| | | return menuIds; |
| | | } |
| | | |
| | | public void setMenuIds(List<String> menuIds) { |
| | | this.menuIds = menuIds; |
| | | } |
| | | |
| | | public boolean isAdmin() { |
| | | return isAdmin; |
| | | } |
| | | |
| | | public void setAdmin(boolean admin) { |
| | | isAdmin = admin; |
| | | } |
| | | } |