// 原稿笔迹参数

import 'package:json_annotation/json_annotation.dart';

part 'original_manuscript_handwriting_params.g.dart';

@JsonSerializable(checked: true, includeIfNull: false)
class OriginalManuscriptHandwritingParams extends Object {
  @JsonKey(name: 'homeworkId')
  String homeworkId;

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

  @JsonKey(name: 'templateId')
  int? templateId;

  @JsonKey(name: 'questionNo')
  String? questionNo;

  @JsonKey(name: 'pageNum')
  int? pageNum;

  OriginalManuscriptHandwritingParams({
    required this.homeworkId,
    required this.studentId,
    this.templateId,
    this.pageNum,
    this.questionNo,
  });

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

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