MessageComReplyModel.h
1.4 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
//
// MessageComReplyModel.h
// DreamSleep
//
// Created by peter on 2022/10/17.
//
#import <Foundation/Foundation.h>
NS_ASSUME_NONNULL_BEGIN
/// 消息中心评论和回复数据model
@interface MessageComReplyModel : NSObject
/// 评论回复id
@property (nonatomic, assign) NSInteger notiID;
/// 回复id
@property (nonatomic, assign) NSInteger replyID;
/// 动态id
@property (nonatomic, assign) NSInteger talkID;
/// 评论id
@property (nonatomic, assign) NSInteger commentID;
/// 0:动态评论 1:评论回复
@property (nonatomic, assign) NSInteger type;
/// 发布评论或回复的用户 Id
@property (nonatomic, assign) NSInteger userID;
/// 被评论或被回复的用户 id
@property (nonatomic, assign) NSInteger preUserID;
/// 评论的内容或回复内容
@property (nonatomic, copy) NSString *content;
/// 动态内容或评论内容
@property (nonatomic, copy) NSString *preContent;
/// 阅读状态 0 未读 1 已读
@property (nonatomic, assign) NSInteger status;
/// 时间显示
@property (nonatomic, copy) NSString *publishTime;
/// 评论或者回复用户昵称
@property (nonatomic, copy) NSString *nickName;
/// 评论或者回复用户头像
@property (nonatomic, copy) NSString *userProfile;
+ (UIFont *)contentFont;
+ (UIFont *)preContentFont;
+ (CGFloat)contentLeftMargin;
+ (CGFloat)contentRightMargin;
- (CGFloat)contentHeight;
- (CGFloat)preContentHeight;
- (CGFloat)cellHeight;
@end
NS_ASSUME_NONNULL_END