import 'package:json_annotation/json_annotation.dart';

part 'job_knowledge_points_detail.g.dart';


@JsonSerializable()
class KnowledgePointsDetail extends Object {

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

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

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

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

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

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

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

  KnowledgePointsDetail(this.jobId,this.jobName,this.publishTime,this.questionId,this.questionNo,this.sectionId,this.correctRate,);

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

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

}


