新增MenuID字段

This commit is contained in:
jinyu 2015-12-29 18:11:28 +08:00
parent 1850b4fcdd
commit bd745299e0
2 changed files with 14 additions and 3 deletions

View File

@ -47,6 +47,8 @@
</modules>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.source>1.6</maven.compiler.source>
<maven.compiler.target>1.6</maven.compiler.target>
</properties>
<build>
<plugins>

View File

@ -31,16 +31,25 @@ public class MenuEventMessage extends EventMessage {
/**
* 事件KEY值与自定义菜单接口中KEY值对应
*/
@XmlElement(name="EventKey")
@XmlElement(name = "EventKey")
private String eventKey;
/**
* 指菜单ID如果是个性化菜单则可以通过这个字段知道是哪个规则的菜单被点击了
*/
@XmlElement(name = "MenuID")
private String menuId;
public String getEventKey() {
return eventKey;
}
public String getMenuId() {
return menuId;
}
@Override
public String toString() {
return "MenuEventMessage [eventKey=" + eventKey + ", "
+ super.toString() + "]";
return "MenuEventMessage [eventKey=" + eventKey + ", menuId=" + menuId
+ ", " + super.toString() + "]";
}
}