yujian
2020-05-09 7e7db2fa55a9a3af46d4fd8ede0dee147f101d64
fanli/src/main/java/com/yeshi/fanli/entity/bus/user/UserInfo.java
@@ -1,5 +1,6 @@
package com.yeshi.fanli.entity.bus.user;
import java.io.Serializable;
import java.math.BigDecimal;
import javax.persistence.Column;
@@ -17,7 +18,10 @@
 *
 */
@Table("yeshi_ec_user")
public class UserInfo {
public class UserInfo implements Serializable{
   /**
    *
    */
   public static int STATE_NORMAL = 0;// 正常状态
   public static int STATE_DELETE = 1;// 删除状态
   public static int STATE_FORBIDDEN = 2;// 封禁状态
@@ -79,9 +83,9 @@
   @Expose
   private String lastLoginIp;// 最近一次登录IP
   @Column(name = "tuiguang_code")
   @Column(name = "type")
   @Expose
   private String tuiGuangCode;// 推广码
   private Integer type;// 用户类型 0-普通用户 1-虚拟用户
   @Column(name = "appid")
   @Expose
@@ -121,22 +125,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
@@ -147,13 +166,12 @@
   private String rankNamePicture;// 等级名称图片
   @Transient
   private String taoBaoUid;// 淘宝的用户ID
   //是否为VIP
   // 是否为VIP
   @Transient
   @Expose
   private boolean vip;
   public boolean isVip() {
      return vip;
   }
@@ -293,14 +311,6 @@
      this.appId = appId;
   }
   public String getTuiGuangCode() {
      return tuiGuangCode;
   }
   public void setTuiGuangCode(String tuiGuangCode) {
      this.tuiGuangCode = tuiGuangCode;
   }
   public Long getId() {
      return id;
   }
@@ -412,7 +422,7 @@
   public void setPayPassword(String payPassword) {
      this.payPassword = payPassword;
   }
   public Integer getSex() {
      return sex;
   }
@@ -437,6 +447,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;