dev --- 3.8.0.A版本, openProject引用 ; formao-live --- 3.7.0.B 版本, formallProject引用
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

75 lines
1.3 KiB

  1. package chanjarster.weixin.out;
  2. import java.util.ArrayList;
  3. import java.util.List;
  4. /**
  5. * 公众号菜单
  6. * @author chanjarster
  7. *
  8. */
  9. public class WxMenu {
  10. protected List<WxMenuButton> button = new ArrayList<WxMenuButton>();
  11. public List<WxMenuButton> getButton() {
  12. return button;
  13. }
  14. public void setButton(List<WxMenuButton> button) {
  15. this.button = button;
  16. }
  17. public static class WxMenuButton {
  18. protected String type;
  19. protected String name;
  20. protected String key;
  21. protected String url;
  22. protected List<WxMenuButton> sub_button = new ArrayList<WxMenuButton>();
  23. public String getType() {
  24. return type;
  25. }
  26. public void setType(String type) {
  27. this.type = type;
  28. }
  29. public String getName() {
  30. return name;
  31. }
  32. public void setName(String name) {
  33. this.name = name;
  34. }
  35. public String getKey() {
  36. return key;
  37. }
  38. public void setKey(String key) {
  39. this.key = key;
  40. }
  41. public String getUrl() {
  42. return url;
  43. }
  44. public void setUrl(String url) {
  45. this.url = url;
  46. }
  47. public List<WxMenuButton> getSub_button() {
  48. return sub_button;
  49. }
  50. public void setSub_button(List<WxMenuButton> sub_button) {
  51. this.sub_button = sub_button;
  52. }
  53. }
  54. }