// GENERATED CODE - DO NOT MODIFY BY HAND

part of 'pay_summary.dart';

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

PaySummaryModel _$PaySummaryModelFromJson(Map<String, dynamic> json) {
  return PaySummaryModel(
    totalBillFee: json['totalBillFee'] as num?,
    totalPrePayFee: json['totalPrePayFee'] as num?,
    totalDepositeFee: json['totalDepositeFee'] as num?,
    bill: (json['bill'] as List<dynamic>?)
        ?.map((e) => PayItem.fromJson(e as Map<String, dynamic>))
        .toList(),
    prePay: (json['prePay'] as List<dynamic>?)
        ?.map((e) => PayItem.fromJson(e as Map<String, dynamic>))
        .toList(),
    deposite: (json['deposite'] as List<dynamic>?)
        ?.map((e) => PayItem.fromJson(e as Map<String, dynamic>))
        .toList(),
    billPayWayCount: (json['billPayWayCount'] as List<dynamic>?)
        ?.map((e) => PayCount.fromJson(e as Map<String, dynamic>))
        .toList(),
  );
}

Map<String, dynamic> _$PaySummaryModelToJson(PaySummaryModel instance) =>
    <String, dynamic>{
      'totalBillFee': instance.totalBillFee,
      'totalPrePayFee': instance.totalPrePayFee,
      'totalDepositeFee': instance.totalDepositeFee,
      'bill': instance.bill,
      'prePay': instance.prePay,
      'deposite': instance.deposite,
      'billPayWayCount': instance.billPayWayCount,
    };

PayItem _$PayItemFromJson(Map<String, dynamic> json) {
  return PayItem(
    name: json['name'] as String?,
    fee: json['fee'] as num?,
  );
}

Map<String, dynamic> _$PayItemToJson(PayItem instance) => <String, dynamic>{
      'name': instance.name,
      'fee': instance.fee,
    };

PayCount _$PayCountFromJson(Map<String, dynamic> json) {
  return PayCount(
    payWay: json['payWay'],
    payFee: json['payFee'] as num?,
    feeRate: json['feeRate'] as num?,
  );
}

Map<String, dynamic> _$PayCountToJson(PayCount instance) => <String, dynamic>{
      'payWay': instance.payWay,
      'payFee': instance.payFee,
      'feeRate': instance.feeRate,
    };
