// GENERATED CODE - DO NOT MODIFY BY HAND

part of 'good_response_entity.dart';

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

GoodResponseEntity _$GoodResponseEntityFromJson(Map<String, dynamic> json) =>
    GoodResponseEntity()
      ..id = json['id'] as int?
      ..categoryId = json['eacc_good_category_id'] as int?
      ..name = json['name'] as String
      ..ean13 = json['ean13'] as String?
      ..articul = json['articul'] as int?
      ..price = (json['price'] as num?)?.toDouble()
      ..optPrice = (json['opt_price'] as num?)?.toDouble()
      ..basePrice = (json['base_price'] as num?)?.toDouble()
      ..autoBasePrice = (json['auto_base_price'] as num?)?.toDouble()
      ..divisible = json['divisible'] as int?
      ..description = json['description'] as String?
      ..categoryName = json['category_name'] as String?;

Map<String, dynamic> _$GoodResponseEntityToJson(GoodResponseEntity instance) =>
    <String, dynamic>{
      'id': instance.id,
      'eacc_good_category_id': instance.categoryId,
      'name': instance.name,
      'ean13': instance.ean13,
      'articul': instance.articul,
      'price': instance.price,
      'opt_price': instance.optPrice,
      'base_price': instance.basePrice,
      'auto_base_price': instance.autoBasePrice,
      'divisible': instance.divisible,
      'description': instance.description,
      'category_name': instance.categoryName,
    };
