package com.xty.network.model

import com.chad.library.adapter.base.entity.MultiItemEntity

/*(override val itemType: Int) : MultiItemEntity {
    */
class ChatBean(override var itemType: Int): MultiItemEntity {
    val attachment_id: String=""
    val create_time: String= ""
    val file_ext: String=""
    var file_path: String=""
    val file_full_name: String=""
    val from_user_id: String=""
    val imgId: String=""
    var is_me: Int=0
    var process_detail: String=""
    val process_id: String=""
    var process_type: Int=0   //0 文本 1 照片 2语音  3 视频 4 文档
    var send_user_avatar: String=""
    val send_user_name: String=""
    var to_user_avatar: String=""
    val to_user_name: String=""
    val videoId: String=""
    var fileLength: String="" //语音时长
    var isLocalFIle=false// 是否为本地视频
    init {
        if(itemType==0){
            itemType = is_me
        }
    }
}
