小说绘上架版本

This commit is contained in:
xtfei2011
2021-02-07 11:24:08 +08:00
commit ee5c1c8b12
1762 changed files with 115892 additions and 0 deletions
@@ -0,0 +1,21 @@
//
// TFAudioDetailModel.h
// TFReader
//
// Created by 谢腾飞 on 2020/12/25.
// Copyright © 2020 xtfei_2011@126.com. All rights reserved.
//
#import <Foundation/Foundation.h>
NS_ASSUME_NONNULL_BEGIN
@interface TFAudioDetailModel : NSObject
@property (nonatomic ,strong) TFProductionModel *audio;
@property (nonatomic ,strong) NSArray <NSString *> *color;
@property (nonatomic ,assign) NSInteger is_vip;
@end
NS_ASSUME_NONNULL_END
@@ -0,0 +1,28 @@
//
// TFAudioDetailModel.m
// TFReader
//
// Created by 谢腾飞 on 2020/12/25.
// Copyright © 2020 xtfei_2011@126.com. All rights reserved.
//
#import "TFAudioDetailModel.h"
@implementation TFAudioDetailModel
+ (NSDictionary<NSString *,id> *)modelContainerPropertyGenericClass
{
return @{
@"audio" : [TFProductionModel class]
};
}
+ (NSDictionary *)modelCustomPropertyMapper
{
return @{
@"color" :@"audio.color",
@"is_vip" :@"user.is_vip"
};
}
@end
@@ -0,0 +1,30 @@
//
// TFAudioRecommendedModel.h
// TFReader
//
// Created by 谢腾飞 on 2020/12/25.
// Copyright © 2020 xtfei_2011@126.com. All rights reserved.
//
#import <Foundation/Foundation.h>
NS_ASSUME_NONNULL_BEGIN
@class TFAudioContentModel, TFPagingModel;
@interface TFAudioRecommendedModel : TFPagingModel
@property (nonatomic ,strong) NSArray <TFAudioContentModel *>*list;
@end
@interface TFAudioContentModel : TFProductionModel
@property (nonatomic ,assign) BOOL is_vip; // 是否是vip章节
@property (nonatomic ,assign) BOOL is_finish; // 是否已完结
@property (nonatomic ,assign) NSInteger views; // 观看数
@property (nonatomic ,assign) NSInteger total_views;
@end
NS_ASSUME_NONNULL_END
@@ -0,0 +1,23 @@
//
// TFAudioRecommendedModel.m
// TFReader
//
// Created by 谢腾飞 on 2020/12/25.
// Copyright © 2020 xtfei_2011@126.com. All rights reserved.
//
#import "TFAudioRecommendedModel.h"
@implementation TFAudioRecommendedModel
+ (NSDictionary<NSString *,id> *)modelContainerPropertyGenericClass
{
return @{@"list" : [TFAudioContentModel class]};
}
@end
@implementation TFAudioContentModel
@end