Class User

  • All Implemented Interfaces:
    Serializable

    public class User
    extends Object
    implements Serializable
    用户对象

    当用户与公众号有交互时,可通过openid获取信息

    Since:
    JDK 1.6
    Author:
    jinyu(foxinmy@gmail.com)
    See Also:
    Serialized Form
    • Constructor Detail

      • User

        public User()
    • Method Detail

      • getOpenId

        public String getOpenId()
      • setOpenId

        public void setOpenId​(String openId)
      • getNickName

        public String getNickName()
      • setNickName

        public void setNickName​(String nickName)
      • getGender

        public int getGender()
      • getFormatGender

        public Gender getFormatGender()
      • setGender

        public void setGender​(int gender)
      • getProvince

        public String getProvince()
      • setProvince

        public void setProvince​(String province)
      • getCity

        public String getCity()
      • setCity

        public void setCity​(String city)
      • getCountry

        public String getCountry()
      • setCountry

        public void setCountry​(String country)
      • getHeadimgurl

        public String getHeadimgurl()
      • setHeadimgurl

        public void setHeadimgurl​(String headimgurl)
      • getPrivilege

        public com.alibaba.fastjson.JSONArray getPrivilege()
      • setPrivilege

        public void setPrivilege​(com.alibaba.fastjson.JSONArray privilege)
      • getLanguage

        public String getLanguage()
      • getFormatLanguage

        public Lang getFormatLanguage()
      • setLanguage

        public void setLanguage​(String language)
      • isSubscribe

        public boolean isSubscribe()
      • setSubscribe

        public void setSubscribe​(boolean isSubscribe)
      • getSubscribeTime

        public long getSubscribeTime()
      • getFormatSubscribeTime

        public Date getFormatSubscribeTime()
      • setSubscribeTime

        public void setSubscribeTime​(long subscribeTime)
      • getUnionId

        public String getUnionId()
      • setUnionId

        public void setUnionId​(String unionId)
      • getRemark

        public String getRemark()
      • setRemark

        public void setRemark​(String remark)
      • getGroupId

        public int getGroupId()
      • setGroupId

        public void setGroupId​(int groupId)
      • setTagIds

        public void setTagIds​(List<Integer> tagIds)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object