package com.ks.push.pojo.DO;
|
|
import org.springframework.data.annotation.Id;
|
import org.springframework.data.mongodb.core.mapping.Document;
|
|
import java.io.Serializable;
|
import java.util.Date;
|
|
/**
|
* 推送应用
|
*/
|
@Document(collection = "bpushAppInfo")
|
public class BPushAppInfo implements Serializable {
|
//有效
|
public final static int STATE_NORMAL = 0;
|
//无效
|
public final static int STATE_INVALID = 1;
|
|
|
@Id
|
private String appCode;
|
private String name;
|
private String desc;
|
private Integer state;
|
private String stateDesc;
|
private String remarks;
|
private Date createTime;
|
private Date updateTime;
|
|
public String getAppCode() {
|
return appCode;
|
}
|
|
public void setAppCode(String appCode) {
|
this.appCode = appCode;
|
}
|
|
public String getName() {
|
return name;
|
}
|
|
public void setName(String name) {
|
this.name = name;
|
}
|
|
public String getDesc() {
|
return desc;
|
}
|
|
public void setDesc(String desc) {
|
this.desc = desc;
|
}
|
|
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 Integer getState() {
|
return state;
|
}
|
|
public void setState(Integer state) {
|
this.state = state;
|
}
|
|
public String getStateDesc() {
|
return stateDesc;
|
}
|
|
public void setStateDesc(String stateDesc) {
|
this.stateDesc = stateDesc;
|
}
|
|
public String getRemarks() {
|
return remarks;
|
}
|
|
public void setRemarks(String remarks) {
|
this.remarks = remarks;
|
}
|
}
|