1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
| package com.gk.hotwork.Domain.Enum;
|
| public enum MsgType{
| NOTIFICATION("notify","通知"),
| ALERT("alert","消息提示"),
| MESSAGE("message","通知");
|
|
| MsgType(String code, String type) {
| this.code = code;
| this.type = type;
| }
|
| private String code;
| private String type;
|
| public String getCode() {
| return code;
| }
|
| public void setCode(String code) {
| this.code = code;
| }
|
| public String getType() {
| return type;
| }
|
| public void setType(String type) {
| this.type = type;
| }
| }
|
|