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天内订单用户数量"),;
|
|
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;
|
|
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;
|
}
|
|
}
|