import 'package:json_annotation/json_annotation.dart';
import 'package:marking_app/common/model/common/base_page_report.dart';

part 'report_card_params.g.dart';


@JsonSerializable()
class ReportCardParams extends BasePageReport {

  @JsonKey(name: 'ExamId')
  int examId;

  @JsonKey(name: 'Subject')
  int? subject;

  @JsonKey(name: 'ClassId')
  int classId;

  ReportCardParams({required this.examId,required this.classId,this.subject,page,limit}):super(page,limit);

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

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

}


