新增接口,界面
This commit is contained in:
39
keyBoard/Class/AiTalk/M/KBPersonaPageModel.m
Normal file
39
keyBoard/Class/AiTalk/M/KBPersonaPageModel.m
Normal file
@@ -0,0 +1,39 @@
|
||||
//
|
||||
// KBPersonaPageModel.m
|
||||
// keyBoard
|
||||
//
|
||||
// Created by Kiro on 2026/1/26.
|
||||
//
|
||||
|
||||
#import "KBPersonaPageModel.h"
|
||||
#import <MJExtension/MJExtension.h>
|
||||
|
||||
@implementation KBOrderRule
|
||||
@end
|
||||
|
||||
@implementation KBPersonaPageModel
|
||||
|
||||
#pragma mark - MJExtension 配置
|
||||
|
||||
// 数组内元素类型
|
||||
+ (NSDictionary *)mj_objectClassInArray {
|
||||
return @{
|
||||
@"records": [KBPersonaModel class],
|
||||
@"orders": [KBOrderRule class]
|
||||
};
|
||||
}
|
||||
|
||||
// 转换完成后的处理
|
||||
- (void)mj_keyValuesDidFinishConvertingToObject {
|
||||
if (!self.records) {
|
||||
self.records = @[];
|
||||
}
|
||||
}
|
||||
|
||||
#pragma mark - 扩展属性
|
||||
|
||||
- (BOOL)hasMore {
|
||||
return self.current < self.pages;
|
||||
}
|
||||
|
||||
@end
|
||||
Reference in New Issue
Block a user