Files
keyboard/keyBoard/Class/AiTalk/M/KBAIReplyModel.h
2026-01-16 15:55:08 +08:00

48 lines
933 B
Objective-C
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

//
// 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