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.
32 lines
688 B
32 lines
688 B
4 years ago
|
//
|
||
|
// WXYZ_PlayPageModel.m
|
||
|
// WXReader
|
||
|
//
|
||
|
// Created by Andrew on 2020/3/10.
|
||
|
// Copyright © 2020 Andrew. All rights reserved.
|
||
|
//
|
||
|
|
||
|
#import "WXYZ_PlayPageModel.h"
|
||
|
|
||
|
@implementation WXYZ_PlayPageModel
|
||
|
|
||
|
+ (NSDictionary<NSString *,id> *)modelContainerPropertyGenericClass{
|
||
|
return @{@"comment" : [TFCommentsModel class],
|
||
|
@"list" : [TFProductionModel class],
|
||
|
@"advert" : [TFAdvertModel class],
|
||
|
@"relation" : [WXYZ_RelationModel class]
|
||
|
};
|
||
|
}
|
||
|
|
||
|
@end
|
||
|
|
||
|
@implementation WXYZ_RelationModel
|
||
|
|
||
|
+ (NSDictionary *)modelCustomPropertyMapper {
|
||
|
return @{
|
||
|
@"production_id" :@[@"book_id", @"comic_id", @"audio_id"]
|
||
|
};
|
||
|
}
|
||
|
|
||
|
@end
|