小说绘上架版本
This commit is contained in:
@@ -0,0 +1,36 @@
|
||||
//
|
||||
// TFFeedBackModel.h
|
||||
// TFReader
|
||||
//
|
||||
// Created by 谢腾飞 on 2020/12/22.
|
||||
// Copyright © 2020 xtfei_2011@126.com. All rights reserved.
|
||||
//
|
||||
|
||||
#import <Foundation/Foundation.h>
|
||||
|
||||
NS_ASSUME_NONNULL_BEGIN
|
||||
@class TFHelpListModel, TFQuestionListModel;
|
||||
|
||||
@interface TFFeedBackModel : NSObject
|
||||
|
||||
@property (nonatomic ,strong) NSArray <TFHelpListModel *>*help_list;
|
||||
|
||||
@end
|
||||
|
||||
|
||||
@interface TFHelpListModel : NSObject
|
||||
|
||||
@property (nonatomic ,copy) NSString *name; // 标题
|
||||
@property (nonatomic ,strong) NSArray <TFQuestionListModel *>*list; // 问题列表
|
||||
|
||||
@end
|
||||
|
||||
|
||||
@interface TFQuestionListModel : NSObject
|
||||
|
||||
@property (nonatomic ,copy) NSString *title;
|
||||
@property (nonatomic ,copy) NSString *answer;
|
||||
|
||||
@end
|
||||
|
||||
NS_ASSUME_NONNULL_END
|
||||
@@ -0,0 +1,33 @@
|
||||
//
|
||||
// TFFeedBackModel.m
|
||||
// TFReader
|
||||
//
|
||||
// Created by 谢腾飞 on 2020/12/22.
|
||||
// Copyright © 2020 xtfei_2011@126.com. All rights reserved.
|
||||
//
|
||||
|
||||
#import "TFFeedBackModel.h"
|
||||
|
||||
@implementation TFFeedBackModel
|
||||
|
||||
+ (NSDictionary<NSString *,id> *)modelContainerPropertyGenericClass
|
||||
{
|
||||
return @{@"help_list" : [TFHelpListModel class]};
|
||||
}
|
||||
|
||||
@end
|
||||
|
||||
|
||||
@implementation TFHelpListModel
|
||||
|
||||
+ (NSDictionary<NSString *,id> *)modelContainerPropertyGenericClass
|
||||
{
|
||||
return @{@"list" : [TFQuestionListModel class]};
|
||||
}
|
||||
|
||||
@end
|
||||
|
||||
|
||||
@implementation TFQuestionListModel
|
||||
|
||||
@end
|
||||
@@ -0,0 +1,32 @@
|
||||
//
|
||||
// TFFeedBackRecordModel.h
|
||||
// TFReader
|
||||
//
|
||||
// Created by 谢腾飞 on 2020/12/23.
|
||||
// Copyright © 2020 xtfei_2011@126.com. All rights reserved.
|
||||
//
|
||||
|
||||
#import <Foundation/Foundation.h>
|
||||
|
||||
NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
@class TFFeedbackContentModel, TFPagingModel;
|
||||
|
||||
@interface TFFeedBackRecordModel : TFPagingModel
|
||||
|
||||
@property (nonatomic ,strong) NSArray <TFFeedbackContentModel *>*list;
|
||||
|
||||
@end
|
||||
|
||||
|
||||
|
||||
@interface TFFeedbackContentModel : NSObject
|
||||
|
||||
@property (nonatomic ,copy) NSString *content; // 用户反馈内容
|
||||
@property (nonatomic ,strong) NSArray <NSString *>* images; // 图片组
|
||||
@property (nonatomic ,copy) NSString *reply; // 管理员回复内容
|
||||
@property (nonatomic ,copy) NSString *created_at; // 反馈时间
|
||||
|
||||
@end
|
||||
|
||||
NS_ASSUME_NONNULL_END
|
||||
@@ -0,0 +1,23 @@
|
||||
//
|
||||
// TFFeedBackRecordModel.m
|
||||
// TFReader
|
||||
//
|
||||
// Created by 谢腾飞 on 2020/12/23.
|
||||
// Copyright © 2020 xtfei_2011@126.com. All rights reserved.
|
||||
//
|
||||
|
||||
#import "TFFeedBackRecordModel.h"
|
||||
|
||||
@implementation TFFeedBackRecordModel
|
||||
|
||||
+ (NSDictionary<NSString *,id> *)modelContainerPropertyGenericClass
|
||||
{
|
||||
return @{@"list" : [TFFeedbackContentModel class]};
|
||||
}
|
||||
|
||||
@end
|
||||
|
||||
|
||||
@implementation TFFeedbackContentModel
|
||||
|
||||
@end
|
||||
Reference in New Issue
Block a user