package pojo;

import java.util.List;

public class Roles {
    private int roleid;
    private String rolename;
    private List<Menus> menuList;

    public List<Menus> getMenuList() {
        return menuList;
    }

    public void setMenuList(List<Menus> menuList) {
        this.menuList = menuList;
    }

    public int getRoleid() {
        return roleid;
    }

    public void setRoleid(int roleid) {
        this.roleid = roleid;
    }

    public String getRolename() {
        return rolename;
    }

    public void setRolename(String rolename) {
        this.rolename = rolename;
    }

    @Override
    public String toString() {
        return "Role{" +
                "roleid=" + roleid +
                ", rolename='" + rolename + '\'' +
                '}';
    }
}
