package com.bokecc.room.ui.model;

/**
 * 作者 ${CC视频}.<br/>
 */

public class ChatEntity {

    /**
     * 聊天类型
     */
    private int mType;
    /**
     * 发送该条信息的用户id
     */
    private String mUserId;
    /**
     * 发送该条信息的用户名
     */
    private String mUserName;
    /**
     * 聊天内容
     */
    private String mMsg;
    /**
     * 聊天时间
     */
    private String mTime;
    /**
     * 是否是自己发送的聊天
     */
    private boolean isSelf;
    /**
     * 用户角色
     */
    private int mUserRole;

    public int getType() {
        return mType;
    }

    public void setType(int type) {
        mType = type;
    }

    public String getUserId() {
        return mUserId;
    }

    public void setUserId(String userId) {
        mUserId = userId;
    }

    public String getUserName() {
        return mUserName;
    }

    public void setUserName(String userName) {
        mUserName = userName;
    }

    public String getMsg() {
        return mMsg;
    }

    public void setMsg(String msg) {
        mMsg = msg;
    }

    public String getTime() {
        return mTime;
    }

    public void setTime(String time) {
        mTime = time;
    }

    public boolean isSelf() {
        return isSelf;
    }

    public void setSelf(boolean self) {
        isSelf = self;
    }

    public int getUserRole() {
        return mUserRole;
    }

    public void setUserRole(int userRole) {
        mUserRole = userRole;
    }
}
