From 62a447d89331aee1feae7724c7616aa1bb2cfe79 Mon Sep 17 00:00:00 2001 From: admin <weikou2014> Date: 星期三, 16 十月 2024 14:28:37 +0800 Subject: [PATCH] 将CMQ替换为rabbitmq --- fanli/src/main/java/com/yeshi/fanli/entity/bus/user/vip/UserLevelUpgradedNotify.java | 222 +++++++++++++++++++++++++++--------------------------- 1 files changed, 111 insertions(+), 111 deletions(-) diff --git a/fanli/src/main/java/com/yeshi/fanli/entity/bus/user/vip/UserLevelUpgradedNotify.java b/fanli/src/main/java/com/yeshi/fanli/entity/bus/user/vip/UserLevelUpgradedNotify.java index 74c2ddd..44b5a31 100644 --- a/fanli/src/main/java/com/yeshi/fanli/entity/bus/user/vip/UserLevelUpgradedNotify.java +++ b/fanli/src/main/java/com/yeshi/fanli/entity/bus/user/vip/UserLevelUpgradedNotify.java @@ -1,111 +1,111 @@ -package com.yeshi.fanli.entity.bus.user.vip; - -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; - -/** - * 鐢ㄦ埛绛夌骇鍗囩骇鎻愰啋 - * @author Administrator - * - */ -@Document(collection = "userLevelUpgradedNotify") -public class UserLevelUpgradedNotify { - - @Id - private String id; - @Field - @Indexed - private Long uid; - @Field - private UserLevelEnum fromLevel;// 鍘熺敤鎴风瓑绾� - @Indexed - @Field - private UserLevelEnum toLevel;// 鏂扮殑鐢ㄦ埛绛夌骇 - @Field - private Boolean valid;// 鏄惁鏈夋晥 - @Field - private Boolean notified;// 鏄惁宸茬粡鎻愰啋 - @Field - private Date readTime;// 闃呰鏃堕棿 - @Field - private Date createTime; - @Field - private Date updateTime; - - public String getId() { - return id; - } - - public void setId(String id) { - this.id = id; - } - - public Long getUid() { - return uid; - } - - public void setUid(Long uid) { - this.uid = uid; - } - - public UserLevelEnum getFromLevel() { - return fromLevel; - } - - public void setFromLevel(UserLevelEnum fromLevel) { - this.fromLevel = fromLevel; - } - - public UserLevelEnum getToLevel() { - return toLevel; - } - - public void setToLevel(UserLevelEnum toLevel) { - this.toLevel = toLevel; - } - - public Boolean getValid() { - return valid; - } - - public void setValid(Boolean valid) { - this.valid = valid; - } - - public Boolean getNotified() { - return notified; - } - - public void setNotified(Boolean notified) { - this.notified = notified; - } - - 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 Date getReadTime() { - return readTime; - } - - public void setReadTime(Date readTime) { - this.readTime = readTime; - } - -} +package com.yeshi.fanli.entity.bus.user.vip; + +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; + +/** + * 鐢ㄦ埛绛夌骇鍗囩骇鎻愰啋 + * @author Administrator + * + */ +@Document(collection = "userLevelUpgradedNotify") +public class UserLevelUpgradedNotify { + + @Id + private String id; + @Field + @Indexed + private Long uid; + @Field + private UserLevelEnum fromLevel;// 鍘熺敤鎴风瓑绾� + @Indexed + @Field + private UserLevelEnum toLevel;// 鏂扮殑鐢ㄦ埛绛夌骇 + @Field + private Boolean valid;// 鏄惁鏈夋晥 + @Field + private Boolean notified;// 鏄惁宸茬粡鎻愰啋 + @Field + private Date readTime;// 闃呰鏃堕棿 + @Field + private Date createTime; + @Field + private Date updateTime; + + public String getId() { + return id; + } + + public void setId(String id) { + this.id = id; + } + + public Long getUid() { + return uid; + } + + public void setUid(Long uid) { + this.uid = uid; + } + + public UserLevelEnum getFromLevel() { + return fromLevel; + } + + public void setFromLevel(UserLevelEnum fromLevel) { + this.fromLevel = fromLevel; + } + + public UserLevelEnum getToLevel() { + return toLevel; + } + + public void setToLevel(UserLevelEnum toLevel) { + this.toLevel = toLevel; + } + + public Boolean getValid() { + return valid; + } + + public void setValid(Boolean valid) { + this.valid = valid; + } + + public Boolean getNotified() { + return notified; + } + + public void setNotified(Boolean notified) { + this.notified = notified; + } + + 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 Date getReadTime() { + return readTime; + } + + public void setReadTime(Date readTime) { + this.readTime = readTime; + } + +} -- Gitblit v1.8.0