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.
84 lines
1.9 KiB
84 lines
1.9 KiB
4 years ago
|
//
|
||
|
// TFCatalogModel.h
|
||
|
// TFReader
|
||
|
//
|
||
|
// Created by 谢腾飞 on 2020/12/11.
|
||
|
// Copyright © 2020 xtfei_2011@126.com. All rights reserved.
|
||
|
//
|
||
|
|
||
|
#import <Foundation/Foundation.h>
|
||
|
|
||
|
NS_ASSUME_NONNULL_BEGIN
|
||
|
@class TFCatalogListModel, TFCatalogAuthorModel;
|
||
|
|
||
|
@interface TFCatalogModel : NSObject
|
||
|
|
||
|
@property (nonatomic ,assign) NSInteger total_chapter;
|
||
|
|
||
|
@property (nonatomic ,strong) TFCatalogAuthorModel *author;
|
||
|
|
||
|
@property (nonatomic ,copy) NSArray<TFCatalogListModel *> *list;
|
||
|
|
||
|
@end
|
||
|
|
||
|
@interface TFCatalogAuthorModel : NSObject
|
||
|
|
||
|
@property (nonatomic ,copy) NSString *author_name;
|
||
|
|
||
|
@property (nonatomic ,copy) NSString *author_note;
|
||
|
|
||
|
@property (nonatomic ,assign) NSInteger author_id;
|
||
|
|
||
|
@property (nonatomic ,copy) NSString *author_avatar;
|
||
|
|
||
|
@end
|
||
|
|
||
|
|
||
|
@interface TFCatalogListModel : NSObject
|
||
|
|
||
|
/// 章节id
|
||
|
@property (nonatomic ,copy) NSString *chapter_id;
|
||
|
|
||
|
/// 下一章章节id
|
||
|
@property (nonatomic ,copy) NSString *next_chapter;
|
||
|
|
||
|
/// 上一章章节id
|
||
|
@property (nonatomic ,copy) NSString *previou_chapter;
|
||
|
|
||
|
@property (nonatomic ,copy) NSString *book_id;
|
||
|
|
||
|
/// 章节标题
|
||
|
@property (nonatomic ,copy) NSString *title;
|
||
|
|
||
|
/// 字数
|
||
|
@property (nonatomic ,copy) NSString *words;
|
||
|
|
||
|
@property (nonatomic ,assign ,getter = isVip) BOOL vip;
|
||
|
|
||
|
/// 章节更新时间:时间戳
|
||
|
@property (nonatomic ,copy) NSString *update_time;
|
||
|
|
||
|
@property (nonatomic ,copy) NSString *tab;
|
||
|
|
||
|
/// tab颜色,默认是16进制色值
|
||
|
@property (nonatomic ,copy) NSString *color;
|
||
|
|
||
|
/// 当前章节在整个章节中的顺序
|
||
|
@property (nonatomic ,assign) NSInteger display_order;
|
||
|
|
||
|
@property (nonatomic ,assign) BOOL can_read;
|
||
|
|
||
|
@property (nonatomic ,assign ,getter = isPreview) BOOL preview;
|
||
|
|
||
|
@property (nonatomic ,copy) NSString *author_note;
|
||
|
|
||
|
@property (nonatomic ,assign) NSInteger comment_num;
|
||
|
|
||
|
@property (nonatomic ,assign) NSInteger ticket_num;
|
||
|
|
||
|
@property (nonatomic ,assign) NSInteger reward_num;
|
||
|
|
||
|
@end
|
||
|
|
||
|
NS_ASSUME_NONNULL_END
|