import 'package:json_annotation/json_annotation.dart';

part 'job_knowledge_detail_student.g.dart';


@JsonSerializable()
class JobKnowledgeDetailStudent extends Object {

  @JsonKey(name: 'studentId')
  int studentId;

  @JsonKey(name: 'studentName')
  String studentName;

  @JsonKey(name: 'isAnswer')
  bool isAnswer;

  @JsonKey(name: 'isCorrect')
  bool isCorrect;

  JobKnowledgeDetailStudent(this.studentId,this.studentName,this.isAnswer,this.isCorrect,);

  factory JobKnowledgeDetailStudent.fromJson(Map<String, dynamic> srcJson) => _$JobKnowledgeDetailStudentFromJson(srcJson);

  Map<String, dynamic> toJson() => _$JobKnowledgeDetailStudentToJson(this);

}


