// GENERATED CODE - DO NOT MODIFY BY HAND

part of 'license_query_dto.dart';

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

_$LicensePaginationQueryImpl _$$LicensePaginationQueryImplFromJson(
        Map<String, dynamic> json) =>
    _$LicensePaginationQueryImpl(
      page: (json['page'] as num?)?.toInt() ?? 1,
      limit: (json['limit'] as num?)?.toInt() ?? 20,
      sort: json['sort'] as String? ?? 'expiry_date',
      order: json['order'] as String? ?? 'asc',
      companyId: json['company_id'] as String?,
      userId: json['user_id'] as String?,
      licenseType: json['license_type'] as String?,
      status: json['status'] as String?,
      search: json['search'] as String?,
    );

Map<String, dynamic> _$$LicensePaginationQueryImplToJson(
        _$LicensePaginationQueryImpl instance) =>
    <String, dynamic>{
      'page': instance.page,
      'limit': instance.limit,
      'sort': instance.sort,
      'order': instance.order,
      'company_id': instance.companyId,
      'user_id': instance.userId,
      'license_type': instance.licenseType,
      'status': instance.status,
      'search': instance.search,
    };

_$ExpiringLicensesQueryImpl _$$ExpiringLicensesQueryImplFromJson(
        Map<String, dynamic> json) =>
    _$ExpiringLicensesQueryImpl(
      days: (json['days'] as num?)?.toInt() ?? 30,
    );

Map<String, dynamic> _$$ExpiringLicensesQueryImplToJson(
        _$ExpiringLicensesQueryImpl instance) =>
    <String, dynamic>{
      'days': instance.days,
    };
