// // TFProductionModel.m // TFReader // // Created by 谢腾飞 on 2020/12/11. // Copyright © 2020 xtfei_2011@126.com. All rights reserved. // #import "TFProductionModel.h" @implementation TFProductionModel + (NSDictionary *)modelContainerPropertyGenericClass { return @{ @"tag" : [TFTagModel class], @"chapter_list" : [TFProductionChapterModel class], @"list" : [TFCatalogListModel class], }; } + (NSDictionary *)modelCustomPropertyMapper { return @{ @"production_descirption" :@"description", @"visited" :@"view", @"record_title" :@"chapter_title", @"production_id" :@[@"book_id", @"comic_id", @"audio_id"], @"name" :@[@"name", @"title", @"book_name", @"comic_name", @"audio_name"], @"total_chapters" :@[@"total_chapters", @"total_chapter"] }; } - (id)copyWithZone:(NSZone *)zone { return [self modelCopy]; } - (NSString *)production_descirption { _production_descirption = [_production_descirption stringByReplacingOccurrencesOfString:@"\r" withString:@""]; return _production_descirption; } @end