import 'package:json_annotation/json_annotation.dart';

part 'job_knowledge_points.g.dart';


@JsonSerializable()
class KnowledgePoints extends Object {

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

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

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

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

  KnowledgePoints(this.knowledgeId,this.knowledgeName,this.correctRate,this.count,);

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

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

}


