MessageComReplyModel.h 1.4 KB
//
//  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