// GENERATED CODE - DO NOT MODIFY BY HAND

part of 'inventarization_response.dart';

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

InventarizationResponse _$InventarizationResponseFromJson(
        Map<String, dynamic> json) =>
    InventarizationResponse(
      id: json['id'] as int,
      appCompanyId: json['app_company_id'] as int,
      inventoryDate: DateTime.parse(json['inventory_date'] as String),
      docNumber: json['doc_number'] as int,
      molUserId: json['mol_user_id'] as int,
      refInvoiceStatus: json['ref_invoice_status'] as int,
      createdAt: DateTime.parse(json['created_at'] as String),
      updatedAt: DateTime.parse(json['updated_at'] as String),
      deletedAt: json['deleted_at'] == null
          ? null
          : DateTime.parse(json['deleted_at'] as String),
      act: json['act'] as int?,
    );

Map<String, dynamic> _$InventarizationResponseToJson(
        InventarizationResponse instance) =>
    <String, dynamic>{
      'id': instance.id,
      'app_company_id': instance.appCompanyId,
      'inventory_date': instance.inventoryDate.toIso8601String(),
      'doc_number': instance.docNumber,
      'mol_user_id': instance.molUserId,
      'act': instance.act,
      'ref_invoice_status': instance.refInvoiceStatus,
      'created_at': instance.createdAt.toIso8601String(),
      'updated_at': instance.updatedAt.toIso8601String(),
      'deleted_at': instance.deletedAt?.toIso8601String(),
    };
