小说绘上架版本
This commit is contained in:
+33
@@ -0,0 +1,33 @@
|
||||
//
|
||||
// TFComicBarrageModel.h
|
||||
// TFReader
|
||||
//
|
||||
// Created by 谢腾飞 on 2020/12/15.
|
||||
// Copyright © 2020 xtfei_2011@126.com. All rights reserved.
|
||||
//
|
||||
|
||||
#import <Foundation/Foundation.h>
|
||||
|
||||
NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
@class TFComicBarrageList, TFPagingModel;
|
||||
@interface TFComicBarrageModel : TFPagingModel
|
||||
|
||||
@property (nonatomic ,copy) NSArray<TFComicBarrageList *> *list;
|
||||
|
||||
@end
|
||||
|
||||
|
||||
|
||||
@interface TFComicBarrageList : NSObject
|
||||
/// 弹幕内容
|
||||
@property (nonatomic ,copy) NSString *content;
|
||||
|
||||
// 弹幕颜色,16进制
|
||||
@property (nonatomic ,copy) NSString *color;
|
||||
|
||||
@property (nonatomic ,assign) NSInteger uid;
|
||||
|
||||
@end
|
||||
|
||||
NS_ASSUME_NONNULL_END
|
||||
+26
@@ -0,0 +1,26 @@
|
||||
//
|
||||
// TFComicBarrageModel.m
|
||||
// TFReader
|
||||
//
|
||||
// Created by 谢腾飞 on 2020/12/15.
|
||||
// Copyright © 2020 xtfei_2011@126.com. All rights reserved.
|
||||
//
|
||||
|
||||
#import "TFComicBarrageModel.h"
|
||||
|
||||
@implementation TFComicBarrageModel
|
||||
|
||||
+ (NSDictionary<NSString *,id> *)modelContainerPropertyGenericClass
|
||||
{
|
||||
return @{
|
||||
@"list" : TFComicBarrageList.class
|
||||
};
|
||||
}
|
||||
|
||||
@end
|
||||
|
||||
|
||||
|
||||
@implementation TFComicBarrageList
|
||||
|
||||
@end
|
||||
Reference in New Issue
Block a user