admin
2021-09-24 f788607ff771a47bc60d6a86e00b3433c40f3d2c
src/main/java/com/yeshi/buwan/domain/push/PushDeviceToken.java
@@ -9,18 +9,19 @@
@Document(collection = "pushDeviceToken")
public class PushDeviceToken {
    public final static String TYPE_HUAWEI = "hw";
    public final static String TYPE_OPPO = "oppo";
    public final static String TYPE_VIVO = "vivo";
    public final static String TYPE_XM = "xm";
    public final static String TYPE_MZ = "mz";
    public enum PushPlatform {
        xm, hw, oppo, vivo, mz;
    }
    @Id
    private String id;
    private String detailSystemId;
    private String utdId;
    @Indexed
    private String type;
    private PushPlatform type;
    private String token;
    private Date createTime;
    private Date updateTime;
@@ -102,11 +103,11 @@
    }
    public String getType() {
    public PushPlatform getType() {
        return type;
    }
    public void setType(String type) {
    public void setType(PushPlatform type) {
        this.type = type;
    }