state.dart 652 B

1234567891011121314151617181920212223
  1. import 'package:get/get.dart';
  2. import '../../../../common/models/index.dart';
  3. class ExceptionDataState {
  4. // title
  5. final _title = "".obs;
  6. set title(value) => _title.value = value;
  7. get title => _title.value;
  8. RxList<AttendanceV2Appeal> myAppealList = <AttendanceV2Appeal>[].obs;
  9. // 是否有更多翻页数据
  10. final _hasMoreData = true.obs;
  11. set hasMoreData(bool value) => _hasMoreData.value = value;
  12. bool get hasMoreData => _hasMoreData.value;
  13. // 是否启用申诉流程
  14. final _enableProcess = false.obs;
  15. set enableProcess(bool value) => _enableProcess.value = value;
  16. bool get enableProcess => _enableProcess.value;
  17. }