123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125 |
- //
- // QuestionModel.h
- // jiaPei
- //
- // Created by 张嵘 on 2019/8/27.
- // Copyright © 2019 JCZ. All rights reserved.
- //
- #import <Foundation/Foundation.h>
- 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
|