// GENERATED CODE - DO NOT MODIFY BY HAND

part of 'goods_bean.dart';

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

GoodsBean _$GoodsBeanFromJson(Map<String, dynamic> json) => GoodsBean(
      (json['id'] as num).toInt(),
      json['name'] as String,
      (json['level'] as num).toInt(),
      (json['originalAmount'] as num).toInt(),
      (json['amount'] as num).toInt(),
      (json['subscriptionMillis'] as num).toInt(),
      json['popular'] as bool,
      json['newcomer'] as bool,
      json['tag'] as String?,
      json['appleGoodsId'] as String?,
    )
      ..sort = (json['sort'] as num?)?.toInt()
      ..description = json['description'] as String?;

Map<String, dynamic> _$GoodsBeanToJson(GoodsBean instance) => <String, dynamic>{
      'id': instance.id,
      'sort': instance.sort,
      'name': instance.name,
      'level': instance.level,
      'description': instance.description,
      'originalAmount': instance.originalAmount,
      'amount': instance.amount,
      'subscriptionMillis': instance.subscriptionMillis,
      'popular': instance.popular,
      'newcomer': instance.newcomer,
      'tag': instance.tag,
      'appleGoodsId': instance.appleGoodsId,
    };
