From 28cf328a098334b51a3e9d2d56f983fb8c862211 Mon Sep 17 00:00:00 2001
From: yujian <yujian@163.com>
Date: 星期六, 23 五月 2020 09:54:38 +0800
Subject: [PATCH] 足迹、收藏订单兼容新需求

---
 fanli/src/main/java/com/yeshi/fanli/entity/bus/user/TeamFansInfo.java |  168 +++++++++++++++++++++++++++++++++++++------------------
 1 files changed, 112 insertions(+), 56 deletions(-)

diff --git a/fanli/src/main/java/com/yeshi/fanli/entity/bus/user/TeamFansInfo.java b/fanli/src/main/java/com/yeshi/fanli/entity/bus/user/TeamFansInfo.java
index febf272..6925c2b 100644
--- a/fanli/src/main/java/com/yeshi/fanli/entity/bus/user/TeamFansInfo.java
+++ b/fanli/src/main/java/com/yeshi/fanli/entity/bus/user/TeamFansInfo.java
@@ -1,75 +1,91 @@
 package com.yeshi.fanli.entity.bus.user;
 
-import java.math.BigDecimal;
 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;
 
 import com.yeshi.fanli.entity.bus.user.vip.UserLevelEnum;
 
-@Document(collection = "team_fans_info")
+@Document(collection = "teamFansInfo")
 public class TeamFansInfo {
 
 	@Id
-	@Field("id")
+	@Field
 	private String id;
 
-	@Field("bossId")
+	@Field
+	@Indexed
 	private Long bossId; // 涓婄骇id
 
-	@Field("bossSuperId")
+	@Field
+	@Indexed
 	private Long bossSuperId; // 涓婁笂绾d
 
-	@Field("workerId")
+	@Field
+	@Indexed
 	private Long workerId; // 涓嬬骇id
 
-	@Field("nickName")
+	@Field
 	private String nickName; // 鏄电О
-	
-	@Field("level")
+
+	@Field
 	private UserLevelEnum level; // 褰撳墠绛夌骇
 
-	@Field("stateValid")
+	@Field
 	private Boolean stateValid; // 鏈夋晥绮変笣
 
-	@Field("taobaoBind")
+	@Field
 	private Boolean taobaoBind; // 缁戝畾娣樺疂
 
-	@Field("weixinBind")
-	private Boolean weixinBind; // 缁戝畾寰俊
+	@Field
+	private String weixinId; // 寰俊鍙�
 
-	@Field("activeTime")
+	@Field
+	private Boolean weixinIdExist; // 濉啓寰俊鍙�
+
+	@Field
+	private String phone; // 鐢佃瘽鍙风爜
+
+	@Field
+	private Boolean phoneOpen; // 鐢佃瘽鍙风爜鍏紑
+
+	@Field
+	private String inviteCode; // 閭�璇风爜
+
+	@Field
 	private Date activeTime; // 娲昏穬鏃堕棿
 
-	@Field("fansNum")
+	@Field
 	private Integer fansNum; // 绮変笣鏁伴噺
 
-	@Field("income")
-	private BigDecimal income; // 璐︽埛鏀跺叆
+	@Field
+	private Integer income; // 璐︽埛鏀跺叆 涔樹互100
 
-	@Field("incomeTime")
+	@Field
 	private Date incomeTime; // 璐︽埛鏀跺叆缁熻鏃堕棿
 
-	@Field("joinTime")
+	@Field
 	private Date joinTime; // 閭�璇锋垚鍔熸椂闂�
 
-	@Field("memoName")
+	@Field
 	private String memoName; // 鐩存帴涓婄骇澶囨敞鍚�
 
-	@Field("tags")
+	@Field
 	private String tags; // 鐩存帴涓婄骇鏍囩
 
-	@Field("memoNameSup")
+	@Field
 	private String memoNameSup; // 闂存帴涓婄骇澶囨敞鍚�
-	
-	
 
-	@Field("tagsSup")
+	@Field
 	private String tagsSup; // 闂存帴涓婄骇鏍囩
 
-	@Field("updateTime")
+	@Field
+	private Date crateTime; // 鍒涘缓鏃堕棿
+	
+	@Field
 	private Date updateTime; // 鏇存柊鏃堕棿
 
 	public String getId() {
@@ -112,20 +128,12 @@
 		this.nickName = nickName;
 	}
 
-	public String getMemoName() {
-		return memoName;
+	public UserLevelEnum getLevel() {
+		return level;
 	}
 
-	public void setMemoName(String memoName) {
-		this.memoName = memoName;
-	}
-
-	public String getTags() {
-		return tags;
-	}
-
-	public void setTags(String tags) {
-		this.tags = tags;
+	public void setLevel(UserLevelEnum level) {
+		this.level = level;
 	}
 
 	public Boolean getStateValid() {
@@ -144,12 +152,44 @@
 		this.taobaoBind = taobaoBind;
 	}
 
-	public Boolean getWeixinBind() {
-		return weixinBind;
+	public String getWeixinId() {
+		return weixinId;
 	}
 
-	public void setWeixinBind(Boolean weixinBind) {
-		this.weixinBind = weixinBind;
+	public void setWeixinId(String weixinId) {
+		this.weixinId = weixinId;
+	}
+
+	public Boolean getWeixinIdExist() {
+		return weixinIdExist;
+	}
+
+	public void setWeixinIdExist(Boolean weixinIdExist) {
+		this.weixinIdExist = weixinIdExist;
+	}
+
+	public String getPhone() {
+		return phone;
+	}
+
+	public void setPhone(String phone) {
+		this.phone = phone;
+	}
+
+	public Boolean getPhoneOpen() {
+		return phoneOpen;
+	}
+
+	public void setPhoneOpen(Boolean phoneOpen) {
+		this.phoneOpen = phoneOpen;
+	}
+
+	public String getInviteCode() {
+		return inviteCode;
+	}
+
+	public void setInviteCode(String inviteCode) {
+		this.inviteCode = inviteCode;
 	}
 
 	public Date getActiveTime() {
@@ -168,11 +208,11 @@
 		this.fansNum = fansNum;
 	}
 
-	public BigDecimal getIncome() {
+	public Integer getIncome() {
 		return income;
 	}
 
-	public void setIncome(BigDecimal income) {
+	public void setIncome(Integer income) {
 		this.income = income;
 	}
 
@@ -184,20 +224,28 @@
 		this.incomeTime = incomeTime;
 	}
 
-	public Date getUpdateTime() {
-		return updateTime;
-	}
-
-	public void setUpdateTime(Date updateTime) {
-		this.updateTime = updateTime;
-	}
-
 	public Date getJoinTime() {
 		return joinTime;
 	}
 
 	public void setJoinTime(Date joinTime) {
 		this.joinTime = joinTime;
+	}
+
+	public String getMemoName() {
+		return memoName;
+	}
+
+	public void setMemoName(String memoName) {
+		this.memoName = memoName;
+	}
+
+	public String getTags() {
+		return tags;
+	}
+
+	public void setTags(String tags) {
+		this.tags = tags;
 	}
 
 	public String getMemoNameSup() {
@@ -216,12 +264,20 @@
 		this.tagsSup = tagsSup;
 	}
 
-	public UserLevelEnum getLevel() {
-		return level;
+	public Date getUpdateTime() {
+		return updateTime;
 	}
 
-	public void setLevel(UserLevelEnum level) {
-		this.level = level;
+	public void setUpdateTime(Date updateTime) {
+		this.updateTime = updateTime;
+	}
+
+	public Date getCrateTime() {
+		return crateTime;
+	}
+
+	public void setCrateTime(Date crateTime) {
+		this.crateTime = crateTime;
 	}
 
 }

--
Gitblit v1.8.0