小说绘上架版本
This commit is contained in:
+24
@@ -0,0 +1,24 @@
|
||||
//
|
||||
// TFComicDownloadModel.h
|
||||
// TFReader
|
||||
//
|
||||
// Created by 谢腾飞 on 2020/12/15.
|
||||
// Copyright © 2020 xtfei_2011@126.com. All rights reserved.
|
||||
//
|
||||
|
||||
#import <Foundation/Foundation.h>
|
||||
#import <UIKit/UIKit.h>
|
||||
|
||||
NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
@interface TFComicDownloadModel : NSObject
|
||||
|
||||
@property (nonatomic ,assign) NSInteger total_chapters;
|
||||
|
||||
@property (nonatomic ,copy) NSString *display_label;
|
||||
|
||||
@property (nonatomic ,strong) NSArray <TFProductionChapterModel *>*down_list;
|
||||
|
||||
@end
|
||||
|
||||
NS_ASSUME_NONNULL_END
|
||||
+26
@@ -0,0 +1,26 @@
|
||||
//
|
||||
// TFComicDownloadModel.m
|
||||
// TFReader
|
||||
//
|
||||
// Created by 谢腾飞 on 2020/12/15.
|
||||
// Copyright © 2020 xtfei_2011@126.com. All rights reserved.
|
||||
//
|
||||
|
||||
#import "TFComicDownloadModel.h"
|
||||
|
||||
@implementation TFComicDownloadModel
|
||||
|
||||
+ (NSDictionary *)modelCustomPropertyMapper
|
||||
{
|
||||
return @{
|
||||
@"total_chapters" : @"base_info.total_chapters",
|
||||
@"display_label" : @"base_info.display_label"
|
||||
};
|
||||
}
|
||||
|
||||
+ (NSDictionary<NSString *,id> *)modelContainerPropertyGenericClass
|
||||
{
|
||||
return @{@"down_list" : [TFProductionChapterModel class]};
|
||||
}
|
||||
|
||||
@end
|
||||
Reference in New Issue
Block a user