// import 'package:json_annotation/json_annotation.dart';

// part 'marking_common_score_items.g.dart';

// @JsonSerializable(includeIfNull: false)
// class MarkingCommonScoreItems extends Object {
//   @JsonKey(name: 'id')
//   int id;

//   @JsonKey(name: 'questionNum')
//   String questionNum;

//   @JsonKey(name: 'score')
//   List<double> score;

//   MarkingCommonScoreItems({
//     required this.id,
//     required this.questionNum,
//     required this.score,
//   });

//   factory MarkingCommonScoreItems.fromJson(Map<String, dynamic> srcJson) => _$MarkingCommonScoreItemsFromJson(srcJson);

//   Map<String, dynamic> toJson() => _$MarkingCommonScoreItemsToJson(this);
// }

import 'package:json_annotation/json_annotation.dart';

part 'marking_common_score_items.g.dart';

@JsonSerializable(includeIfNull: false)
class MarkingCommonScoreItems extends Object {
  @JsonKey(name: 'id')
  int id;

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

  @JsonKey(name: 'score')
  List<double> score;

  MarkingCommonScoreItems({
    required this.id,
    required this.questionNum,
    required this.score,
  });

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

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