RQExerciseToolBarItemViewModel.h 1.1 KB

123456789101112131415161718192021222324252627282930
  1. //
  2. // RQExerciseToolBarItemViewModel.h
  3. // SDJK
  4. //
  5. // Created by 张嵘 on 2021/8/16.
  6. //
  7. #import "RQCommonItemViewModel.h"
  8. NS_ASSUME_NONNULL_BEGIN
  9. @interface RQExerciseToolBarItemViewModel : 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. // init
  20. - (instancetype)initWithRQExerciseModel:(RQExerciseModel *)exerciseModel
  21. homePageCarType:(RQHomePageCarType)homePageCarType
  22. homePageSubject:(RQHomePageSubjectType)homePageSubject
  23. readingQuestionsAndAnswerCommand:(RACCommand *)readingQuestionsAndAnswerCommand
  24. skillExplanationCommand:(RACCommand *)skillExplanationCommand;
  25. @end
  26. NS_ASSUME_NONNULL_END