| | |
| | | package com.yeshi.fanli.entity.order;
|
| | |
|
| | | 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;
|
| | |
|
| | | /**
|
| | | * 团队订单统计
|
| | | * @author Administrator
|
| | | *
|
| | | */
|
| | |
|
| | | @Document(collection = "teamOrderStatistic")
|
| | | public class TeamOrderStatistic {
|
| | | @Id
|
| | | private String id;
|
| | | @Field
|
| | | @Indexed
|
| | | private Long uid;
|
| | | @Field
|
| | | @Indexed
|
| | | private Date day;
|
| | | @Field
|
| | | private Integer directOrderCount;// 直接订单数
|
| | | @Field
|
| | | private Integer inDirectOrderCount;// 间接订单数
|
| | | @Field
|
| | | private Integer otherOrderCount;// 二级外订单
|
| | | @Field
|
| | | private Date createTime;// 创建时间
|
| | | @Field
|
| | | private Date updateTime;// 更新时间
|
| | |
|
| | | public String getId() {
|
| | | return id;
|
| | | }
|
| | |
|
| | | public void setId(String id) {
|
| | | this.id = id;
|
| | | }
|
| | |
|
| | | public Long getUid() {
|
| | | return uid;
|
| | | }
|
| | |
|
| | | public void setUid(Long uid) {
|
| | | this.uid = uid;
|
| | | }
|
| | |
|
| | | public Date getDay() {
|
| | | return day;
|
| | | }
|
| | |
|
| | | public void setDay(Date day) {
|
| | | this.day = day;
|
| | | }
|
| | |
|
| | | public Integer getDirectOrderCount() {
|
| | | return directOrderCount;
|
| | | }
|
| | |
|
| | | public void setDirectOrderCount(Integer directOrderCount) {
|
| | | this.directOrderCount = directOrderCount;
|
| | | }
|
| | |
|
| | | public Integer getInDirectOrderCount() {
|
| | | return inDirectOrderCount;
|
| | | }
|
| | |
|
| | | public void setInDirectOrderCount(Integer inDirectOrderCount) {
|
| | | this.inDirectOrderCount = inDirectOrderCount;
|
| | | }
|
| | |
|
| | | public Integer getOtherOrderCount() {
|
| | | return otherOrderCount;
|
| | | }
|
| | |
|
| | | public void setOtherOrderCount(Integer otherOrderCount) {
|
| | | this.otherOrderCount = otherOrderCount;
|
| | | }
|
| | |
|
| | | public Date getCreateTime() {
|
| | | return createTime;
|
| | | }
|
| | |
|
| | | public void setCreateTime(Date createTime) {
|
| | | this.createTime = createTime;
|
| | | }
|
| | |
|
| | | public Date getUpdateTime() {
|
| | | return updateTime;
|
| | | }
|
| | |
|
| | | public void setUpdateTime(Date updateTime) {
|
| | | this.updateTime = updateTime;
|
| | | }
|
| | |
|
| | | }
|
| | | package com.yeshi.fanli.entity.order; |
| | | |
| | | 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; |
| | | |
| | | /** |
| | | * 团队订单统计 |
| | | * @author Administrator |
| | | * |
| | | */ |
| | | |
| | | @Document(collection = "teamOrderStatistic") |
| | | public class TeamOrderStatistic { |
| | | @Id |
| | | private String id; |
| | | @Field |
| | | @Indexed |
| | | private Long uid; |
| | | @Field |
| | | @Indexed |
| | | private Date day; |
| | | @Field |
| | | private Integer directOrderCount;// 直接订单数 |
| | | @Field |
| | | private Integer inDirectOrderCount;// 间接订单数 |
| | | @Field |
| | | private Integer otherOrderCount;// 二级外订单 |
| | | @Field |
| | | private Date createTime;// 创建时间 |
| | | @Field |
| | | private Date updateTime;// 更新时间 |
| | | |
| | | public String getId() { |
| | | return id; |
| | | } |
| | | |
| | | public void setId(String id) { |
| | | this.id = id; |
| | | } |
| | | |
| | | public Long getUid() { |
| | | return uid; |
| | | } |
| | | |
| | | public void setUid(Long uid) { |
| | | this.uid = uid; |
| | | } |
| | | |
| | | public Date getDay() { |
| | | return day; |
| | | } |
| | | |
| | | public void setDay(Date day) { |
| | | this.day = day; |
| | | } |
| | | |
| | | public Integer getDirectOrderCount() { |
| | | return directOrderCount; |
| | | } |
| | | |
| | | public void setDirectOrderCount(Integer directOrderCount) { |
| | | this.directOrderCount = directOrderCount; |
| | | } |
| | | |
| | | public Integer getInDirectOrderCount() { |
| | | return inDirectOrderCount; |
| | | } |
| | | |
| | | public void setInDirectOrderCount(Integer inDirectOrderCount) { |
| | | this.inDirectOrderCount = inDirectOrderCount; |
| | | } |
| | | |
| | | public Integer getOtherOrderCount() { |
| | | return otherOrderCount; |
| | | } |
| | | |
| | | public void setOtherOrderCount(Integer otherOrderCount) { |
| | | this.otherOrderCount = otherOrderCount; |
| | | } |
| | | |
| | | public Date getCreateTime() { |
| | | return createTime; |
| | | } |
| | | |
| | | public void setCreateTime(Date createTime) { |
| | | this.createTime = createTime; |
| | | } |
| | | |
| | | public Date getUpdateTime() { |
| | | return updateTime; |
| | | } |
| | | |
| | | public void setUpdateTime(Date updateTime) { |
| | | this.updateTime = updateTime; |
| | | } |
| | | |
| | | } |