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.
38 lines
954 B
38 lines
954 B
4 years ago
|
//
|
||
|
// TFUpgradeMemberModel.m
|
||
|
// TFReader
|
||
|
//
|
||
|
// Created by 谢腾飞 on 2020/12/13.
|
||
|
// Copyright © 2020 xtfei_2011@126.com. All rights reserved.
|
||
|
//
|
||
|
|
||
|
#import "TFUpgradeMemberModel.h"
|
||
|
#import "TFRechargeModel.h"
|
||
|
|
||
|
@implementation TFUpgradeMemberModel
|
||
|
|
||
|
+ (NSDictionary<NSString *,id> *)modelContainerPropertyGenericClass
|
||
|
{
|
||
|
return @{@"list" : [TFGoodsModel class], @"privilege" : [TFPrivilegeModel class]};
|
||
|
}
|
||
|
|
||
|
@end
|
||
|
|
||
|
|
||
|
|
||
|
@implementation TFPrivilegeModel
|
||
|
|
||
|
+ (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"]
|
||
|
};
|
||
|
}
|
||
|
|
||
|
@end
|