// // RQTreeListModel.m // jiaPei // // Created by 张嵘 on 2021/10/25. // Copyright © 2021 JCZ. All rights reserved. // #import "RQTreeListModel.h" @implementation VideosItem + (NSDictionary *)modelCustomPropertyMapper { return @{ @"video_url" : @"fileUrl", }; } @end @implementation ChildrenItem // 返回容器类中的所需要存放的数据类型 (以 Class 或 Class Name 的形式)。 + (NSDictionary *)modelContainerPropertyGenericClass { return @{ @"children" : [ChildrenItem class], @"videos" : [VideosItem class], }; } @end @implementation RQTreeListModel // 返回容器类中的所需要存放的数据类型 (以 Class 或 Class Name 的形式)。 + (NSDictionary *)modelContainerPropertyGenericClass { return @{ @"children" : [ChildrenItem class], @"videos" : [VideosItem class], }; } @end