| | |
| | | import java.util.Date;
|
| | |
|
| | | import org.springframework.data.annotation.Id;
|
| | | import org.springframework.data.mongodb.core.index.Indexed;
|
| | | import org.springframework.data.mongodb.core.mapping.Document;
|
| | | import org.springframework.data.mongodb.core.mapping.Field;
|
| | |
|
| | |
| | | @Id
|
| | | @Field
|
| | | private String id;
|
| | | @Indexed
|
| | | @Field
|
| | | private Long uid; // 上级id
|
| | | @Field
|
| | | private SourceTypeEnum sourceType; // 来源类型
|
| | | @Indexed
|
| | | @Field
|
| | | private String yearMonth; // 统计日期-字符串
|
| | | @Indexed
|
| | | @Field
|
| | | private Date countDay; // 统计日期
|
| | | @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;
|