2022-10-21 18:03:00 +08:00
|
|
|
//
|
|
|
|
// XPMessageInfoModel.h
|
|
|
|
// xplan-ios
|
|
|
|
//
|
|
|
|
// Created by 冯硕 on 2022/10/21.
|
|
|
|
//
|
|
|
|
|
|
|
|
#import <Foundation/Foundation.h>
|
|
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
|
|
|
|
|
|
@interface XPMessageInfoModel : NSObject
|
2023-12-01 19:25:24 +08:00
|
|
|
|
2022-10-21 18:03:00 +08:00
|
|
|
///显示文本
|
|
|
|
@property (nonatomic,strong) NSAttributedString *content;
|
|
|
|
///cell的高度
|
|
|
|
@property (nonatomic,assign) CGFloat rowHeight;
|
|
|
|
///文本内容的
|
|
|
|
@property (nonatomic,assign) CGFloat contentLeftMargin;
|
|
|
|
///文本右边的间隙
|
|
|
|
@property (nonatomic,assign) CGFloat contentRightMargin;
|
|
|
|
///文本上面的间隙
|
|
|
|
@property (nonatomic,assign) CGFloat contentTopMargin;
|
|
|
|
///文本底部的间隙
|
|
|
|
@property (nonatomic,assign) CGFloat contentBottomMargin;
|
|
|
|
///底部的间隙
|
|
|
|
@property (nonatomic,assign) CGFloat cellBottomMargin;
|
|
|
|
///是否要隐藏背景
|
|
|
|
@property (nonatomic,assign) BOOL isHiddenBubble;
|
|
|
|
///是否改变内容的区域
|
|
|
|
@property (nonatomic,assign) BOOL isUpdateContentFrame;
|
|
|
|
///气泡url
|
|
|
|
@property (nonatomic, copy) NSString *bubbleImageUrl;
|
2023-03-14 18:29:52 +08:00
|
|
|
///是否展示头像
|
|
|
|
@property (nonatomic,assign) BOOL isShowAvatar;
|
2023-03-14 10:33:35 +08:00
|
|
|
///头像地址
|
|
|
|
@property (nonatomic,strong) NSString *avatarUrl;
|
2023-03-15 18:01:28 +08:00
|
|
|
///用户的uid
|
|
|
|
@property (nonatomic,strong) NSString *uid;
|
2023-08-03 10:57:16 +08:00
|
|
|
///是否是特权卡消息
|
|
|
|
@property(nonatomic,assign) BOOL isPrivilegeCard;
|
|
|
|
@property(nonatomic,copy) NSString *cardUrl;
|
|
|
|
///cell的高度
|
|
|
|
@property (nonatomic,assign) CGFloat cardHeight;
|
2022-10-21 18:03:00 +08:00
|
|
|
@end
|
|
|
|
|
|
|
|
NS_ASSUME_NONNULL_END
|