123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186 |
- //
- // RQYDTQuestionModel.h
- // jiaPei
- //
- // Created by 张嵘 on 2022/3/28.
- // Copyright © 2022 JCZ. All rights reserved.
- //
- #import "RQBaseModel.h"
- #import "MPPlayableProtocol.h"
- /// 题目类型
- typedef NS_ENUM(NSUInteger, RQQuestionType) {
- /// 判断题
- RQQuestionType_Judgment = 1,
- /// 单选题
- RQQuestionType_SingleChoice,
- /// 多选题
- RQQuestionType_MultipleChoice,
- };
- /// 答题结果Type
- typedef NS_ENUM(NSUInteger, RQAnswerResultsType) {
- /// 未答题
- RQAnswerResultsType_Unanswered,
- /// 回答正确
- RQAnswerResultsType_Correct,
- /// 回答错误
- RQAnswerResultsType_Error,
- };
- NS_ASSUME_NONNULL_BEGIN
- @interface RQYDTQuestionModel : RQBaseModel <XSTPlayable>
- /**
- * 问题id
- */
- @property (nonatomic, readwrite, assign) NSInteger ID;
- /**
- * 题目类型(1:判断题 2:单选题 3:多选题)
- */
- @property (nonatomic, readwrite, assign) RQQuestionType Type;
- /**
- * intNumber(未知参数)
- */
- @property (nonatomic, readwrite, copy) NSString *intNumber;
- /**
- * 大章节ID
- */
- @property (nonatomic, readwrite, copy) NSString *strTppe;
- /**
- * 小章节ID
- */
- @property (nonatomic, readwrite, copy) NSString *strType_l;
- /**
- * 驾照类型
- */
- @property (nonatomic, readwrite, copy) NSString *LicenseType;
- /**
- * 题目题干
- */
- @property (nonatomic, readwrite, copy) NSString *Question;
- /**
- * 选项一
- */
- @property (nonatomic, readwrite, copy) NSString *An1;
- /**
- * 选项二
- */
- @property (nonatomic, readwrite, copy) NSString *An2;
- /**
- * 选项三
- */
- @property (nonatomic, readwrite, copy) NSString *An3;
- /**
- * 选项四
- */
- @property (nonatomic, readwrite, copy) NSString *An4;
- /**
- * 选项五
- */
- @property (nonatomic, readwrite, copy) NSString *An5;
- /**
- * 选项六
- */
- @property (nonatomic, readwrite, copy) NSString *An6;
- /**
- * 选项七
- */
- @property (nonatomic, readwrite, copy) NSString *An7;
- /**
- * 正确选项
- */
- @property (nonatomic, readwrite, copy) NSString *AnswerTrue;
- /**
- * 题目解析
- */
- @property (nonatomic, readwrite, copy) NSString *explain;
- /**
- * BestAnswerId(未知参数)
- */
- @property (nonatomic, readwrite, copy) NSString *BestAnswerId;
- /**
- * 科目(1:科目一 2:科目二 3:科目三 4:科目四)
- */
- @property (nonatomic, readwrite, assign) NSInteger kemu;
- /**
- * jieshi_from(未知参数)
- */
- @property (nonatomic, readwrite, copy) NSString *jieshi_from;
- /**
- * moretypes(未知参数)
- */
- @property (nonatomic, readwrite, copy) NSString *moretypes;
- /**
- * chapterid(未知参数)
- */
- @property (nonatomic, readwrite, assign) NSInteger chapterid;
- /**
- * 本地图片名称
- */
- @property (nonatomic, readwrite, copy) NSString *sinaimg;
- /**
- * 本地视频名称
- */
- @property (nonatomic, readwrite, copy) NSString *video_url;
- /**
- * 题目难度星级
- */
- @property (nonatomic, readwrite, assign) NSInteger diff_degree;
- /**
- * 地市ID
- */
- @property (nonatomic, readwrite, assign) NSInteger cityid;
- /**
- * 题目适用车型(test:为测试色盲题 所有车型通用)
- */
- @property (nonatomic, readwrite, copy) NSString *gs;
- /**
- * 关键词
- */
- @property (nonatomic, readwrite, copy) NSString *keyword;
- /**
- * 错误率
- */
- @property (nonatomic, readwrite, assign) double error_rate;
- /**
- * 媒体链接
- */
- @property (nonatomic, readwrite, copy) NSString *media_url;
- /**
- * show_option_type(未知参数)
- */
- @property (nonatomic, readwrite, assign) NSInteger show_option_type;
- /**
- * question_source(未知参数)
- */
- @property (nonatomic, readwrite, assign) NSInteger question_source;
- /**
- * 最佳解释
- */
- @property (nonatomic, readwrite, copy) NSString *best_explain_new;
- @property (nonatomic, readwrite, strong) NSData *media_content;
- /// 自定参数
- /// 用户选项
- //@property (nonatomic, readwrite, copy) NSArray *userAnswer;
- /// 题目顺序
- @property (nonatomic, readwrite, assign) NSInteger num;
- /// 题目数量
- //@property (nonatomic, readwrite, assign) NSInteger allNum;
- /// 题目图片
- @property (nonatomic, readwrite, strong) UIImage *sinaImage;
- /// 视频路径
- @property (nonatomic, readwrite, strong) NSURL *video_filePath_Url;
- /// 是否为当前题
- //@property (nonatomic, readwrite, assign) BOOL isCurrent;
- /// 答对答错或没做 0没做 1答对 2答错
- //@property (nonatomic, readwrite, assign) RQAnswerResultsType answerResultsType;
- + (id)ydtQuestionModelWithFMResultSet:(FMResultSet *)resultSet;
- @end
- NS_ASSUME_NONNULL_END
|