package com.yeshi.fanli.entity.admin.count;
|
|
import java.util.Date;
|
|
import org.springframework.data.mongodb.core.mapping.Field;
|
|
/**
|
* 订单跟踪率
|
*
|
* @author Administrator
|
*
|
*/
|
public class CountOrderTrackRate {
|
public enum OrderTrackRateEnum {
|
taobao(1,"订单渠道统计"), jd(2,"新人24小时产生订单"), pdd(3,"订单佣金");
|
|
private final int value;
|
private final String desc;
|
|
private OrderTrackRateEnum(int value, String desc) {
|
this.value = value;
|
this.desc = desc;
|
}
|
|
public String getDesc() {
|
return desc;
|
}
|
|
public int getValue() {
|
return value;
|
}
|
}
|
|
@Field("_id")
|
private String id;
|
// 日期
|
@Field("day")
|
private Date day;
|
// 数量
|
@Field("num")
|
private Long num;
|
// 金额
|
@Field("money")
|
private Long totalNum;
|
// 类型
|
@Field("type")
|
private String type;
|
|
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 Long getNum() {
|
return num;
|
}
|
|
public void setNum(Long num) {
|
this.num = num;
|
}
|
|
public Long getTotalNum() {
|
return totalNum;
|
}
|
|
public void setTotalNum(Long totalNum) {
|
this.totalNum = totalNum;
|
}
|
|
public String getType() {
|
return type;
|
}
|
|
public void setType(String type) {
|
this.type = type;
|
}
|
|
}
|