// GENERATED CODE - DO NOT MODIFY BY HAND

part of 'lesson_data.dart';

// **************************************************************************
// JsonSerializableGenerator
// **************************************************************************

Data _$DataFromJson(Map<String, dynamic> json) => Data(
      partId: json['partId'] as String?,
      lessonId: json['lessonId'] as String?,
      link: json['link'] as String?,
      partType: json['partType'] as String?,
      sortorder: json['sortorder'] as int?,
      createDate: json['createDate'] as String?,
      createUser: json['createUser'] as String?,
      partFirstRow: json['partFirstRow'] as int?,
      partLastRow: json['partLastRow'] as int?,
      title: json['title'] as String?,
      homeworkList: (json['homeworkList'] as List<dynamic>?)
          ?.map((e) => HomeworkList.fromJson(e as Map<String, dynamic>))
          .toList(),
      playlist: (json['playlist'] as List<dynamic>?)
          ?.map((e) => Playlist.fromJson(e as Map<String, dynamic>))
          .toList(),
    );

Map<String, dynamic> _$DataToJson(Data instance) => <String, dynamic>{
      'partId': instance.partId,
      'lessonId': instance.lessonId,
      'link': instance.link,
      'partType': instance.partType,
      'sortorder': instance.sortorder,
      'createDate': instance.createDate,
      'createUser': instance.createUser,
      'partFirstRow': instance.partFirstRow,
      'partLastRow': instance.partLastRow,
      'title': instance.title,
      'homeworkList': instance.homeworkList,
      'playlist': instance.playlist,
    };
