// GENERATED CODE - DO NOT MODIFY BY HAND

part of 'SystemNotice.dart';

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

SystemNotice _$SystemNoticeFromJson(Map<String, dynamic> json) {
  return SystemNotice(
      json['id'] as int,
      json['gameId'] as int,
      json['houseId'] as int,
      json['userId'] as int,
      json['seasonId'] as int,
      json['content'] as String,
      json['icon'] as String,
      json['typeFlag'] as int,
      json['statusFlag'] as int,
      json['createTime'] as int,
      json['playerId'] as int,
      json['gameInfo'] == null
          ? null
          : GameInfo.fromJson(json['gameInfo'] as Map<String, dynamic>),
      json['houseInfo'] == null
          ? null
          : HouseInfo.fromJson(json['houseInfo'] as Map<String, dynamic>),
      json['playerInfo'] == null
          ? null
          : PlayerInfo.fromJson(json['playerInfo'] as Map<String, dynamic>),
      json['bonus'] as int);
}

Map<String, dynamic> _$SystemNoticeToJson(SystemNotice instance) =>
    <String, dynamic>{
      'id': instance.id,
      'gameId': instance.gameId,
      'houseId': instance.houseId,
      'userId': instance.userId,
      'seasonId': instance.seasonId,
      'content': instance.content,
      'icon': instance.icon,
      'typeFlag': instance.typeFlag,
      'statusFlag': instance.statusFlag,
      'createTime': instance.createTime,
      'playerId': instance.playerId,
      'gameInfo': instance.gameInfo,
      'houseInfo': instance.houseInfo,
      'playerInfo': instance.playerInfo,
      'bonus': instance.bonus
    };
