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;
|
}
|
|
}
|