package chanjarster.weixin.out; import java.util.ArrayList; import java.util.List; /** * 公众号菜单 * @author chanjarster * */ public class WxMenu { protected List button = new ArrayList(); public List getButton() { return button; } public void setButton(List button) { this.button = button; } public static class WxMenuButton { protected String type; protected String name; protected String key; protected String url; protected List sub_button = new ArrayList(); public String getType() { return type; } public void setType(String type) { this.type = type; } public String getName() { return name; } public void setName(String name) { this.name = name; } public String getKey() { return key; } public void setKey(String key) { this.key = key; } public String getUrl() { return url; } public void setUrl(String url) { this.url = url; } public List getSub_button() { return sub_button; } public void setSub_button(List sub_button) { this.sub_button = sub_button; } } }