import 'package:json_annotation/json_annotation.dart';

part 'job_do_papers_student_bus.g.dart';

@JsonSerializable()
class JobDoPapersStudentBus extends Object {
  @JsonKey(name: 'studentId')
  int studentId;

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

  bool isFinish;

  int pageIndex;

  bool isFirst;

  JobDoPapersStudentBus(
    this.studentId,
    this.studentName,
    this.pageIndex,
    this.isFirst,
    this.isFinish,
  );

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

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