// GENERATED CODE - DO NOT MODIFY BY HAND

part of 'course_info.dart';

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

CourseInfo _$CourseInfoFromJson(Map<String, dynamic> json) => CourseInfo(
      courseId: json['courseId'] as String?,
      schoolId: json['schoolId'] as String?,
      folderId: json['folderId'] as String?,
      type: json['type'] as String?,
      code: json['code'] as String?,
      name: json['name'] as String?,
      shortname: json['shortname'] as String?,
      keyword: json['keyword'] as String?,
      image: json['image'] as String?,
      intro: json['intro'] as String?,
      status: json['status'] as String?,
      releaseStatus: json['releaseStatus'] as String?,
      learningmode: json['learningmode'] as String?,
      sortorder: json['sortorder'] as int?,
      studentCount: json['studentCount'] as int?,
      price: (json['price'] as num?)?.toDouble(),
      salePrice: (json['salePrice'] as num?)?.toDouble(),
      totalIncome: (json['totalIncome'] as num?)?.toDouble(),
      totalLesson: json['totalLesson'] as int?,
      totalChapter: json['totalChapter'] as int?,
      accessLimit: json['accessLimit'] as int?,
      createDate: json['createDate'] as String?,
      createUser: json['createUser'] as String?,
      updateDate: json['updateDate'] as String?,
      updateUser: json['updateUser'] as String?,
      folderName: json['folderName'] as String?,
      grantStatus: json['grantStatus'] as String?,
      teacherFullNameLst: json['teacherFullNameLst'] as String?,
      finishedDay: json['finishedDay'] as int?,
      currentRating: json['currentRating'] as int?,
      courseIT: json['courseIT'] as bool?,
    );

Map<String, dynamic> _$CourseInfoToJson(CourseInfo instance) =>
    <String, dynamic>{
      'courseId': instance.courseId,
      'schoolId': instance.schoolId,
      'folderId': instance.folderId,
      'type': instance.type,
      'code': instance.code,
      'name': instance.name,
      'shortname': instance.shortname,
      'keyword': instance.keyword,
      'image': instance.image,
      'intro': instance.intro,
      'status': instance.status,
      'releaseStatus': instance.releaseStatus,
      'learningmode': instance.learningmode,
      'sortorder': instance.sortorder,
      'studentCount': instance.studentCount,
      'price': instance.price,
      'salePrice': instance.salePrice,
      'totalIncome': instance.totalIncome,
      'totalLesson': instance.totalLesson,
      'totalChapter': instance.totalChapter,
      'accessLimit': instance.accessLimit,
      'createDate': instance.createDate,
      'createUser': instance.createUser,
      'updateDate': instance.updateDate,
      'updateUser': instance.updateUser,
      'folderName': instance.folderName,
      'grantStatus': instance.grantStatus,
      'teacherFullNameLst': instance.teacherFullNameLst,
      'finishedDay': instance.finishedDay,
      'currentRating': instance.currentRating,
      'courseIT': instance.courseIT,
    };
