Package com.foxinmy.weixin4j.mp.model
Class User
- java.lang.Object
-
- com.foxinmy.weixin4j.mp.model.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 Summary
Constructors Constructor Description User()
-
Method Summary
-
-
-
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 com.foxinmy.weixin4j.type.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)
-
-