yujian
2020-05-07 a9c9da611563738e2974103a45270d5857b746b6
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
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 = "team_level_daily_record")
public class TeamLevelDailyRecord {
 
    @Id
    private String id;
    @Field
    @Indexed
    private Long uid;
    @Indexed
    @Field
    private UserLevelEnum level; // 统计的等级
    @Field
    private Integer firstCount; // 一级
    @Field
    private Integer secondCount; // 二级
    @Field
    private Integer secondBeyond;  // 二级以外
    @Field
    private Date statisticDay; // 统计日期: 年-月-日
    @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 getLevel() {
        return level;
    }
 
    public void setLevel(UserLevelEnum level) {
        this.level = level;
    }
 
    public Integer getFirstCount() {
        return firstCount;
    }
 
    public void setFirstCount(Integer firstCount) {
        this.firstCount = firstCount;
    }
 
    public Integer getSecondCount() {
        return secondCount;
    }
 
    public void setSecondCount(Integer secondCount) {
        this.secondCount = secondCount;
    }
 
    public Date getUpdateTime() {
        return updateTime;
    }
 
    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
 
    public Integer getSecondBeyond() {
        return secondBeyond;
    }
 
    public void setSecondBeyond(Integer secondBeyond) {
        this.secondBeyond = secondBeyond;
    }
 
    public Date getStatisticDay() {
        return statisticDay;
    }
 
    public void setStatisticDay(Date statisticDay) {
        this.statisticDay = statisticDay;
    }
}