小说绘上架版本
This commit is contained in:
+25
@@ -0,0 +1,25 @@
|
||||
//
|
||||
// TFPopularityModel.h
|
||||
// TFReader
|
||||
//
|
||||
// Created by 谢腾飞 on 2020/12/17.
|
||||
// Copyright © 2020 xtfei_2011@126.com. All rights reserved.
|
||||
//
|
||||
|
||||
#import <Foundation/Foundation.h>
|
||||
|
||||
NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
@interface TFPopularityModel : NSObject
|
||||
// 排行榜类型
|
||||
@property (nonatomic ,copy) NSString *rank_type;
|
||||
// 榜单名
|
||||
@property (nonatomic ,copy) NSString *list_name;
|
||||
// 榜单简介
|
||||
@property (nonatomic ,copy) NSString *rankDescription;
|
||||
// 榜单图标
|
||||
@property (nonatomic ,strong) NSArray <NSString *>*icon;
|
||||
|
||||
@end
|
||||
|
||||
NS_ASSUME_NONNULL_END
|
||||
+21
@@ -0,0 +1,21 @@
|
||||
//
|
||||
// TFPopularityModel.m
|
||||
// TFReader
|
||||
//
|
||||
// Created by 谢腾飞 on 2020/12/17.
|
||||
// Copyright © 2020 xtfei_2011@126.com. All rights reserved.
|
||||
//
|
||||
|
||||
#import "TFPopularityModel.h"
|
||||
|
||||
@implementation TFPopularityModel
|
||||
|
||||
+ (NSDictionary *)modelCustomPropertyMapper
|
||||
{
|
||||
return @{
|
||||
@"rankDescription" :@[@"description", @"desc"],
|
||||
@"list_name" :@[@"list_name", @"title"]
|
||||
};
|
||||
}
|
||||
|
||||
@end
|
||||
Reference in New Issue
Block a user