CommentModel.h 776 字节
//
//  CommentModel.h
//  DreamSleep
//
//  Created by peter on 2022/10/8.
//

#import <Foundation/Foundation.h>

#define kContentMargin 30

NS_ASSUME_NONNULL_BEGIN

/// 评论数据model
@interface CommentModel : NSObject
/// 总回复数
@property (nonatomic, assign) int total_replys;
/// 评论内容
@property (nonatomic, copy) NSString *content;
/// 昵称
@property (nonatomic, copy) NSString *nick_name;
/// 评论id
@property (nonatomic, assign) int comment_id;
/// 用户id
@property (nonatomic, assign) int user_id;
/// 头像
@property (nonatomic, copy) NSString *user_profile;
/// 发布时间
@property (nonatomic, copy) NSString *publish_time;

+ (UIFont *)commentContentFont;
- (CGFloat)commentContentHeight;
- (CGFloat)cellHeight;
@end

NS_ASSUME_NONNULL_END