import 'package:json_annotation/json_annotation.dart';
import 'package:marking_app/common/model/marking/progress_of_marking.dart'; 
  
part 'marking_submit_result.g.dart';


@JsonSerializable()
  class MarkingSubmitResult extends Object {

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

  @JsonKey(name: 'markingProgress')
  ProgressOfMarking markingProgress;

  MarkingSubmitResult(this.marking,this.markingProgress,);

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

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

}


  
