41 lines
859 B
Objective-C
41 lines
859 B
Objective-C
//
|
|
// TFBookRackModel.m
|
|
// TFReader
|
|
//
|
|
// Created by 谢腾飞 on 2020/12/11.
|
|
// Copyright © 2020 xtfei_2011@126.com. All rights reserved.
|
|
//
|
|
|
|
#import "TFBookRackModel.h"
|
|
|
|
@implementation TFBookRackModel
|
|
|
|
+ (NSDictionary *)modelCustomPropertyMapper
|
|
{
|
|
return @{
|
|
@"rackDescription" : @"description",
|
|
@"announcement" : @[@"announce", @"announcement"],
|
|
@"recommendList" : @[@"recommend_list", @"recommend"],
|
|
@"productionList" : @[@"list"]
|
|
};
|
|
}
|
|
|
|
+ (NSDictionary<NSString *,id> *)modelContainerPropertyGenericClass
|
|
{
|
|
return @{
|
|
@"announcement" : [TFAnnouncementModel class],
|
|
@"recommendList" : [TFProductionModel class],
|
|
@"productionList" : [TFProductionModel class]
|
|
};
|
|
}
|
|
|
|
@end
|
|
|
|
|
|
@implementation TFBaseInfoModel
|
|
@end
|
|
|
|
|
|
@implementation TFAnnouncementModel
|
|
@end
|