package org.estgroup.phphub.api.entity.element; import com.google.gson.annotations.SerializedName; import java.io.Serializable; public class User implements Serializable { int id; String name; String avatar; String signature; @SerializedName("topic_count") int topicCount; @SerializedName("reply_count") int replyCount; @SerializedName("notification_count") int notificationCount; @SerializedName("is_banned") boolean isBanned; @SerializedName("twitter_account") String twitterAccount; String company; String city; String email; String introduction; @SerializedName("github_name") String githubName; @SerializedName("github_url") String githubUrl; @SerializedName("real_name") String realName; @SerializedName("personal_website") String personalWebsite; @SerializedName("created_at") String createdAt; @SerializedName("updated_at") String updatedAt; Link links; public int getId() { return id; } public void setId(int id) { this.id = id; } public String getName() { return name; } public void setName(String name) { this.name = name; } public String getAvatar() { return avatar + "?imageView2/1/w/100/h/100"; } public void setAvatar(String avatar) { this.avatar = avatar; } public String getSignature() { return signature; } public void setSignature(String signature) { this.signature = signature; } public int getTopicCount() { return topicCount; } public void setTopicCount(int topicCount) { this.topicCount = topicCount; } public int getReplyCount() { return replyCount; } public void setReplyCount(int replyCount) { this.replyCount = replyCount; } public int getNotificationCount() { return notificationCount; } public void setNotificationCount(int notificationCount) { this.notificationCount = notificationCount; } public boolean isBanned() { return isBanned; } public void setIsBanned(boolean isBanned) { this.isBanned = isBanned; } public String getTwitterAccount() { return twitterAccount; } public void setTwitterAccount(String twitterAccount) { this.twitterAccount = twitterAccount; } public String getCompany() { return company; } public void setCompany(String company) { this.company = company; } public String getCity() { return city; } public void setCity(String city) { this.city = city; } public String getEmail() { return email; } public void setEmail(String email) { this.email = email; } public String getIntroduction() { return introduction; } public void setIntroduction(String introduction) { this.introduction = introduction; } public String getGithubName() { return githubName; } public void setGithubName(String githubName) { this.githubName = githubName; } public String getGithubUrl() { return githubUrl; } public void setGithubUrl(String githubUrl) { this.githubUrl = githubUrl; } public String getRealName() { return realName; } public void setRealName(String realName) { this.realName = realName; } public String getPersonalWebsite() { return personalWebsite; } public void setPersonalWebsite(String personalWebsite) { this.personalWebsite = personalWebsite; } public String getCreatedAt() { return createdAt; } public void setCreatedAt(String createdAt) { this.createdAt = createdAt; } public String getUpdatedAt() { return updatedAt; } public void setUpdatedAt(String updatedAt) { this.updatedAt = updatedAt; } public Link getLinks() { return links; } public void setLinks(Link links) { this.links = links; } }