173 lines
4.2 KiB
Java
173 lines
4.2 KiB
Java
package com.ubt.jimu.base.entities;
|
|
|
|
import java.io.Serializable;
|
|
|
|
/* loaded from: classes.dex */
|
|
public class UserExtraInfo implements Serializable {
|
|
private int collectNum;
|
|
private int curExp;
|
|
private int expLength;
|
|
private int fansNum;
|
|
private int isSubscribed;
|
|
private int level;
|
|
private String nickName;
|
|
private int praiseNum;
|
|
private int rank;
|
|
private String rate;
|
|
private int score;
|
|
private int subscriptionNum;
|
|
private String title;
|
|
private String userImage;
|
|
private long viewUserId;
|
|
|
|
public static User toUser(User user, UserExtraInfo userExtraInfo) {
|
|
if (user == null) {
|
|
return null;
|
|
}
|
|
if (userExtraInfo == null) {
|
|
return user;
|
|
}
|
|
user.setId(userExtraInfo.getViewUserId());
|
|
user.setUserId(userExtraInfo.getViewUserId());
|
|
user.setNickName(userExtraInfo.getNickName());
|
|
user.setUserImage(userExtraInfo.getUserImage());
|
|
user.setIsSubscribed(userExtraInfo.getIsSubscribed());
|
|
user.setCurExp(userExtraInfo.getCurExp());
|
|
user.setLevel(userExtraInfo.getLevel());
|
|
user.setTitle(userExtraInfo.getTitle());
|
|
user.setScore(userExtraInfo.getScore());
|
|
user.setExpLength(userExtraInfo.getExpLength());
|
|
user.setRank(userExtraInfo.getRank());
|
|
user.setRate(userExtraInfo.getRate());
|
|
user.setSubscriptionNum(userExtraInfo.getSubscriptionNum());
|
|
user.setFansNum(userExtraInfo.getFansNum());
|
|
user.setCollectNum(userExtraInfo.getCollectNum());
|
|
user.setPraiseNum(userExtraInfo.getPraiseNum());
|
|
return user;
|
|
}
|
|
|
|
public int getCollectNum() {
|
|
return this.collectNum;
|
|
}
|
|
|
|
public int getCurExp() {
|
|
return this.curExp;
|
|
}
|
|
|
|
public int getExpLength() {
|
|
return this.expLength;
|
|
}
|
|
|
|
public int getFansNum() {
|
|
return this.fansNum;
|
|
}
|
|
|
|
public int getIsSubscribed() {
|
|
return this.isSubscribed;
|
|
}
|
|
|
|
public int getLevel() {
|
|
return this.level;
|
|
}
|
|
|
|
public String getNickName() {
|
|
return this.nickName;
|
|
}
|
|
|
|
public int getPraiseNum() {
|
|
return this.praiseNum;
|
|
}
|
|
|
|
public int getRank() {
|
|
return this.rank;
|
|
}
|
|
|
|
public String getRate() {
|
|
return this.rate;
|
|
}
|
|
|
|
public int getScore() {
|
|
return this.score;
|
|
}
|
|
|
|
public int getSubscriptionNum() {
|
|
return this.subscriptionNum;
|
|
}
|
|
|
|
public String getTitle() {
|
|
return this.title;
|
|
}
|
|
|
|
public String getUserImage() {
|
|
return this.userImage;
|
|
}
|
|
|
|
public long getViewUserId() {
|
|
return this.viewUserId;
|
|
}
|
|
|
|
public void setCollectNum(int i) {
|
|
this.collectNum = i;
|
|
}
|
|
|
|
public void setCurExp(int i) {
|
|
this.curExp = i;
|
|
}
|
|
|
|
public void setExpLength(int i) {
|
|
this.expLength = i;
|
|
}
|
|
|
|
public void setFansNum(int i) {
|
|
this.fansNum = i;
|
|
}
|
|
|
|
public void setIsSubscribed(int i) {
|
|
this.isSubscribed = i;
|
|
}
|
|
|
|
public void setLevel(int i) {
|
|
this.level = i;
|
|
}
|
|
|
|
public void setNickName(String str) {
|
|
this.nickName = str;
|
|
}
|
|
|
|
public void setPraiseNum(int i) {
|
|
this.praiseNum = i;
|
|
}
|
|
|
|
public void setRank(int i) {
|
|
this.rank = i;
|
|
}
|
|
|
|
public void setRate(String str) {
|
|
this.rate = str;
|
|
}
|
|
|
|
public void setScore(int i) {
|
|
this.score = i;
|
|
}
|
|
|
|
public void setSubscriptionNum(int i) {
|
|
this.subscriptionNum = i;
|
|
}
|
|
|
|
public void setTitle(String str) {
|
|
this.title = str;
|
|
}
|
|
|
|
public void setUserImage(String str) {
|
|
this.userImage = str;
|
|
}
|
|
|
|
public void setViewUserId(long j) {
|
|
this.viewUserId = j;
|
|
}
|
|
|
|
public String toString() {
|
|
return "UserExtraInfo{viewUserId=" + this.viewUserId + ", nickName='" + this.nickName + "', userImage='" + this.userImage + "', isSubscribed=" + this.isSubscribed + ", curExp=" + this.curExp + ", level=" + this.level + ", title='" + this.title + "', score=" + this.score + ", expLength=" + this.expLength + ", rank=" + this.rank + ", rate='" + this.rate + "', subscriptionNum=" + this.subscriptionNum + ", fansNum=" + this.fansNum + ", collectNum=" + this.collectNum + ", praiseNum=" + this.praiseNum + '}';
|
|
}
|
|
}
|