// GENERATED CODE - DO NOT MODIFY BY HAND

part of 'CompetitionSeason.dart';

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

CompetitionSeason _$CompetitionSeasonFromJson(Map<String, dynamic> json) {
  return CompetitionSeason(
      json['id'] as int,
      json['season'] as String,
      json['shortName'] as String,
      json['beginTime'] as int,
      json['endTime'] as int,
      json['bonus'] as int,
      json['statusFlag'] as int,
      json['gameId'] as int,
      json['gameInfo'] == null
          ? null
          : GameInfo.fromJson(json['gameInfo'] as Map<String, dynamic>),
      json['playerInfo'] == null
          ? null
          : PlayerInfo.fromJson(json['playerInfo'] as Map<String, dynamic>));
}

Map<String, dynamic> _$CompetitionSeasonToJson(CompetitionSeason instance) =>
    <String, dynamic>{
      'id': instance.id,
      'season': instance.season,
      'shortName': instance.shortName,
      'beginTime': instance.beginTime,
      'endTime': instance.endTime,
      'bonus': instance.bonus,
      'statusFlag': instance.statusFlag,
      'gameId': instance.gameId,
      'gameInfo': instance.gameInfo,
      'playerInfo': instance.playerInfo
    };
