| | |
| | | package com.yeshi.fanli.entity.bus.user;
|
| | |
|
| | | 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 = "threeSaleDetail")
|
| | | public class ThreeSaleDetail {
|
| | | @Id
|
| | | private String id;
|
| | | @Indexed
|
| | | @Field
|
| | | private Long bossUid;
|
| | | @Indexed
|
| | | @Field
|
| | | private Long workUid;
|
| | | @Field
|
| | | private Integer level;// 第几级队员
|
| | | @Field
|
| | | private Date createTime;
|
| | |
|
| | | public String getId() {
|
| | | return id;
|
| | | }
|
| | |
|
| | | public void setId(String id) {
|
| | | this.id = id;
|
| | | }
|
| | |
|
| | | public Long getBossUid() {
|
| | | return bossUid;
|
| | | }
|
| | |
|
| | | public void setBossUid(Long bossUid) {
|
| | | this.bossUid = bossUid;
|
| | | }
|
| | |
|
| | | public Long getWorkUid() {
|
| | | return workUid;
|
| | | }
|
| | |
|
| | | public void setWorkUid(Long workUid) {
|
| | | this.workUid = workUid;
|
| | | }
|
| | |
|
| | | public Integer getLevel() {
|
| | | return level;
|
| | | }
|
| | |
|
| | | public void setLevel(Integer level) {
|
| | | this.level = level;
|
| | | }
|
| | |
|
| | | public Date getCreateTime() {
|
| | | return createTime;
|
| | | }
|
| | |
|
| | | public void setCreateTime(Date createTime) {
|
| | | this.createTime = createTime;
|
| | | }
|
| | |
|
| | | }
|
| | | package com.yeshi.fanli.entity.bus.user; |
| | | |
| | | 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 = "threeSaleDetail") |
| | | public class ThreeSaleDetail { |
| | | @Id |
| | | private String id; |
| | | @Indexed |
| | | @Field |
| | | private Long bossUid; |
| | | @Indexed |
| | | @Field |
| | | private Long workerUid; |
| | | |
| | | @Field |
| | | private Integer level;// 第几级队员 |
| | | @Field |
| | | private Date createTime; |
| | | |
| | | public String getId() { |
| | | return id; |
| | | } |
| | | |
| | | public void setId(String id) { |
| | | this.id = id; |
| | | } |
| | | |
| | | public Long getBossUid() { |
| | | return bossUid; |
| | | } |
| | | |
| | | public void setBossUid(Long bossUid) { |
| | | this.bossUid = bossUid; |
| | | } |
| | | |
| | | public Integer getLevel() { |
| | | return level; |
| | | } |
| | | |
| | | public void setLevel(Integer level) { |
| | | this.level = level; |
| | | } |
| | | |
| | | public Date getCreateTime() { |
| | | return createTime; |
| | | } |
| | | |
| | | public void setCreateTime(Date createTime) { |
| | | this.createTime = createTime; |
| | | } |
| | | |
| | | public Long getWorkerUid() { |
| | | return workerUid; |
| | | } |
| | | |
| | | public void setWorkerUid(Long workerUid) { |
| | | this.workerUid = workerUid; |
| | | } |
| | | |
| | | } |