package com.yeshi.fanli.entity.push;
|
|
import java.util.Date;
|
|
import org.yeshi.utils.mybatis.Column;
|
import org.yeshi.utils.mybatis.Table;
|
|
@Table("yeshi_ec_device_active")
|
public class DeviceActive {
|
|
public static final int PLATFORM_ANDROID = 1;
|
public static final int PLATFORM_IOS = 2;
|
|
@Column(name = "da_id")
|
private Long id;
|
@Column(name = "da_platform")
|
private Integer platform;
|
@Column(name = "da_device")
|
private String device;
|
@Column(name = "da_device_token_md5")
|
private String deviceTokenMd5;
|
@Column(name = "da_device_token")
|
private String deviceToken;
|
@Column(name = "da_version_code")
|
private Integer versionCode;
|
@Column(name = "da_createtime")
|
private Date createTime;
|
@Column(name = "da_updatetime")
|
private Date updateTime;
|
@Column(name = "da_ip")
|
private String ipInfo;
|
|
public String getIpInfo() {
|
return ipInfo;
|
}
|
|
public void setIpInfo(String ipInfo) {
|
this.ipInfo = ipInfo;
|
}
|
|
public Long getId() {
|
return id;
|
}
|
|
public void setId(Long id) {
|
this.id = id;
|
}
|
|
public Integer getPlatform() {
|
return platform;
|
}
|
|
public void setPlatform(Integer platform) {
|
this.platform = platform;
|
}
|
|
public String getDevice() {
|
return device;
|
}
|
|
public void setDevice(String device) {
|
this.device = device;
|
}
|
|
public String getDeviceTokenMd5() {
|
return deviceTokenMd5;
|
}
|
|
public void setDeviceTokenMd5(String deviceTokenMd5) {
|
this.deviceTokenMd5 = deviceTokenMd5;
|
}
|
|
public String getDeviceToken() {
|
return deviceToken;
|
}
|
|
public void setDeviceToken(String deviceToken) {
|
this.deviceToken = deviceToken;
|
}
|
|
public Integer getVersionCode() {
|
return versionCode;
|
}
|
|
public void setVersionCode(Integer versionCode) {
|
this.versionCode = versionCode;
|
}
|
|
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;
|
}
|
|
}
|