yujian
2020-05-09 7e7db2fa55a9a3af46d4fd8ede0dee147f101d64
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
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_daily_record")
public class TeamDailyRecord {
 
    @Id
    private String id;
    @Field
    @Indexed
    private Long uid;
    @Field
    private Integer firstCount; // 一级
    @Field
    private Integer secondCount; // 二级
    @Field
    private Integer secondBeyond;  // 二级以外
    @Field
    private Date statisticDay; // 统计日期: 年-月-日
    @Field
    private Date updateTime;
 
    public TeamDailyRecord() {}
    
    public TeamDailyRecord(Integer firstCount, Integer secondCount, Integer secondBeyond) {
        this.firstCount = firstCount;
        this.secondCount = secondCount;
        this.secondBeyond = secondBeyond;
    }
    
    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 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;
    }
}