Skip to content

Commit 6a4ee46

Browse files
author
ablecao
committed
add AccountPushType
1 parent ba2d39f commit 6a4ee46

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
package com.tencent.xinge.bean;
2+
3+
import com.fasterxml.jackson.annotation.JsonValue;
4+
5+
public enum AccountPushType {
6+
latest_device_of_singe_account(0, "往单个账号的最新的device上推送信息"),
7+
all_devices_of_singe_account(1, "往单个账号关联的所有device设备上推送信息"),
8+
9+
;
10+
AccountPushType(int type, String name) {
11+
this.type = type;
12+
this.name = name;
13+
}
14+
15+
@JsonValue
16+
public int getType() {
17+
return type;
18+
}
19+
20+
public String getName() {
21+
return name;
22+
}
23+
24+
private int type;
25+
26+
private String name;
27+
28+
}

0 commit comments

Comments
 (0)