package net.tooan.ynpay.wechat.agent.model;
import java.util.List;
/**
* Created with IntelliJ IDEA.
* User: Jing
* Date: 13-10-20
* Time: 下午5:03
*/
public class Button {
public static final String TYPE_CLICK = "click";
public static final String TYPE_VIEW = "view";
/**
* 按钮类型
*/
private String type;
/**
* 按钮名字
*/
private String name;
/**
* 按钮 KEY 值
*/
private String key;
/**
* 按钮链接
*/
private String url;
/**
* 子菜单
*/
private List<Button> sub_button;
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<Button> getSub_button() {
return sub_button;
}
public void setSub_button(List<Button> sub_button) {
this.sub_button = sub_button;
}
}