yujian
2020-03-28 393e3a365b5ebbed6e9eef07fbd18881cde73711
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
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;
    }
 
}