新增前端vue
This commit is contained in:
@@ -1,5 +1,8 @@
|
|||||||
package com.jeesite.modules.app.dict;
|
package com.jeesite.modules.app.dict;
|
||||||
|
|
||||||
|
import lombok.Getter;
|
||||||
|
|
||||||
|
@Getter
|
||||||
public enum NotifyType {
|
public enum NotifyType {
|
||||||
NOTIFICATION("1", "通知"),
|
NOTIFICATION("1", "通知"),
|
||||||
MESSAGE("2", "消息"),
|
MESSAGE("2", "消息"),
|
||||||
@@ -13,12 +16,4 @@ public enum NotifyType {
|
|||||||
this.name = name;
|
this.name = name;
|
||||||
}
|
}
|
||||||
|
|
||||||
// 新增getter方法,否则lambda中无法访问
|
|
||||||
public String getCode() {
|
|
||||||
return code;
|
|
||||||
}
|
|
||||||
|
|
||||||
public String getName() {
|
|
||||||
return name;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user