// GENERATED CODE - DO NOT MODIFY BY HAND

part of 'lookup_data.dart';

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

_$LookupDataImpl _$$LookupDataImplFromJson(Map<String, dynamic> json) =>
    _$LookupDataImpl(
      manufacturers: (json['manufacturers'] as List<dynamic>?)
              ?.map((e) => LookupItem.fromJson(e as Map<String, dynamic>))
              .toList() ??
          [],
      equipmentNames: (json['equipment_names'] as List<dynamic>?)
              ?.map(
                  (e) => EquipmentNameItem.fromJson(e as Map<String, dynamic>))
              .toList() ??
          [],
      equipmentCategories: (json['equipment_categories'] as List<dynamic>?)
              ?.map((e) =>
                  CategoryCombinationItem.fromJson(e as Map<String, dynamic>))
              .toList() ??
          [],
      equipmentStatuses: (json['equipment_statuses'] as List<dynamic>?)
              ?.map((e) => StatusItem.fromJson(e as Map<String, dynamic>))
              .toList() ??
          [],
      companies: (json['companies'] as List<dynamic>?)
              ?.map((e) => LookupItem.fromJson(e as Map<String, dynamic>))
              .toList() ??
          [],
      warehouses: (json['warehouses'] as List<dynamic>?)
              ?.map((e) => LookupItem.fromJson(e as Map<String, dynamic>))
              .toList() ??
          [],
    );

Map<String, dynamic> _$$LookupDataImplToJson(_$LookupDataImpl instance) =>
    <String, dynamic>{
      'manufacturers': instance.manufacturers,
      'equipment_names': instance.equipmentNames,
      'equipment_categories': instance.equipmentCategories,
      'equipment_statuses': instance.equipmentStatuses,
      'companies': instance.companies,
      'warehouses': instance.warehouses,
    };

_$LookupItemImpl _$$LookupItemImplFromJson(Map<String, dynamic> json) =>
    _$LookupItemImpl(
      id: (json['id'] as num?)?.toInt(),
      name: json['name'] as String,
    );

Map<String, dynamic> _$$LookupItemImplToJson(_$LookupItemImpl instance) =>
    <String, dynamic>{
      'id': instance.id,
      'name': instance.name,
    };

_$EquipmentNameItemImpl _$$EquipmentNameItemImplFromJson(
        Map<String, dynamic> json) =>
    _$EquipmentNameItemImpl(
      id: (json['id'] as num?)?.toInt(),
      name: json['name'] as String,
      modelNumber: json['model_number'] as String?,
    );

Map<String, dynamic> _$$EquipmentNameItemImplToJson(
        _$EquipmentNameItemImpl instance) =>
    <String, dynamic>{
      'id': instance.id,
      'name': instance.name,
      'model_number': instance.modelNumber,
    };

_$CategoryCombinationItemImpl _$$CategoryCombinationItemImplFromJson(
        Map<String, dynamic> json) =>
    _$CategoryCombinationItemImpl(
      category1: json['category1'] as String,
      category2: json['category2'] as String,
      category3: json['category3'] as String,
    );

Map<String, dynamic> _$$CategoryCombinationItemImplToJson(
        _$CategoryCombinationItemImpl instance) =>
    <String, dynamic>{
      'category1': instance.category1,
      'category2': instance.category2,
      'category3': instance.category3,
    };

_$CategoryItemImpl _$$CategoryItemImplFromJson(Map<String, dynamic> json) =>
    _$CategoryItemImpl(
      id: json['id'] as String,
      name: json['name'] as String,
      description: json['description'] as String?,
    );

Map<String, dynamic> _$$CategoryItemImplToJson(_$CategoryItemImpl instance) =>
    <String, dynamic>{
      'id': instance.id,
      'name': instance.name,
      'description': instance.description,
    };

_$StatusItemImpl _$$StatusItemImplFromJson(Map<String, dynamic> json) =>
    _$StatusItemImpl(
      id: json['id'] as String,
      name: json['name'] as String,
      description: json['description'] as String?,
    );

Map<String, dynamic> _$$StatusItemImplToJson(_$StatusItemImpl instance) =>
    <String, dynamic>{
      'id': instance.id,
      'name': instance.name,
      'description': instance.description,
    };
