From f4a0f2acc63d7785eab108419a4e16f5f688cb95 Mon Sep 17 00:00:00 2001
From: yujian <yujian@163.com>
Date: 星期六, 18 一月 2020 12:06:27 +0800
Subject: [PATCH] 用户注册信息

---
 fanli/src/main/java/com/yeshi/fanli/entity/bus/user/UserInfo.java |   69 +++++++++++++++++++++++++---------
 1 files changed, 51 insertions(+), 18 deletions(-)

diff --git a/fanli/src/main/java/com/yeshi/fanli/entity/bus/user/UserInfo.java b/fanli/src/main/java/com/yeshi/fanli/entity/bus/user/UserInfo.java
index 8326e58..b46cb08 100644
--- a/fanli/src/main/java/com/yeshi/fanli/entity/bus/user/UserInfo.java
+++ b/fanli/src/main/java/com/yeshi/fanli/entity/bus/user/UserInfo.java
@@ -3,8 +3,6 @@
 import java.math.BigDecimal;
 
 import javax.persistence.Column;
-import javax.persistence.JoinColumn;
-import javax.persistence.ManyToOne;
 import javax.persistence.Transient;
 
 import org.yeshi.utils.mybatis.Table;
@@ -81,9 +79,9 @@
 	@Expose
 	private String lastLoginIp;// 鏈�杩戜竴娆$櫥褰旾P
 
-	@Column(name = "tuiguang_code")
+	@Column(name = "type")
 	@Expose
-	private String tuiGuangCode;// 鎺ㄥ箍鐮�
+	private Integer type;// 鐢ㄦ埛绫诲瀷 0-鏅�氱敤鎴� 1-铏氭嫙鐢ㄦ埛
 
 	@Column(name = "appid")
 	@Expose
@@ -108,8 +106,6 @@
 	private String payPassword;
 
 	@Column(name = "sid")
-	@ManyToOne
-	@JoinColumn(name = "sid")
 	private BusinessSystem system;
 
 	@Column(name = "rank")
@@ -125,22 +121,37 @@
 
 	@Column(name = "state_desc")
 	private String stateDesc;
+	
+	@Column(name = "platform")
+	private String platform;//鏉ユ簮骞冲彴
+
+	public String getPlatform() {
+		return platform;
+	}
+
+	public void setPlatform(String platform) {
+		this.platform = platform;
+	}
 
 	@Transient
 	@Expose
 	private String rankIcon;// 绛夌骇鍥炬爣
-	
 
-	// 鎬у埆: 1-濂�  2-鐢�
+	// 鎬у埆: 1-濂� 2-鐢�
 	@Transient
 	@Expose
 	private Integer sex;
-	
+
 	// 寰俊鍙�
 	@Transient
 	@Expose
 	private String weiXin;
 	
+	// 浜岀淮鐮�
+	@Transient
+	@Expose
+	private String erCode;
+
 	// 寰俊鎻愮ず璇�
 	@Transient
 	@Expose
@@ -151,6 +162,19 @@
 	private String rankNamePicture;// 绛夌骇鍚嶇О鍥剧墖
 	@Transient
 	private String taoBaoUid;// 娣樺疂鐨勭敤鎴稩D
+
+	// 鏄惁涓篤IP
+	@Transient
+	@Expose
+	private boolean vip;
+
+	public boolean isVip() {
+		return vip;
+	}
+
+	public void setVip(boolean vip) {
+		this.vip = vip;
+	}
 
 	public String getTaoBaoUid() {
 		return taoBaoUid;
@@ -192,6 +216,7 @@
 		this.rankIcon = rankIcon;
 	}
 
+	// TODO
 	public UserInfo() {
 		openid = "";
 		wxOpenId = "";
@@ -280,14 +305,6 @@
 
 	public void setAppId(String appId) {
 		this.appId = appId;
-	}
-
-	public String getTuiGuangCode() {
-		return tuiGuangCode;
-	}
-
-	public void setTuiGuangCode(String tuiGuangCode) {
-		this.tuiGuangCode = tuiGuangCode;
 	}
 
 	public Long getId() {
@@ -401,7 +418,7 @@
 	public void setPayPassword(String payPassword) {
 		this.payPassword = payPassword;
 	}
-	
+
 	public Integer getSex() {
 		return sex;
 	}
@@ -426,6 +443,22 @@
 		this.weiXinTip = weiXinTip;
 	}
 
+	public Integer getType() {
+		return type;
+	}
+
+	public void setType(Integer type) {
+		this.type = type;
+	}
+
+	public String getErCode() {
+		return erCode;
+	}
+
+	public void setErCode(String erCode) {
+		this.erCode = erCode;
+	}
+
 	@Override
 	public int hashCode() {
 		final int prime = 31;

--
Gitblit v1.8.0