//
//  ChatMsgDetailChatModel.h
//  smartRhino
//
//  Created by armin on 2019/11/7.
//  Copyright © 2019 tederen. All rights reserved.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

typedef enum ChatMsgType {
    ChatMsgType_sys_time = 1,    // 时间类型消息
    ChatMsgType_join_qun = 2,    // 多少人加入群聊消息
    ChatMsgType_user_sendmsg = 3 // 用户正常聊天消息
}ChatMsgType;

typedef enum ChatMsgFrom {
    ChatMsgFrom_left = 1,    // 左边的人发消息
    ChatMsgFrom_right = 2,   // 右边的人发消息
}ChatMsgFrom;


@interface ChatMsgDetailChatModel : NSObject

@property (strong,nonatomic) NSString *chatMsgContent;

@property (assign,nonatomic) ChatMsgType chatMsgType;

@property (assign,nonatomic) ChatMsgFrom chatMsgFrom;

//cell的高,计算cell
@property (assign,nonatomic) CGFloat cellH;

//计算文本的宽
@property (assign,nonatomic) CGFloat cellByMsgContentW;

@end

NS_ASSUME_NONNULL_END