小说绘上架版本
This commit is contained in:
+39
@@ -0,0 +1,39 @@
|
||||
//
|
||||
// TFMemberModel.h
|
||||
// TFReader
|
||||
//
|
||||
// Created by 谢腾飞 on 2020/12/17.
|
||||
// Copyright © 2020 xtfei_2011@126.com. All rights reserved.
|
||||
//
|
||||
|
||||
#import <Foundation/Foundation.h>
|
||||
#import "TFUpgradeMemberModel.h"
|
||||
#import "TFBookStoreLabelModel.h"
|
||||
|
||||
NS_ASSUME_NONNULL_BEGIN
|
||||
@class TFMemberInfoModel;
|
||||
@interface TFMemberModel : NSObject
|
||||
|
||||
@property (nonatomic ,strong) TFMemberInfoModel *user;
|
||||
@property (nonatomic ,strong) NSArray<TFPrivilegeModel *> *privilege;
|
||||
@property (nonatomic ,strong) NSArray <TFBannerModel *>*banner;
|
||||
@property (nonatomic ,strong) NSArray<TFBookStoreLabelModel *> *label;
|
||||
|
||||
@end
|
||||
|
||||
|
||||
|
||||
@interface TFMemberInfoModel : NSObject
|
||||
// 昵称
|
||||
@property (nonatomic ,copy) NSString *nickname;
|
||||
// 头像
|
||||
@property (nonatomic ,copy) NSString *avatar;
|
||||
// 包月状态 0未开通包月 1已开通包月
|
||||
@property (nonatomic ,assign) NSInteger baoyue_status;
|
||||
// 包月有效期
|
||||
@property (nonatomic ,copy) NSString *expiry_date;
|
||||
@property (nonatomic ,copy) NSString *vip_desc;
|
||||
|
||||
@end
|
||||
|
||||
NS_ASSUME_NONNULL_END
|
||||
+26
@@ -0,0 +1,26 @@
|
||||
//
|
||||
// TFMemberModel.m
|
||||
// TFReader
|
||||
//
|
||||
// Created by 谢腾飞 on 2020/12/17.
|
||||
// Copyright © 2020 xtfei_2011@126.com. All rights reserved.
|
||||
//
|
||||
|
||||
#import "TFMemberModel.h"
|
||||
|
||||
@implementation TFMemberModel
|
||||
|
||||
+ (NSDictionary<NSString *,id> *)modelContainerPropertyGenericClass
|
||||
{
|
||||
return @{@"privilege" : [TFPrivilegeModel class],
|
||||
@"banner" : [TFBannerModel class],
|
||||
@"label" : [TFBookStoreLabelModel class]
|
||||
};
|
||||
}
|
||||
|
||||
@end
|
||||
|
||||
|
||||
@implementation TFMemberInfoModel
|
||||
|
||||
@end
|
||||
Reference in New Issue
Block a user