RQExerciseExamToolBarItemViewModel.h 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. //
  2. // RQExerciseExamToolBarItemViewModel.h
  3. // SDJK
  4. //
  5. // Created by 张嵘 on 2021/8/24.
  6. //
  7. #import "RQCommonItemViewModel.h"
  8. NS_ASSUME_NONNULL_BEGIN
  9. @interface RQExerciseExamToolBarItemViewModel : RQCommonItemViewModel
  10. @property (nonatomic, readonly, strong) RQExerciseModel *exerciseModel;
  11. /// homePageCarType
  12. @property (nonatomic, readonly, assign) RQHomePageCarType homePageCarType;
  13. /// homePageSubjectType
  14. @property (nonatomic, readonly, assign) RQHomePageSubjectType homePageSubjectType;
  15. /// readingQuestionsAndAnswerCommand
  16. @property (nonatomic, readonly, strong) RACCommand *readingQuestionsAndAnswerCommand;
  17. /// skillExplanationCommand
  18. @property (nonatomic, readonly, strong) RACCommand *skillExplanationCommand;
  19. /// lastQuestionCommand
  20. @property (nonatomic, readonly, strong) RACCommand *lastQuestionCommand;
  21. /// nextQuestionCommand
  22. @property (nonatomic, readonly, strong) RACCommand *nextQuestionCommand;
  23. /// showCatalogueCommand
  24. @property (nonatomic, readonly, strong) RACCommand *showCatalogueCommand;
  25. // init
  26. - (instancetype)initWithRQExerciseModel:(RQExerciseModel *)exerciseModel
  27. homePageCarType:(RQHomePageCarType)homePageCarType
  28. homePageSubject:(RQHomePageSubjectType)homePageSubject
  29. readingQuestionsAndAnswerCommand:(RACCommand *)readingQuestionsAndAnswerCommand
  30. skillExplanationCommand:(RACCommand *)skillExplanationCommand
  31. lastQuestionCommand:(RACCommand *)lastQuestionCommand
  32. nextQuestionCommand:(RACCommand *)nextQuestionCommand
  33. showCatalogueCommand:(RACCommand *)showCatalogueCommand;
  34. @end
  35. NS_ASSUME_NONNULL_END