///课程信息
class ClassInfo {
  String name;

  String code;

  int studentCount;

  int courseCount;

  int examCount;

  ///练习数量
  int practiceCount;

  ///已完成练习
  int completedPracticeCount;

  ///已参与考试
  int completedExamCount;

  ClassInfo({
    required this.name,
    required this.code,
    this.studentCount = 0,
    this.courseCount = 0,
    this.examCount = 0,
    this.practiceCount = 0,
    this.completedPracticeCount = 0,
    this.completedExamCount = 0,
  });
}

enum ClassRoleType {
  Teacher,
  Student,
}
