admin
2025-02-25 30d8e227e8d823b6c38c3b9c90ac2df03b63befe
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
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
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;
    
    // 计算比例
    @Field("rate")
    private boolean rate;
    // 当日总数 -计算比例
    @Field("totalDay")
    private BigDecimal totalDay;
    // 当日有效总数  -计算比例
    @Field("totalValid")
    private BigDecimal totalValid;
    
    
 
    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;
    }
 
    public BigDecimal getTotalDay() {
        return totalDay;
    }
 
    public void setTotalDay(BigDecimal totalDay) {
        this.totalDay = totalDay;
    }
 
    public BigDecimal getTotalValid() {
        return totalValid;
    }
 
    public void setTotalValid(BigDecimal totalValid) {
        this.totalValid = totalValid;
    }
 
    public boolean isRate() {
        return rate;
    }
 
    public void setRate(boolean rate) {
        this.rate = rate;
    }
}