package io.rong.imkit.userinfo.model;

/**
 * 群成员信息实体类，用来存储群成员信息。
 */
public class GroupUserInfo {
    private String mNickname;
    private String mUserId;
    private String mGroupId;
    private String extra;

    public String getExtra() {
        return extra;
    }

    public void setExtra(String extra) {
        this.extra = extra;
    }

    /**
     * 群成员对象
     * @param groupId 群 Id
     * @param userId 用户 Id
     * @param nickname 该用户在群里的昵称
     */
    public GroupUserInfo(String groupId, String userId, String nickname,String extra) {
        this.mGroupId = groupId;
        this.mNickname = nickname;
        this.mUserId = userId;
        this.extra = extra;
    }

    public String getGroupId() {
        return mGroupId;
    }

    public void setGroupId(String mGroupId) {
        this.mGroupId = mGroupId;
    }

    public String getNickname() {
        return mNickname;
    }

    public String getUserId() {
        return mUserId;
    }
}

