import 'package:json_annotation/json_annotation.dart';

part 'knowledge_points_grasp.g.dart';


@JsonSerializable()
class KnowledgePointsGrasp extends Object {

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

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

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

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

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

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

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

}


