import 'package:json_annotation/json_annotation.dart';
part 'ExamListModel.g.dart';

@JsonSerializable()
class ExamListModel {
  ///可考试总次数
  int totalCount;
  ///已考次数
  int useCount;
  String name;
  String startTime;
  String endTime;
  int resultStatus;
  ///考试时长
  int often;
  String examUserId;
  int status;
  ///题目数
  int questionNo;

  ExamListModel(this.totalCount, this.useCount, this.name,this.startTime,this.endTime,this.resultStatus,this.often,this.examUserId,this.status,this.questionNo);

  factory ExamListModel.fromJson(Map<String, dynamic> json) => _$ExamListModelFromJson(json);
  Map<String, dynamic> toJson() => _$ExamListModelToJson(this);
}