admin
2025-02-25 30d8e227e8d823b6c38c3b9c90ac2df03b63befe
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
package com.yeshi.fanli.entity.push;
 
import java.util.Date;
 
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.index.Indexed;
import org.springframework.data.mongodb.core.mapping.Document;
import org.springframework.data.mongodb.core.mapping.Field;
 
/**
 * XM推送
 * 
 * @author Administrator
 *
 */
@Document(collection = "deviceTokenXM")
public class DeviceTokenXM {
    @Id
    private Long deviceActiveId;// 设备活跃ID
    @Field
    private String registerId;
    @Indexed
    @Field
    private Long uid;
    @Field
    private Date createTime;
    @Field
    private Date updateTime;
 
    public String getRegisterId() {
        return registerId;
    }
 
    public void setRegisterId(String registerId) {
        this.registerId = registerId;
    }
 
    public Long getUid() {
        return uid;
    }
 
    public void setUid(Long uid) {
        this.uid = uid;
    }
 
    public Date getCreateTime() {
        return createTime;
    }
 
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
 
    public Date getUpdateTime() {
        return updateTime;
    }
 
    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
 
    public Long getDeviceActiveId() {
        return deviceActiveId;
    }
 
    public void setDeviceActiveId(Long deviceActiveId) {
        this.deviceActiveId = deviceActiveId;
    }
 
}