From 30d8e227e8d823b6c38c3b9c90ac2df03b63befe Mon Sep 17 00:00:00 2001
From: admin <weikou2014>
Date: 星期二, 25 二月 2025 16:41:22 +0800
Subject: [PATCH] 淘宝转链接口更新

---
 fanli/src/main/java/com/yeshi/fanli/entity/bus/user/UserInfo.java |  976 +++++++++++++++++++++++++++++---------------------------
 1 files changed, 505 insertions(+), 471 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 3e6b129..cc6ff96 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
@@ -1,471 +1,505 @@
-package com.yeshi.fanli.entity.bus.user;
-
-import java.math.BigDecimal;
-
-import javax.persistence.Column;
-import javax.persistence.Entity;
-import javax.persistence.Id;
-import javax.persistence.JoinColumn;
-import javax.persistence.ManyToOne;
-import javax.persistence.Table;
-import javax.persistence.Transient;
-
-import com.google.gson.annotations.Expose;
-import com.yeshi.fanli.entity.system.BusinessSystem;
-
-/**
- * 鐢ㄦ埛淇℃伅
- * 
- * @author Administrator
- *
- */
-@Entity
-@Table(name = "`yeshi_ec_user`")
-@org.yeshi.utils.mybatis.Table("yeshi_ec_user")
-public class UserInfo {
-	public static int STATE_NORMAL = 0;// 姝e父鐘舵��
-	public static int STATE_DELETE = 1;// 鍒犻櫎鐘舵��
-	public static int STATE_FORBIDDEN = 2;// 灏佺鐘舵��
-	public static int STATE_DELETE_OUT_OF_DATE = 4;// 鐢ㄦ埛闀挎湡涓嶆椿璺冭鍒犻櫎
-
-	@Id
-	// @GeneratedValue(strategy = GenerationType.SEQUENCE)
-	@Column(name = "id")
-	@org.yeshi.utils.mybatis.Column(name = "id")
-	@Expose
-	private Long id;
-	/**
-	 * 娣樺疂openId
-	 */
-	@Expose
-	@Column(name = "identifycode", length = 128)
-	@org.yeshi.utils.mybatis.Column(name = "identifycode")
-	private String openid;
-
-	@Column(name = "login_type")
-	@org.yeshi.utils.mybatis.Column(name = "login_type")
-	@Expose
-	private Integer loginType;// 1-娣樺疂
-
-	@Column(name = "wx_open_id")
-	@org.yeshi.utils.mybatis.Column(name = "wx_open_id")
-	@Expose
-	private String wxOpenId;
-
-	@Column(name = "wx_union_id")
-	@org.yeshi.utils.mybatis.Column(name = "wx_union_id")
-	@Expose
-	private String wxUnionId;
-
-	@org.yeshi.utils.mybatis.Column(name = "nick_name")
-	@Column(name = "nick_name", length = 128)
-	@Expose
-	private String nickName;// 鏄电О
-
-	@org.yeshi.utils.mybatis.Column(name = "tbName")
-	@Expose
-	private String tbName; // 娣樺疂鏄电О
-
-	@org.yeshi.utils.mybatis.Column(name = "tbPic")
-	private String tbPic;// 娣樺疂澶村儚
-
-	@org.yeshi.utils.mybatis.Column(name = "wxName")
-	@Expose
-	private String wxName;
-
-	@org.yeshi.utils.mybatis.Column(name = "wxPic")
-	private String wxPic;
-
-	@org.yeshi.utils.mybatis.Column(name = "portrait")
-	@Column(name = "portrait", length = 512)
-	@Expose
-	private String portrait;// 澶村儚
-
-	@org.yeshi.utils.mybatis.Column(name = "createtime")
-	@Expose
-	private Long createtime;
-
-	@org.yeshi.utils.mybatis.Column(name = "last_logintime")
-	@Column(name = "last_logintime")
-	@Expose
-	private Long lastLoginTime;// 鏈�杩戜竴娆$櫥褰曟椂闂�
-
-	@org.yeshi.utils.mybatis.Column(name = "loginip")
-	@Column(name = "loginip", length = 30)
-	@Expose
-	private String lastLoginIp;// 鏈�杩戜竴娆$櫥褰旾P
-
-	@org.yeshi.utils.mybatis.Column(name = "tuiguang_code")
-	@Column(name = "tuiguang_code", length = 30)
-	@Expose
-	private String tuiGuangCode;// 鎺ㄥ箍鐮�
-
-	@org.yeshi.utils.mybatis.Column(name = "appid")
-	@Column(name = "appid", length = 30)
-	@Expose
-	private String appId;//
-
-	@org.yeshi.utils.mybatis.Column(name = "my_hongBao")
-	@Column(name = "my_hongBao", length = 8)
-	@Expose
-	// @Type(type = "big_decimal")
-	private BigDecimal myHongBao; // 鎴戠殑绾㈠寘
-
-	@Transient
-	@Expose
-	private BigDecimal totalHongBao; // 绱鐨勭孩鍖�
-	@Transient
-	@Expose
-	private BigDecimal noOpenHongBao; // 鏈墦寮�绾㈠寘
-	@Transient
-	@Expose
-	private BigDecimal canOpenHongBao;
-
-	@org.yeshi.utils.mybatis.Column(name = "pay_password")
-	@Column(name = "pay_password")
-	private String payPassword;
-
-	@org.yeshi.utils.mybatis.Column(name = "sid")
-	@ManyToOne
-	@JoinColumn(name = "sid")
-	private BusinessSystem system;
-
-	@org.yeshi.utils.mybatis.Column(name = "rank")
-	@Expose
-	private Integer rank;// 0 鏅�� 1 閾� 2閾� 3 閲�
-
-	@org.yeshi.utils.mybatis.Column(name = "phone")
-	@Column(name = "phone", length = 16)
-	@Expose
-	private String phone; // 鐢佃瘽鍙风爜
-
-	@org.yeshi.utils.mybatis.Column(name = "state")
-	private Integer state; // 鐢ㄦ埛鐨勭姸鎬�
-
-	@org.yeshi.utils.mybatis.Column(name = "state_desc")
-	@Column(name = "state_desc") // 鐢ㄦ埛鐘舵�佺畝浠�
-	private String stateDesc;
-
-	@Transient
-	@Expose
-	private String rankIcon;// 绛夌骇鍥炬爣
-	
-
-	// 鎬у埆: 1-濂�  2-鐢�
-	@Transient
-	@Expose
-	private Integer sex;
-	
-	// 寰俊鍙�
-	@Transient
-	@Expose
-	private String weiXin;
-	
-	// 寰俊鎻愮ず璇�
-	@Transient
-	@Expose
-	private String weiXinTip;
-
-	@Transient
-	@Expose
-	private String rankNamePicture;// 绛夌骇鍚嶇О鍥剧墖
-	@Transient
-	private String taoBaoUid;// 娣樺疂鐨勭敤鎴稩D
-
-	public String getTaoBaoUid() {
-		return taoBaoUid;
-	}
-
-	public void setTaoBaoUid(String taoBaoUid) {
-		this.taoBaoUid = taoBaoUid;
-	}
-
-	public Integer getState() {
-		return state;
-	}
-
-	public void setState(Integer state) {
-		this.state = state;
-	}
-
-	public String getStateDesc() {
-		return stateDesc;
-	}
-
-	public void setStateDesc(String stateDesc) {
-		this.stateDesc = stateDesc;
-	}
-
-	public String getRankNamePicture() {
-		return rankNamePicture;
-	}
-
-	public void setRankNamePicture(String rankNamePicture) {
-		this.rankNamePicture = rankNamePicture;
-	}
-
-	public String getRankIcon() {
-		return rankIcon;
-	}
-
-	public void setRankIcon(String rankIcon) {
-		this.rankIcon = rankIcon;
-	}
-
-	public UserInfo() {
-		openid = "";
-		wxOpenId = "";
-		wxUnionId = "";
-		tbName = "";
-		wxName = "";
-		wxPic = "";
-		tbPic = "";
-		portrait = "";
-		myHongBao = BigDecimal.valueOf(0);
-		state = 0;
-	}
-
-	public UserInfo(long id) {
-		super();
-		this.id = id;
-	}
-
-	public String getTbPic() {
-		return tbPic;
-	}
-
-	public void setTbPic(String tbPic) {
-		this.tbPic = tbPic;
-	}
-
-	public String getWxPic() {
-		return wxPic;
-	}
-
-	public void setWxPic(String wxPic) {
-		this.wxPic = wxPic;
-	}
-
-	public String getTbName() {
-		return tbName;
-	}
-
-	public void setTbName(String tbName) {
-		this.tbName = tbName;
-	}
-
-	public String getWxName() {
-		return wxName;
-	}
-
-	public void setWxName(String wxName) {
-		this.wxName = wxName;
-	}
-
-	public String getWxOpenId() {
-		return wxOpenId;
-	}
-
-	public void setWxOpenId(String wxOpenId) {
-		this.wxOpenId = wxOpenId;
-	}
-
-	public String getPhone() {
-		return phone;
-	}
-
-	public void setPhone(String phone) {
-		this.phone = phone;
-	}
-
-	public String getWxUnionId() {
-		return wxUnionId;
-	}
-
-	public void setWxUnionId(String wxUnionId) {
-		this.wxUnionId = wxUnionId;
-	}
-
-	public Integer getRank() {
-		return rank;
-	}
-
-	public void setRank(Integer rank) {
-		this.rank = rank;
-	}
-
-	public String getAppId() {
-		return appId;
-	}
-
-	public void setAppId(String appId) {
-		this.appId = appId;
-	}
-
-	public String getTuiGuangCode() {
-		return tuiGuangCode;
-	}
-
-	public void setTuiGuangCode(String tuiGuangCode) {
-		this.tuiGuangCode = tuiGuangCode;
-	}
-
-	public Long getId() {
-		return id;
-	}
-
-	public void setId(Long id) {
-		this.id = id;
-	}
-
-	public String getOpenid() {
-		return openid;
-	}
-
-	public void setOpenid(String openid) {
-		this.openid = openid;
-	}
-
-	public Integer getLoginType() {
-		return loginType;
-	}
-
-	public void setLoginType(Integer loginType) {
-		this.loginType = loginType;
-	}
-
-	public String getNickName() {
-		return nickName;
-	}
-
-	public void setNickName(String nickName) {
-		this.nickName = nickName;
-	}
-
-	public String getPortrait() {
-		return portrait;
-	}
-
-	public void setPortrait(String portrait) {
-		this.portrait = portrait;
-	}
-
-	public Long getCreatetime() {
-		return createtime;
-	}
-
-	public void setCreatetime(Long createtime) {
-		this.createtime = createtime;
-	}
-
-	public Long getLastLoginTime() {
-		return lastLoginTime;
-	}
-
-	public void setLastLoginTime(Long lastLoginTime) {
-		this.lastLoginTime = lastLoginTime;
-	}
-
-	public String getLastLoginIp() {
-		return lastLoginIp;
-	}
-
-	public void setLastLoginIp(String lastLoginIp) {
-		this.lastLoginIp = lastLoginIp;
-	}
-
-	public BusinessSystem getSystem() {
-		return system;
-	}
-
-	public void setSystem(BusinessSystem system) {
-		this.system = system;
-	}
-
-	public BigDecimal getMyHongBao() {
-		return myHongBao;
-	}
-
-	public void setMyHongBao(BigDecimal myHongBao) {
-		this.myHongBao = myHongBao;
-	}
-
-	public BigDecimal getTotalHongBao() {
-		return totalHongBao;
-	}
-
-	public void setTotalHongBao(BigDecimal totalHongBao) {
-		this.totalHongBao = totalHongBao;
-	}
-
-	public BigDecimal getNoOpenHongBao() {
-		return noOpenHongBao;
-	}
-
-	public void setNoOpenHongBao(BigDecimal noOpenHongBao) {
-		this.noOpenHongBao = noOpenHongBao;
-	}
-
-	public BigDecimal getCanOpenHongBao() {
-		return canOpenHongBao;
-	}
-
-	public void setCanOpenHongBao(BigDecimal canOpenHongBao) {
-		this.canOpenHongBao = canOpenHongBao;
-	}
-
-	public String getPayPassword() {
-		return payPassword;
-	}
-
-	public void setPayPassword(String payPassword) {
-		this.payPassword = payPassword;
-	}
-	
-	public Integer getSex() {
-		return sex;
-	}
-
-	public void setSex(Integer sex) {
-		this.sex = sex;
-	}
-
-	public String getWeiXin() {
-		return weiXin;
-	}
-
-	public void setWeiXin(String weiXin) {
-		this.weiXin = weiXin;
-	}
-
-	public String getWeiXinTip() {
-		return weiXinTip;
-	}
-
-	public void setWeiXinTip(String weiXinTip) {
-		this.weiXinTip = weiXinTip;
-	}
-
-	@Override
-	public int hashCode() {
-		final int prime = 31;
-		int result = 1;
-		result = prime * result + (int) (id ^ (id >>> 32));
-		return result;
-	}
-
-	@Override
-	public boolean equals(Object obj) {
-		if (this == obj)
-			return true;
-		if (obj == null)
-			return false;
-		if (getClass() != obj.getClass())
-			return false;
-		UserInfo other = (UserInfo) obj;
-		if (id != other.id)
-			return false;
-		return true;
-	}
-
-}
+package com.yeshi.fanli.entity.bus.user;
+
+import java.io.Serializable;
+import java.math.BigDecimal;
+
+
+import com.yeshi.fanli.entity.SystemEnum;
+import org.springframework.data.annotation.Transient;
+import org.yeshi.utils.generater.mybatis.Column;
+import org.yeshi.utils.generater.mybatis.Table;
+
+import com.google.gson.annotations.Expose;
+
+/**
+ * 鐢ㄦ埛淇℃伅
+ *
+ * @author Administrator
+ */
+@Table("yeshi_ec_user")
+public class UserInfo implements Serializable {
+    /**
+     *
+     */
+    public static int STATE_NORMAL = 0;// 姝e父鐘舵��
+    public static int STATE_DELETE = 1;// 鍒犻櫎鐘舵��
+    public static int STATE_FORBIDDEN = 2;// 灏佺鐘舵��
+    public static int STATE_DELETE_OUT_OF_DATE = 4;// 鐢ㄦ埛闀挎湡涓嶆椿璺冭鍒犻櫎
+
+    @Column(name = "id")
+    @Expose
+    private Long id;
+    /**
+     * 娣樺疂openId
+     */
+    @Expose
+    @Column(name = "identifycode")
+    private String openid;
+
+    @Column(name = "login_type")
+    @Expose
+    private Integer loginType;// 1-娣樺疂
+
+    @Column(name = "wx_open_id")
+    @Expose
+    private String wxOpenId;
+
+    @Column(name = "wx_union_id")
+    @Expose
+    private String wxUnionId;
+
+    @Column(name = "nick_name")
+    @Expose
+    private String nickName;// 鏄电О
+
+    @Column(name = "tbName")
+    @Expose
+    private String tbName; // 娣樺疂鏄电О
+
+    @Column(name = "tbPic")
+    private String tbPic;// 娣樺疂澶村儚
+
+    @Column(name = "wxName")
+    @Expose
+    private String wxName;
+
+    @Column(name = "wxPic")
+    private String wxPic;
+
+    @Expose
+    @Column(name = "qq_open_id")
+    private String qqOpenId;
+    @Expose
+    @Column(name = "qq_nick_name")
+    private String qqNickName;
+
+    @Column(name = "portrait")
+    @Expose
+    private String portrait;// 澶村儚
+
+    @Column(name = "createtime")
+    @Expose
+    private Long createtime;
+
+    @Column(name = "last_logintime")
+    @Expose
+    private Long lastLoginTime;// 鏈�杩戜竴娆$櫥褰曟椂闂�
+
+    @Column(name = "loginip")
+    @Expose
+    private String lastLoginIp;// 鏈�杩戜竴娆$櫥褰旾P
+
+    @Column(name = "type")
+    @Expose
+    private Integer type;// 鐢ㄦ埛绫诲瀷 0-鏅�氱敤鎴� 1-铏氭嫙鐢ㄦ埛
+
+    @Column(name = "appid")
+    @Expose
+    private String appId;//
+
+    @Column(name = "my_hongBao")
+    @Expose
+    // @Type(type = "big_decimal")
+    private BigDecimal myHongBao; // 鎴戠殑绾㈠寘
+
+    @Transient
+    @Expose
+    private BigDecimal totalHongBao; // 绱鐨勭孩鍖�
+    @Transient
+    @Expose
+    private BigDecimal noOpenHongBao; // 鏈墦寮�绾㈠寘
+    @Transient
+    @Expose
+    private BigDecimal canOpenHongBao;
+
+    @Column(name = "pay_password")
+    private String payPassword;
+
+    @Column(name = "system")
+    private SystemEnum system;
+
+
+    @Column(name = "rank")
+    @Expose
+    private Integer rank;// 0 鏅�� 1 閾� 2閾� 3 閲�
+
+    @Column(name = "phone")
+    @Expose
+    private String phone; // 鐢佃瘽鍙风爜
+
+    @Column(name = "state")
+    private Integer state; // 鐢ㄦ埛鐨勭姸鎬�
+
+    @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;
+    }
+
+    @Expose
+    private String rankIcon;// 绛夌骇鍥炬爣
+
+    // 鎬у埆: 1-濂� 2-鐢�
+    @Expose
+    private Integer sex;
+
+    // 寰俊鍙�
+    @Expose
+    private String weiXin;
+
+    // 浜岀淮鐮�
+    @Expose
+    private String erCode;
+
+    // 寰俊鎻愮ず璇�
+    @Expose
+    private String weiXinTip;
+
+    @Expose
+    private String rankNamePicture;// 绛夌骇鍚嶇О鍥剧墖
+    private String taoBaoUid;// 娣樺疂鐨勭敤鎴稩D
+
+    // 鏄惁涓篤IP
+    @Expose
+    private boolean vip;
+
+    public boolean isVip() {
+        return vip;
+    }
+
+    public void setVip(boolean vip) {
+        this.vip = vip;
+    }
+
+    public String getTaoBaoUid() {
+        return taoBaoUid;
+    }
+
+    public void setTaoBaoUid(String taoBaoUid) {
+        this.taoBaoUid = taoBaoUid;
+    }
+
+    public Integer getState() {
+        return state;
+    }
+
+    public void setState(Integer state) {
+        this.state = state;
+    }
+
+    public String getStateDesc() {
+        return stateDesc;
+    }
+
+    public void setStateDesc(String stateDesc) {
+        this.stateDesc = stateDesc;
+    }
+
+    public String getRankNamePicture() {
+        return rankNamePicture;
+    }
+
+    public void setRankNamePicture(String rankNamePicture) {
+        this.rankNamePicture = rankNamePicture;
+    }
+
+    public String getRankIcon() {
+        return rankIcon;
+    }
+
+    public void setRankIcon(String rankIcon) {
+        this.rankIcon = rankIcon;
+    }
+
+    // TODO
+    public UserInfo() {
+        openid = "";
+        wxOpenId = "";
+        wxUnionId = "";
+        tbName = "";
+        wxName = "";
+        wxPic = "";
+        tbPic = "";
+        portrait = "";
+        myHongBao = BigDecimal.valueOf(0);
+        state = 0;
+    }
+
+    public UserInfo(long id) {
+        super();
+        this.id = id;
+    }
+
+    public String getTbPic() {
+        return tbPic;
+    }
+
+    public void setTbPic(String tbPic) {
+        this.tbPic = tbPic;
+    }
+
+    public String getWxPic() {
+        return wxPic;
+    }
+
+    public void setWxPic(String wxPic) {
+        this.wxPic = wxPic;
+    }
+
+    public String getTbName() {
+        return tbName;
+    }
+
+    public void setTbName(String tbName) {
+        this.tbName = tbName;
+    }
+
+    public String getWxName() {
+        return wxName;
+    }
+
+    public void setWxName(String wxName) {
+        this.wxName = wxName;
+    }
+
+    public String getWxOpenId() {
+        return wxOpenId;
+    }
+
+    public void setWxOpenId(String wxOpenId) {
+        this.wxOpenId = wxOpenId;
+    }
+
+    public String getPhone() {
+        return phone;
+    }
+
+    public void setPhone(String phone) {
+        this.phone = phone;
+    }
+
+    public String getWxUnionId() {
+        return wxUnionId;
+    }
+
+    public void setWxUnionId(String wxUnionId) {
+        this.wxUnionId = wxUnionId;
+    }
+
+    public Integer getRank() {
+        return rank;
+    }
+
+    public void setRank(Integer rank) {
+        this.rank = rank;
+    }
+
+    public String getAppId() {
+        return appId;
+    }
+
+    public void setAppId(String appId) {
+        this.appId = appId;
+    }
+
+    public Long getId() {
+        return id;
+    }
+
+    public void setId(Long id) {
+        this.id = id;
+    }
+
+    public String getOpenid() {
+        return openid;
+    }
+
+    public void setOpenid(String openid) {
+        this.openid = openid;
+    }
+
+    public Integer getLoginType() {
+        return loginType;
+    }
+
+    public void setLoginType(Integer loginType) {
+        this.loginType = loginType;
+    }
+
+    public String getNickName() {
+        return nickName;
+    }
+
+    public void setNickName(String nickName) {
+        this.nickName = nickName;
+    }
+
+    public String getPortrait() {
+        return portrait;
+    }
+
+    public void setPortrait(String portrait) {
+        this.portrait = portrait;
+    }
+
+    public Long getCreatetime() {
+        return createtime;
+    }
+
+    public void setCreatetime(Long createtime) {
+        this.createtime = createtime;
+    }
+
+    public Long getLastLoginTime() {
+        return lastLoginTime;
+    }
+
+    public void setLastLoginTime(Long lastLoginTime) {
+        this.lastLoginTime = lastLoginTime;
+    }
+
+    public String getLastLoginIp() {
+        return lastLoginIp;
+    }
+
+    public void setLastLoginIp(String lastLoginIp) {
+        this.lastLoginIp = lastLoginIp;
+    }
+
+    public SystemEnum getSystem() {
+        return system;
+    }
+
+    public void setSystem(SystemEnum system) {
+        this.system = system;
+    }
+
+    public BigDecimal getMyHongBao() {
+        return myHongBao;
+    }
+
+    public void setMyHongBao(BigDecimal myHongBao) {
+        this.myHongBao = myHongBao;
+    }
+
+    public BigDecimal getTotalHongBao() {
+        return totalHongBao;
+    }
+
+    public void setTotalHongBao(BigDecimal totalHongBao) {
+        this.totalHongBao = totalHongBao;
+    }
+
+    public BigDecimal getNoOpenHongBao() {
+        return noOpenHongBao;
+    }
+
+    public void setNoOpenHongBao(BigDecimal noOpenHongBao) {
+        this.noOpenHongBao = noOpenHongBao;
+    }
+
+    public BigDecimal getCanOpenHongBao() {
+        return canOpenHongBao;
+    }
+
+    public void setCanOpenHongBao(BigDecimal canOpenHongBao) {
+        this.canOpenHongBao = canOpenHongBao;
+    }
+
+    public String getPayPassword() {
+        return payPassword;
+    }
+
+    public void setPayPassword(String payPassword) {
+        this.payPassword = payPassword;
+    }
+
+    public Integer getSex() {
+        return sex;
+    }
+
+    public void setSex(Integer sex) {
+        this.sex = sex;
+    }
+
+    public String getWeiXin() {
+        return weiXin;
+    }
+
+    public void setWeiXin(String weiXin) {
+        this.weiXin = weiXin;
+    }
+
+    public String getWeiXinTip() {
+        return weiXinTip;
+    }
+
+    public void setWeiXinTip(String weiXinTip) {
+        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;
+    }
+
+
+    public String getQqOpenId() {
+        return qqOpenId;
+    }
+
+    public void setQqOpenId(String qqOpenId) {
+        this.qqOpenId = qqOpenId;
+    }
+
+    public String getQqNickName() {
+        return qqNickName;
+    }
+
+    public void setQqNickName(String qqNickName) {
+        this.qqNickName = qqNickName;
+    }
+
+    @Override
+    public int hashCode() {
+        final int prime = 31;
+        int result = 1;
+        result = prime * result + (int) (id ^ (id >>> 32));
+        return result;
+    }
+
+    @Override
+    public boolean equals(Object obj) {
+        if (this == obj)
+            return true;
+        if (obj == null)
+            return false;
+        if (getClass() != obj.getClass())
+            return false;
+        UserInfo other = (UserInfo) obj;
+        if (id != other.id)
+            return false;
+        return true;
+    }
+
+}

--
Gitblit v1.8.0