用户信息相关页面增加贵族等级标识
This commit is contained in:
@@ -3,11 +3,14 @@ package com.yizhuan.xchat_android_core.user.bean;
|
||||
import com.yizhuan.xchat_android_core.level.UserLevelVo;
|
||||
import com.yizhuan.xchat_android_core.noble.NobleInfo;
|
||||
import com.yizhuan.xchat_android_core.room.bean.RoomInfo;
|
||||
import com.yizhuan.xchat_android_core.vip.UserVipInfo;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.List;
|
||||
|
||||
import lombok.Data;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
/**
|
||||
* Created by Administrator on 2017/7/8 0008.
|
||||
@@ -55,6 +58,10 @@ public class AttentionInfo implements Serializable {
|
||||
//1普通账号,2官方账号,3机器账号
|
||||
private int defUser;
|
||||
|
||||
private UserVipInfo userVipInfoVO;
|
||||
|
||||
private String userInfoCardPic;
|
||||
|
||||
/**
|
||||
* 判断是否为官方
|
||||
* @return
|
||||
|
@@ -1,5 +1,7 @@
|
||||
package com.yizhuan.xchat_android_core.user.bean;
|
||||
|
||||
import com.yizhuan.xchat_android_core.vip.UserVipInfo;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
import lombok.Getter;
|
||||
@@ -55,6 +57,8 @@ public class BaseUserInfo implements Serializable {
|
||||
private String micDecorate;
|
||||
private UserInfo.NamePlate nameplate;
|
||||
|
||||
private UserVipInfo userVipInfoVO;
|
||||
|
||||
/**
|
||||
* 判断是否为官方账号
|
||||
* @return
|
||||
|
@@ -2,6 +2,7 @@ package com.yizhuan.xchat_android_core.user.bean;
|
||||
|
||||
import com.yizhuan.xchat_android_core.level.UserLevelVo;
|
||||
import com.yizhuan.xchat_android_core.noble.NobleInfo;
|
||||
import com.yizhuan.xchat_android_core.vip.UserVipInfo;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
@@ -29,6 +30,10 @@ public class FansInfo implements Serializable {
|
||||
//1普通账号,2官方账号,3机器账号
|
||||
private int defUser;
|
||||
|
||||
private UserVipInfo userVipInfoVO;
|
||||
|
||||
private String userInfoCardPic;
|
||||
|
||||
/**
|
||||
* 判断是否为官方
|
||||
* @return
|
||||
|
@@ -15,6 +15,7 @@ import com.yizhuan.xchat_android_core.decoration.headwear.bean.HeadWearInfo;
|
||||
import com.yizhuan.xchat_android_core.level.UserLevelVo;
|
||||
import com.yizhuan.xchat_android_core.noble.NobleInfo;
|
||||
import com.yizhuan.xchat_android_core.utils.StarUtils;
|
||||
import com.yizhuan.xchat_android_core.vip.UserVipInfo;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.ArrayList;
|
||||
@@ -203,6 +204,14 @@ public class UserInfo implements Serializable {
|
||||
@Setter
|
||||
private int gameStatus;
|
||||
|
||||
@Getter
|
||||
@Setter
|
||||
private UserVipInfo userVipInfoVO;
|
||||
|
||||
@Getter
|
||||
@Setter
|
||||
private String userInfoCardPic;
|
||||
|
||||
public Location getUserExpand() {
|
||||
return userExpand;
|
||||
}
|
||||
|
@@ -0,0 +1,9 @@
|
||||
package com.yizhuan.xchat_android_core.vip
|
||||
|
||||
import java.io.Serializable
|
||||
|
||||
data class UserVipInfo(
|
||||
val vipIcon: String = "",
|
||||
val vipLevel: String = "",
|
||||
val friendNickColour: String = "",
|
||||
) : Serializable
|
@@ -2,6 +2,7 @@ package com.yizhuan.xchat_android_core.community.bean;
|
||||
|
||||
import com.yizhuan.xchat_android_core.community.bean.comment.Reply;
|
||||
import com.yizhuan.xchat_android_core.community.bean.comment.ReplyResult;
|
||||
import com.yizhuan.xchat_android_core.vip.UserVipInfo;
|
||||
import com.yizhuan.xchat_android_library.utils.ListUtils;
|
||||
|
||||
|
||||
@@ -44,6 +45,8 @@ public class Comment {
|
||||
|
||||
private String cacheNextReplyId;
|
||||
|
||||
private UserVipInfo userVipInfoVO;
|
||||
|
||||
public boolean isEmptyReply() {
|
||||
return replyInfo == null || ListUtils.isListEmpty(replyInfo.getReplyList());
|
||||
}
|
||||
|
@@ -5,6 +5,7 @@ import android.text.TextUtils;
|
||||
|
||||
import com.yizhuan.xchat_android_core.user.bean.BaseUserInfo;
|
||||
import com.yizhuan.xchat_android_core.user.bean.UserInfo;
|
||||
import com.yizhuan.xchat_android_core.vip.UserVipInfo;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.ArrayList;
|
||||
|
@@ -1,5 +1,7 @@
|
||||
package com.yizhuan.xchat_android_core.community.bean.comment;
|
||||
|
||||
import com.yizhuan.xchat_android_core.vip.UserVipInfo;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
@@ -30,5 +32,7 @@ public class Reply {
|
||||
|
||||
private int replyCount;
|
||||
|
||||
private UserVipInfo userVipInfoVO;
|
||||
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user