Files
keyboard/keyBoard/Class/AiTalk/M/KBCommentModel.m
2026-01-27 21:32:52 +08:00

43 lines
673 B
Objective-C

//
// KBCommentModel.m
// keyBoard
//
// Created by Kiro on 2026/1/27.
//
#import "KBCommentModel.h"
#import <MJExtension/MJExtension.h>
@implementation KBCommentItem
+ (void)load {
// id 是 OC 关键字,需要映射
[self mj_setupReplacedKeyFromPropertyName:^NSDictionary *{
return @{
@"commentId": @"id"
};
}];
}
+ (NSDictionary *)mj_objectClassInArray {
return @{
@"replies": [KBCommentItem class]
};
}
@end
@implementation KBCommentPageModel
+ (NSDictionary *)mj_objectClassInArray {
return @{
@"records": [KBCommentItem class]
};
}
@end
@implementation KBCommentLikeResponse
@end