// GENERATED CODE - DO NOT MODIFY BY HAND

part of 'PlayerInfo.dart';

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

PlayerInfo _$PlayerInfoFromJson(Map<String, dynamic> json) {
  return PlayerInfo(
      json['id'] as int,
      json['houseId'] as int,
      json['userId'] as int,
      json['statusFlag'] as int,
      json['userInfo'] != null ? UserInfo.fromJson(json['userInfo']) : null,
      json['bonus'] as int,
      json['gameInfo'] != null ? GameInfo.fromJson(json['gameInfo']) : null,
      json['houseInfo'] != null ? HouseInfo.fromJson(json['houseInfo']) : null,
      json['rank'] ?? null,
      json['houseRank'] ?? null,
      json['video']??'');
}

//  int id;
//   int houseId;//房间id
//   int userId;//用户id
//   int statusFlag;//状态 0加入 1准备 2开始 3结束 6未比赛
//   UserInfo userInfo;
Map<String, dynamic> _$PlayerInfoToJson(PlayerInfo instance) =>
    <String, dynamic>{
      'id': instance.id,
      'houseId': instance.houseId,
      'userId': instance.userId,
      'statusFlag': instance.statusFlag,
      'userInfo': instance.userInfo,
      'bonus': instance.bonus,
      'gameInfo': instance.gameInfo,
      'houseInfo': instance.houseInfo,
      'rank': instance.rank,
      'houseRank': instance.houseRank,
      'video':instance.video
    };
