yujian
2020-03-25 010760fd974453a70948fef465284d8c817314f5
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.admin.count;
 
import java.math.BigDecimal;
import java.util.Date;
 
import org.springframework.data.mongodb.core.mapping.Document;
import org.springframework.data.mongodb.core.mapping.Field;
 
/**
 *    每日用户统计
 * 
 * @author Administrator
 *
 */
@Document(collection = "daily_count_user")
public class DailyCountUser {
 
    public enum DailyCountUserEnum {
        newUserChannel("新增用户分渠道"), 
        newUserDownOrderDay("转化率-当日下单"),
        newUserDownOrderWeek("转化率-当周下单"),
        newUserDownOrderWeek3("转化率-当周下3单"),
        activeAgain90("90天再次活跃"),
        integralNum("用户金币数量"),
        newUserTljNum("新人红包数量总计"),
        newUserTljMoney("新人红包金额总计"),
        redpackNum("奖励红包总计"),
        redpackMoney("奖励红包总计"),
        extractApplyNumber("提现申请次数"),
        extractApplyMoney("提现申请金额"),
        extractAuditPass("提现审核通过"),
        extractAuditReject("提现审核驳回");
 
        private final String desc;
        
        private DailyCountUserEnum(String desc) {
            this.desc = desc;
        }
 
        public String getDesc() {
            return desc;
        }
    }
 
    @Field("_id")
    private String id;
    // 日期:年月日
    @Field("day")
    private Date day;
    // 总数
    @Field("total")
    private BigDecimal total;
    // 类型
    @Field("type")
    private DailyCountUserEnum type;
    // 渠道
    @Field("channel")
    private String channel;
    // 更新日期
    @Field("updateDate")
    private Date updateDate;
 
    public String getId() {
        return id;
    }
 
    public void setId(String id) {
        this.id = id;
    }
 
    public Date getDay() {
        return day;
    }
 
    public void setDay(Date day) {
        this.day = day;
    }
 
    public BigDecimal getTotal() {
        return total;
    }
 
    public void setTotal(BigDecimal total) {
        this.total = total;
    }
 
    public DailyCountUserEnum getType() {
        return type;
    }
 
    public void setType(DailyCountUserEnum type) {
        this.type = type;
    }
 
    public Date getUpdateDate() {
        return updateDate;
    }
 
    public void setUpdateDate(Date updateDate) {
        this.updateDate = updateDate;
    }
 
    public String getChannel() {
        return channel;
    }
 
    public void setChannel(String channel) {
        this.channel = channel;
    }
 
}