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;
|
}
|
}
|