// // QuestionModel.h // jiaPei // // Created by 张嵘 on 2019/8/27. // Copyright © 2019 JCZ. All rights reserved. // #import NS_ASSUME_NONNULL_BEGIN @class QuesTionItem,AnswerItem,ChapterSection; @interface QuestionModel : NSObject @end @interface QuesTionItem : NSObject /** * 问题id */ @property (nonatomic) NSInteger questionID; /** * 问题序号 */ @property (nonatomic) NSInteger questionNumber; /** * 是否有图片0无1图片2视频 */ @property (nonatomic) NSInteger category; /** * 考题图片 */ @property (nonatomic, copy) NSString *picName; /** * 考题视频 */ @property (nonatomic, copy) NSString *VediaName; /** * 考题问题 */ @property (nonatomic, copy) NSString *question; /** * 考题类型1判断2单选3多选 */ @property (nonatomic) NSInteger type; /** * 考题答案数组 */ @property (nonatomic, strong) NSArray *Awasers; /** * 考题正确答案 */ @property (nonatomic, copy) NSString *RightAwaser; /** * 考题详解 */ @property (nonatomic, copy) NSString *Comments; /** * 难度系数 */ @property (nonatomic) NSInteger difficulty; /** * 答对答错或没做 0没做 1答对 2答错 */ @property (nonatomic) NSInteger isRight; /** * 用户选项 */ @property (nonatomic) NSString *userAnswer; /** * 是否收藏0收藏1否 */ @property (nonatomic) NSInteger is_favorite; /** * 章节 */ @property (nonatomic) NSInteger chapter; /** * 是否隐藏正确答案 no为展示 yes为隐藏 */ @property (nonatomic) BOOL HiddenRightAnswer; @property (nonatomic) NSInteger number;///<和选题页面之间的传值 @property (nonatomic) BOOL isCurrent;///<是否为当前题 @end @interface AnswerItem : NSObject ///0对1错2默认3多选题点后后变色 text的颜色 @property (nonatomic) NSInteger type;// Cell的样式 @property (nonatomic,copy) NSString *picname; @property (nonatomic,copy) NSString *text; @end @interface ChapterSection : NSObject @property (nonatomic,copy)NSString *chapterName; @property (nonatomic)NSInteger chapter; @property (nonatomic,strong)NSMutableArray *chapterCounts; @property (nonatomic) NSInteger count; @end NS_ASSUME_NONNULL_END