48 lines
933 B
C
48 lines
933 B
C
|
|
//
|
|||
|
|
// KBAIReplyModel.h
|
|||
|
|
// keyBoard
|
|||
|
|
//
|
|||
|
|
// Created by Mac on 2026/1/16.
|
|||
|
|
//
|
|||
|
|
|
|||
|
|
#import <Foundation/Foundation.h>
|
|||
|
|
|
|||
|
|
NS_ASSUME_NONNULL_BEGIN
|
|||
|
|
|
|||
|
|
/// 二级评论(回复)模型
|
|||
|
|
@interface KBAIReplyModel : NSObject
|
|||
|
|
|
|||
|
|
/// 回复ID
|
|||
|
|
@property(nonatomic, copy) NSString *replyId;
|
|||
|
|
|
|||
|
|
/// 用户ID
|
|||
|
|
@property(nonatomic, copy) NSString *userId;
|
|||
|
|
|
|||
|
|
/// 用户名
|
|||
|
|
@property(nonatomic, copy) NSString *userName;
|
|||
|
|
|
|||
|
|
/// 用户头像
|
|||
|
|
@property(nonatomic, copy) NSString *avatarUrl;
|
|||
|
|
|
|||
|
|
/// 回复内容
|
|||
|
|
@property(nonatomic, copy) NSString *content;
|
|||
|
|
|
|||
|
|
/// 被回复的用户名(@xxx)
|
|||
|
|
@property(nonatomic, copy, nullable) NSString *replyToUserName;
|
|||
|
|
|
|||
|
|
/// 点赞数
|
|||
|
|
@property(nonatomic, assign) NSInteger likeCount;
|
|||
|
|
|
|||
|
|
/// 是否已点赞
|
|||
|
|
@property(nonatomic, assign) BOOL isLiked;
|
|||
|
|
|
|||
|
|
/// 创建时间(时间戳)
|
|||
|
|
@property(nonatomic, assign) NSTimeInterval createTime;
|
|||
|
|
|
|||
|
|
/// 格式化后的时间字符串
|
|||
|
|
- (NSString *)formattedTime;
|
|||
|
|
|
|||
|
|
@end
|
|||
|
|
|
|||
|
|
NS_ASSUME_NONNULL_END
|