|
|
@@ -59,8 +59,8 @@ public enum MessageEventTypeEnum {
|
|
|
|
|
|
private final String belong;
|
|
|
|
|
|
- MessageEventTypeEnum(String code, String name, String belong) {
|
|
|
- this.type = code;
|
|
|
+ MessageEventTypeEnum(String type, String name, String belong) {
|
|
|
+ this.type = type;
|
|
|
this.name = name;
|
|
|
this.belong = belong;
|
|
|
}
|
|
|
@@ -68,6 +68,9 @@ public enum MessageEventTypeEnum {
|
|
|
public String type() {
|
|
|
return this.type;
|
|
|
}
|
|
|
+ public String belong() {
|
|
|
+ return this.belong;
|
|
|
+ }
|
|
|
|
|
|
public String message() {
|
|
|
return this.name;
|