// GENERATED CODE - DO NOT MODIFY BY HAND

part of 'get_product_list_req_model.dart';

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

GetProductListReqModel _$GetProductListReqModelFromJson(
        Map<String, dynamic> json) =>
    GetProductListReqModel(
      search: json['search_name'] as String? ?? '',
      sort: json['sort'] as String? ?? '',
      sort_key: json['sort_key'] as String? ?? '',
      limit: json['limit'] as int? ?? 20,
      page: json['page'] as int? ?? 1,
      intellectualType: json['intellectual_type'] as String?,
      category: json['category'] as String?,
      priceFrom: json['price_from'] as String? ?? "0",
      priceTo: json['price_to'] as String? ?? "99999999",
      type: json['type'] as String? ?? '',
    );

Map<String, dynamic> _$GetProductListReqModelToJson(
        GetProductListReqModel instance) =>
    <String, dynamic>{
      'search_name': instance.search,
      'sort': instance.sort,
      'sort_key': instance.sort_key,
      'limit': instance.limit,
      'page': instance.page,
      'intellectual_type': instance.intellectualType,
      'category': instance.category,
      'price_from': instance.priceFrom,
      'price_to': instance.priceTo,
      'type': instance.type,
    };
