| | |
| | | @Document(collection = "order_money_daily_count")
|
| | | public class OrderMoneyDailyCount {
|
| | |
|
| | | public enum SourceTypeEnum {
|
| | | taobao("淘宝", "http://img.flqapp.com/resource/icon/source_type_tb.png"),
|
| | | tmall("天猫", "http://img.flqapp.com/resource/icon/source_type_tm.png"),
|
| | | tmallGlobal("天猫国际", "http://img.flqapp.com/resource/icon/source_type_tm_inter.png"),
|
| | | juHuaSuan("聚划算", "http://img.flqapp.com/resource/icon/source_type_juhuasuan.png"),
|
| | | huangLv("航旅", "http://img.flqapp.com/resource/icon/source_type_hanglv.png"),
|
| | | kouBei("口碑", "http://img.flqapp.com/resource/icon/source_type_koubei.png"),
|
| | | elme("饿了么", "http://img.flqapp.com/resource/icon/source_type_elme.png"),
|
| | | jingDong("京东", "http://img.flqapp.com/resource/icon/source_type_jd.png"),
|
| | | pinDuoDuo("拼多多", "http://img.flqapp.com/resource/icon/source_type_pdd.png");
|
| | |
|
| | | private final String desc;
|
| | | private final String icon;
|
| | |
|
| | | private SourceTypeEnum(String desc, String icon) {
|
| | | this.desc = desc;
|
| | | this.icon = icon;
|
| | | }
|
| | |
|
| | | public String getDesc() {
|
| | | return desc;
|
| | | }
|
| | |
|
| | | public String getIcon() {
|
| | | return icon;
|
| | | }
|
| | | }
|
| | |
|
| | | @Id
|
| | | @Field
|
| | | private String id;
|
| | |
| | | @Field
|
| | | private Integer orderNumTeam; // 订单数量-团队(二级内)
|
| | | @Field
|
| | | private Integer teamReward; // 团队奖励 X 100 |
| | | private Integer teamReward; // 团队奖励 X 100
|
| | | @Field
|
| | | private Integer teamRewardNum; // 团队奖励订单数量
|
| | | @Field
|
| | |
| | | @Field
|
| | | private Integer teamSubsidyNum; // 团队补贴订单数量
|
| | | @Field
|
| | | private Integer teamDividentsOrderNum;// 参与分红的订单数量
|
| | | @Field
|
| | | private Integer directOrderNum;// 直接订单数量
|
| | | @Field
|
| | | private Integer inDirectOrderNum;// 间接订单数量
|
| | | @Field
|
| | | private Integer beyondOrderNum;// 二级外订单数量
|
| | |
|
| | | public OrderMoneyDailyCount() {
|
| | | }
|
| | |
|
| | | public OrderMoneyDailyCount(Integer directOrderNum, Integer inDirectOrderNum, Integer beyondOrderNum) {
|
| | | this.directOrderNum = directOrderNum;
|
| | | this.inDirectOrderNum = inDirectOrderNum;
|
| | | this.beyondOrderNum = beyondOrderNum;
|
| | | }
|
| | |
|
| | | public Integer getDirectOrderNum() {
|
| | | return directOrderNum;
|
| | |
| | | this.updateTime = updateTime;
|
| | | }
|
| | |
|
| | | public Integer getTeamDividentsOrderNum() {
|
| | | return teamDividentsOrderNum;
|
| | | }
|
| | |
|
| | | public void setTeamDividentsOrderNum(Integer teamDividentsOrderNum) {
|
| | | this.teamDividentsOrderNum = teamDividentsOrderNum;
|
| | | }
|
| | |
|
| | | }
|