yujian
2020-03-24 fd1dce3121a7773419263c495f92e160cc1e7124
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
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 = "CountUserInfo")
public class CountUserInfo {
 
    public enum CountUserEnum {
        newUser("其他"), 
        extractApplyNumber("提现申请次数"),
        extractApplyMoney("提现申请次数"),
        extractAuditNumber("提现审核次数"),
        todayOrder("当日订单的用户数量"),
        weekOrder("7天内订单用户数量"),
        weekThreeOrder("7天内订单用户数量"),
        integral("金币数量");
 
        private final String desc;
 
        private CountUserEnum(String desc) {
            this.desc = desc;
        }
 
        public String getDesc() {
            return desc;
        }
    }
 
    @Field("_id")
    private String id;
    // 日期
    @Field("day")
    private Date day;
    // 数量
    @Field("num")
    private Integer num;
    // 金额
    @Field("money")
    private BigDecimal money;
    
    @Field("state")
    private Integer state;
    // 类型
    @Field("type")
    private CountUserEnum 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 Integer getNum() {
        return num;
    }
 
    public void setNum(Integer num) {
        this.num = num;
    }
 
    public BigDecimal getMoney() {
        return money;
    }
 
    public void setMoney(BigDecimal money) {
        this.money = money;
    }
 
    public CountUserEnum getType() {
        return type;
    }
 
    public void setType(CountUserEnum type) {
        this.type = type;
    }
 
    public String getChannel() {
        return channel;
    }
 
    public void setChannel(String channel) {
        this.channel = channel;
    }
 
    public Integer getState() {
        return state;
    }
 
    public void setState(Integer state) {
        this.state = state;
    }
 
    public Date getUpdateDate() {
        return updateDate;
    }
 
    public void setUpdateDate(Date updateDate) {
        this.updateDate = updateDate;
    }
}