admin
2024-10-16 62a447d89331aee1feae7724c7616aa1bb2cfe79
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;
   }
}