// GENERATED CODE - DO NOT MODIFY BY HAND

part of 'license_expiry_summary.dart';

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

_$LicenseExpirySummaryImpl _$$LicenseExpirySummaryImplFromJson(
        Map<String, dynamic> json) =>
    _$LicenseExpirySummaryImpl(
      expired: (json['expired'] as num?)?.toInt() ?? 0,
      expiring7Days: (json['expiring_7_days'] as num?)?.toInt() ?? 0,
      expiring30Days: (json['expiring_30_days'] as num?)?.toInt() ?? 0,
      expiring90Days: (json['expiring_90_days'] as num?)?.toInt() ?? 0,
      active: (json['active'] as num?)?.toInt() ?? 0,
    );

Map<String, dynamic> _$$LicenseExpirySummaryImplToJson(
        _$LicenseExpirySummaryImpl instance) =>
    <String, dynamic>{
      'expired': instance.expired,
      'expiring_7_days': instance.expiring7Days,
      'expiring_30_days': instance.expiring30Days,
      'expiring_90_days': instance.expiring90Days,
      'active': instance.active,
    };

_$LicenseExpiryDetailImpl _$$LicenseExpiryDetailImplFromJson(
        Map<String, dynamic> json) =>
    _$LicenseExpiryDetailImpl(
      id: (json['id'] as num).toInt(),
      equipmentId: (json['equipment_id'] as num).toInt(),
      equipmentName: json['equipment_name'] as String,
      serialNumber: json['serial_number'] as String,
      companyName: json['company_name'] as String,
      licenseType: json['license_type'] as String,
      startDate: json['start_date'] as String,
      endDate: json['end_date'] as String,
      daysRemaining: (json['days_remaining'] as num).toInt(),
      isExpired: json['is_expired'] as bool,
    );

Map<String, dynamic> _$$LicenseExpiryDetailImplToJson(
        _$LicenseExpiryDetailImpl instance) =>
    <String, dynamic>{
      'id': instance.id,
      'equipment_id': instance.equipmentId,
      'equipment_name': instance.equipmentName,
      'serial_number': instance.serialNumber,
      'company_name': instance.companyName,
      'license_type': instance.licenseType,
      'start_date': instance.startDate,
      'end_date': instance.endDate,
      'days_remaining': instance.daysRemaining,
      'is_expired': instance.isExpired,
    };
