// GENERATED CODE - DO NOT MODIFY BY HAND

part of 'equipment_list_dto.dart';

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

_$EquipmentListDtoImpl _$$EquipmentListDtoImplFromJson(
        Map<String, dynamic> json) =>
    _$EquipmentListDtoImpl(
      id: (json['id'] as num).toInt(),
      equipmentNumber: json['equipment_number'] as String,
      manufacturer: json['manufacturer'] as String,
      modelName: json['model_name'] as String?,
      serialNumber: json['serial_number'] as String?,
      status: json['status'] as String,
      currentCompanyId: (json['current_company_id'] as num?)?.toInt(),
      currentBranchId: (json['current_branch_id'] as num?)?.toInt(),
      warehouseLocationId: (json['warehouse_location_id'] as num?)?.toInt(),
      createdAt: DateTime.parse(json['created_at'] as String),
      companyName: json['company_name'] as String?,
      branchName: json['branch_name'] as String?,
      warehouseName: json['warehouse_name'] as String?,
    );

Map<String, dynamic> _$$EquipmentListDtoImplToJson(
        _$EquipmentListDtoImpl instance) =>
    <String, dynamic>{
      'id': instance.id,
      'equipment_number': instance.equipmentNumber,
      'manufacturer': instance.manufacturer,
      'model_name': instance.modelName,
      'serial_number': instance.serialNumber,
      'status': instance.status,
      'current_company_id': instance.currentCompanyId,
      'current_branch_id': instance.currentBranchId,
      'warehouse_location_id': instance.warehouseLocationId,
      'created_at': instance.createdAt.toIso8601String(),
      'company_name': instance.companyName,
      'branch_name': instance.branchName,
      'warehouse_name': instance.warehouseName,
    };
