// GENERATED CODE - DO NOT MODIFY BY HAND part of 'dat_count.dart'; // ************************************************************************** // JsonSerializableGenerator // ************************************************************************** DatCount _$DatCountFromJson(Map json) => DatCount() ..summaryDate = json['summaryDate'] as String? ..dayMoney = json['dayMoney'] as String? ..discountSum = json['discountSum'] as String? ..paySum = json['paySum'] as String? ..rechargeMoney = json['rechargeMoney'] as String? ..refundMoney = json['refundMoney'] as String? ..orderNum = (json['orderNum'] as num?)?.toInt() ..rechargeOrderNum = (json['rechargeOrderNum'] as num?)?.toInt() ..refundOrderNum = (json['refundOrderNum'] as num?)?.toInt() ..payOrderNum = (json['payOrderNum'] as num?)?.toInt() ..discountOrderNum = (json['discountOrderNum'] as num?)?.toInt() ..startDate = json['startDate'] ..endDate = json['endDate'] ..tablePerConsumption = json['tablePerConsumption'] ..numberOfPeople = (json['numberOfPeople'] as num?)?.toInt() ..peoplePerConsumption = json['peoplePerConsumption'] as String? ..realDiscountPer = json['realDiscountPer'] ..tableRate = json['tableRate']; Map _$DatCountToJson(DatCount instance) => { 'summaryDate': instance.summaryDate, 'dayMoney': instance.dayMoney, 'discountSum': instance.discountSum, 'paySum': instance.paySum, 'rechargeMoney': instance.rechargeMoney, 'refundMoney': instance.refundMoney, 'orderNum': instance.orderNum, 'rechargeOrderNum': instance.rechargeOrderNum, 'refundOrderNum': instance.refundOrderNum, 'payOrderNum': instance.payOrderNum, 'discountOrderNum': instance.discountOrderNum, 'startDate': instance.startDate, 'endDate': instance.endDate, 'tablePerConsumption': instance.tablePerConsumption, 'numberOfPeople': instance.numberOfPeople, 'peoplePerConsumption': instance.peoplePerConsumption, 'realDiscountPer': instance.realDiscountPer, 'tableRate': instance.tableRate, };