import 'package:hooks_riverpod/hooks_riverpod.dart';
import 'package:marking_app/common/mixin/common.dart';
import 'package:marking_app/common/model/job/marking_text_question_job_tab_params.dart';

// 获取阅卷数据监听参数发起请求
final doJobObtainGradingDataProvider =
    StateNotifierProvider<DoJobObtainGradingDataProviderHandle, MarkingTextQuestionJobTabParams?>(
        (ref) => DoJobObtainGradingDataProviderHandle(null));

class DoJobObtainGradingDataProviderHandle extends StateNotifier<MarkingTextQuestionJobTabParams?> with CommonMixin {
  DoJobObtainGradingDataProviderHandle(MarkingTextQuestionJobTabParams? val) : super(val);

  setVal(MarkingTextQuestionJobTabParams? val) {
    state = val;
  }
}
