package com.yeshi.fanli.entity.bus.help;
|
|
import java.io.Serializable;
|
import java.util.Date;
|
|
import javax.persistence.Transient;
|
|
import com.google.gson.annotations.Expose;
|
|
import org.yeshi.utils.mybatis.Column;
|
import org.yeshi.utils.mybatis.Table;
|
|
/**
|
* app页面上面的通知
|
*
|
* @author Administrator
|
*
|
*/
|
@Table("yeshi_ec_apppage_notification")
|
public class AppPageNotification implements Serializable {
|
/**
|
*
|
*/
|
private static final long serialVersionUID = 1L;
|
|
// 消息类型的枚举
|
public enum AppPageNotificationTypeEnum {
|
home("首页"),
|
coupon("优惠券页"),
|
invite("邀请有奖页"),
|
activity("动态"),
|
goodsDetail("详情过度页"),
|
mine("我的"),
|
money("资金"),
|
accountDetail("账户明细"),
|
extract("提现"),
|
orderFanli("返利订单"),
|
orderTiCheng("提成订单"),
|
orderTaoBao("淘宝订单"),
|
coollect("收藏"),
|
scanHistory("足迹"),
|
team("粉丝"),
|
kefu("联系客服"),
|
taoBaoShoppingCart("淘宝购物车"),
|
orderFind("订单申诉"),
|
msgCenter("消息中心"),
|
newOrder("订单"),
|
shareHistory("分享记录"),
|
goodsStorage("选品库"),
|
tlj("分享爆款详情"),
|
tlj_buy("自购立减详情"),
|
hongbao_balance("红包余额"),
|
goodsDetailJD("京东详情"),
|
goodsDetailPDD("拼多多详情"),
|
orderFindJD("拼多多订单找回"),
|
orderFindPDD("京东订单找回"),
|
shareSingle("商品详情单图分享"),
|
dynamicShareSingle("动态单图分享"),
|
dynamicShareMulti("动态多图分享");
|
|
private final String desc;
|
|
private AppPageNotificationTypeEnum(String desc) {
|
this.desc = desc;
|
}
|
|
public String getDesc() {
|
return desc;
|
}
|
}
|
|
@Column(name = "an_id")
|
private Long id;
|
@Column(name = "an_type")
|
private AppPageNotificationTypeEnum type;// 类型
|
@Column(name = "an_show")
|
private Boolean show;// 是否显示
|
|
@Expose
|
@Column(name = "an_can_close")
|
private Boolean canClose;// 是否可以关闭
|
|
@Expose
|
@Column(name = "an_content")
|
private String content;// 内容
|
|
@Expose
|
@Column(name = "an_content_url")
|
private String contentUrl;// 链接
|
|
@Expose
|
@Column(name = "an_md5")
|
private String md5;// type+内容+链接的md5
|
|
@Column(name = "an_createtime")
|
private Date createTime;// 创建时间
|
|
@Column(name = "an_begin_time")
|
private Date beginTime;// 开始时间
|
|
@Column(name = "an_end_time")
|
private Date endTime;// 结束时间
|
|
@Column(name = "an_updatetime")
|
private Date updateTime;// 更新时间
|
|
@Transient // 页面名称
|
private String pageName;
|
|
|
private String beginTimeVO;
|
private String endTimeVO;
|
|
|
public Long getId() {
|
return id;
|
}
|
|
public void setId(Long id) {
|
this.id = id;
|
}
|
|
public AppPageNotificationTypeEnum getType() {
|
return type;
|
}
|
|
public void setType(AppPageNotificationTypeEnum type) {
|
this.type = type;
|
}
|
|
public Boolean getShow() {
|
return show;
|
}
|
|
public void setShow(Boolean show) {
|
this.show = show;
|
}
|
|
public Boolean getCanClose() {
|
return canClose;
|
}
|
|
public void setCanClose(Boolean canClose) {
|
this.canClose = canClose;
|
}
|
|
public String getContent() {
|
return content;
|
}
|
|
public void setContent(String content) {
|
this.content = content;
|
}
|
|
public String getContentUrl() {
|
return contentUrl;
|
}
|
|
public void setContentUrl(String contentUrl) {
|
this.contentUrl = contentUrl;
|
}
|
|
public String getMd5() {
|
return md5;
|
}
|
|
public void setMd5(String md5) {
|
this.md5 = md5;
|
}
|
|
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 String getPageName() {
|
return pageName;
|
}
|
|
public void setPageName(String pageName) {
|
this.pageName = pageName;
|
}
|
|
public Date getBeginTime() {
|
return beginTime;
|
}
|
|
public void setBeginTime(Date beginTime) {
|
this.beginTime = beginTime;
|
}
|
|
public Date getEndTime() {
|
return endTime;
|
}
|
|
public void setEndTime(Date endTime) {
|
this.endTime = endTime;
|
}
|
|
public String getBeginTimeVO() {
|
return beginTimeVO;
|
}
|
|
public void setBeginTimeVO(String beginTimeVO) {
|
this.beginTimeVO = beginTimeVO;
|
}
|
|
public String getEndTimeVO() {
|
return endTimeVO;
|
}
|
|
public void setEndTimeVO(String endTimeVO) {
|
this.endTimeVO = endTimeVO;
|
}
|
|
}
|