// GENERATED CODE - DO NOT MODIFY BY HAND

part of 'HouseInfo.dart';

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

HouseInfo _$HouseInfoFromJson(Map<String, dynamic> json) {
  return HouseInfo(
      json['id'] as int,
      json['gameId'] as int,
      json['userId'] as int,
      json['seasonId'] as int,
      json['houseName'] as String,
      json['houseAbstract'] as String,
      json['video'] as String,
      json['gameInfo'] != null ? GameInfo.fromJson(json['gameInfo']) : null,
      json['playerNumber'] as int,
      json['maxNumber'] as int,
      json['bonus'] as int,
      json['houseType'] as int,
      json['houseLevelInfo'] != null
          ? HouseLevel.fromJson(json['houseLevelInfo'])
          : null,
      json['gameHouseId'] as String,
      json['gameHousePassword'] as String,
      json['statusFlag'] as int,
      json['createUser'] as String,
      json['beginTime'] as int,
      json['createTime'] as int);
}

//  int id;
//   int gameId; //游戏ID
//   int userId; //用户ID
//   int seasonId; //赛季ID
//   String houseName; //房间名称
//   String houseAbstract; //房间描述
//   String video; //视频
//   GameInfo gameInfo; //游戏信息
// int playerNumber;//加入人数
//   int maxNumber; //最大加入人数
//   int bonus; //奖金
//   int houseType; //0为个人1为官方
//   HouseLevel houseLevel;
//   String gameHouseId; //游戏房间号
//   String gameHousePassword; //游戏密码
//   int statusFlag; //状态
Map<String, dynamic> _$HouseInfoToJson(HouseInfo instance) => <String, dynamic>{
      'id': instance.id,
      'gameId': instance.gameId,
      'userId': instance.userId,
      'seasonId': instance.seasonId,
      'houseName': instance.houseName,
      'houseAbstract': instance.houseAbstract,
      'video': instance.video,
      'gameInfo': instance.gameInfo,
      'playerNumber': instance.playerNumber,
      'maxNumber': instance.maxNumber,
      'bonus': instance.bonus,
      'houseType': instance.houseType,
      'houseLevel': instance.houseLevel,
      'gameHouseId': instance.gameHouseId,
      'gameHousePassword': instance.gameHousePassword,
      'statusFlag': instance.statusFlag,
      'createUser': instance.createUser,
      'beginTime':instance.beginTime,
      'createTime':instance.createTime
    };
