You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
50 lines
1.1 KiB
50 lines
1.1 KiB
// |
|
// TFProductionChapterModel.m |
|
// TFReader |
|
// |
|
// Created by 谢腾飞 on 2020/12/11. |
|
// Copyright © 2020 xtfei_2011@126.com. All rights reserved. |
|
// |
|
|
|
#import "TFProductionChapterModel.h" |
|
|
|
@implementation TFProductionChapterModel |
|
|
|
+ (NSDictionary<NSString *,id> *)modelContainerPropertyGenericClass |
|
{ |
|
return @{@"tag" : [TFTagModel class], |
|
@"advert" : [TFAdvertModel class], |
|
@"image_list" : [TFImageListModel class] |
|
}; |
|
} |
|
|
|
+ (NSDictionary *)modelCustomPropertyMapper |
|
{ |
|
return @{ |
|
@"production_id":@[@"book_id", @"comic_id", @"audio_id"], |
|
@"relation_production_id":@"relation_book_id", |
|
@"total_words":@"words", |
|
@"name" :@[@"name", @"title", @"book_name", @"comic_name", @"audio_name"], |
|
@"cover":@[@"cover", @"small_cover"] |
|
}; |
|
} |
|
|
|
- (void)setAuthor_note:(NSString *)author_note |
|
{ |
|
_author_note = author_note; |
|
} |
|
|
|
@end |
|
|
|
|
|
|
|
@implementation TFImageListModel |
|
|
|
+ (NSDictionary *)modelCustomPropertyMapper |
|
{ |
|
return @{ |
|
@"image_update_time":@"update_time" |
|
}; |
|
} |
|
|
|
@end
|
|
|