Files
keyboard/keyBoard/Class/AiTalk/M/KBChatHistoryPageModel.m
2026-01-26 18:17:02 +08:00

40 lines
686 B
Objective-C

//
// KBChatHistoryPageModel.m
// keyBoard
//
// Created by Kiro on 2026/1/26.
//
#import "KBChatHistoryPageModel.h"
#import <MJExtension/MJExtension.h>
@implementation KBChatOrderRule
@end
@implementation KBChatHistoryPageModel
#pragma mark - MJExtension 配置
// 数组内元素类型
+ (NSDictionary *)mj_objectClassInArray {
return @{
@"records": [KBChatHistoryModel class],
@"orders": [KBChatOrderRule class]
};
}
// 转换完成后的处理
- (void)mj_keyValuesDidFinishConvertingToObject {
if (!self.records) {
self.records = @[];
}
}
#pragma mark - 扩展属性
- (BOOL)hasMore {
return self.current < self.pages;
}
@end