import 'package:get/get.dart';
import 'package:making_school_asignment_app/common/job/student_history.dart';
import 'package:making_school_asignment_app/common/utils/utils.dart';

class StudentWorkDetailState {
  StudentWorkDetailState() {
    ///Initialize variables
  }

  late RxString studentName = ''.obs;
  late int studentId = -1;
  late RxBool isJob = true.obs;
  late int page = 1;
  late int totalPages = 0;
  late String dateStart = Utils.getWeekStartDate().toString().substring(0, 10);
  late String dateEnd = Utils.getWeekEndDate().toString().substring(0, 10);
  late RxString customTimeStr = '自定义'.obs;
  late Rx<StudentHistory> studentData = Rx(StudentHistory(0, 0, Items([], 0), 0));
  late final int subject;
  late RxList kgtLine = [].obs;
  late RxList zgtLine = [].obs;
  late RxList allLine = [].obs;
}
