小说绘上架版本
This commit is contained in:
+32
@@ -0,0 +1,32 @@
|
||||
//
|
||||
// TFAppraiseDetailModel.h
|
||||
// TFReader
|
||||
//
|
||||
// Created by 谢腾飞 on 2020/12/21.
|
||||
// Copyright © 2020 xtfei_2011@126.com. All rights reserved.
|
||||
//
|
||||
|
||||
#import <Foundation/Foundation.h>
|
||||
|
||||
NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
@interface TFAppraiseDetailModel : TFCommentsModel
|
||||
|
||||
@property (nonatomic ,assign) NSInteger production_id; // 作品id
|
||||
@property (nonatomic ,assign) NSInteger chapter_id;
|
||||
@property (nonatomic ,copy) NSString *name; // 作品名
|
||||
@property (nonatomic ,assign) NSInteger comment_id;
|
||||
@property (nonatomic ,assign) NSInteger uid;
|
||||
@property (nonatomic ,copy) NSString *nickname;
|
||||
@property (nonatomic ,copy) NSString *avatar;
|
||||
@property (nonatomic ,copy) NSString *time;
|
||||
@property (nonatomic ,assign) NSInteger like_num;
|
||||
@property (nonatomic ,copy) NSString *content;
|
||||
@property (nonatomic ,assign) BOOL is_vip;
|
||||
@property (nonatomic ,copy) NSString *cover;
|
||||
@property (nonatomic ,copy) NSString *author;
|
||||
@property (nonatomic ,copy) NSString *reply_info;
|
||||
|
||||
@end
|
||||
|
||||
NS_ASSUME_NONNULL_END
|
||||
+21
@@ -0,0 +1,21 @@
|
||||
//
|
||||
// TFAppraiseDetailModel.m
|
||||
// TFReader
|
||||
//
|
||||
// Created by 谢腾飞 on 2020/12/21.
|
||||
// Copyright © 2020 xtfei_2011@126.com. All rights reserved.
|
||||
//
|
||||
|
||||
#import "TFAppraiseDetailModel.h"
|
||||
|
||||
@implementation TFAppraiseDetailModel
|
||||
|
||||
+ (NSDictionary *)modelCustomPropertyMapper
|
||||
{
|
||||
return @{
|
||||
@"production_id" : @[@"book_id", @"comic_id", @"audio_id"],
|
||||
@"name" : @[@"name", @"title", @"book_name", @"comic_name", @"audio_name"]
|
||||
};
|
||||
}
|
||||
|
||||
@end
|
||||
Reference in New Issue
Block a user