// GENERATED CODE - DO NOT MODIFY BY HAND

part of 'list_lesson.dart';

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

ListLesson _$ListLessonFromJson(Map<String, dynamic> json) => ListLesson(
      lessonId: json['lessonId'] as String?,
      chapterId: json['chapterId'] as String?,
      name: json['name'] as String?,
      free: json['free'] as bool?,
      sortorder: json['sortorder'] as int?,
      openType: json['openType'] as String?,
      openAfter: (json['openAfter'] as num?)?.toDouble(),
      completeType: json['completeType'] as String?,
      minView: json['minView'] as int?,
      createDate: json['createDate'] as String?,
      createUser: json['createUser'] as String?,
      updateDate: json['updateDate'] as String?,
      updateUser: json['updateUser'] as String?,
      listPart: (json['listPart'] as List<dynamic>?)
          ?.map((e) => ListPart.fromJson(e as Map<String, dynamic>))
          .toList(),
      competeLesson: json['competeLesson'] as bool?,
      lessonFirstRow: json['lessonFirstRow'] as int?,
      lessonLastRow: json['lessonLastRow'] as int?,
    );

Map<String, dynamic> _$ListLessonToJson(ListLesson instance) =>
    <String, dynamic>{
      'lessonId': instance.lessonId,
      'chapterId': instance.chapterId,
      'name': instance.name,
      'free': instance.free,
      'sortorder': instance.sortorder,
      'openType': instance.openType,
      'openAfter': instance.openAfter,
      'completeType': instance.completeType,
      'minView': instance.minView,
      'createDate': instance.createDate,
      'createUser': instance.createUser,
      'updateDate': instance.updateDate,
      'updateUser': instance.updateUser,
      'listPart': instance.listPart,
      'competeLesson': instance.competeLesson,
      'lessonFirstRow': instance.lessonFirstRow,
      'lessonLastRow': instance.lessonLastRow,
    };
