// GENERATED CODE - DO NOT MODIFY BY HAND part of 'single_sales.dart'; // ************************************************************************** // JsonSerializableGenerator // ************************************************************************** SingleSales _$SingleSalesFromJson(Map json) => SingleSales() ..productId = json['productId'] ..saleNum = (json['saleNum'] as num?)?.toInt() ..productName = json['productName'] as String? ..productType = json['productType'] ..productGroupName = json['productGroupName'] as String? ..sumPrice = json['sumPrice'] as String? ..sellPrict = json['sellPrict'] as String? ..productSkuName = json['productSkuName'] as String? ..productSkuList = json['productSkuList'] ..platterLsit = json['platterLsit'] ..giveNum = (json['giveNum'] as num?)?.toInt() ..refundNum = (json['refundNum'] as num?)?.toInt() ..productCountPercent = (json['productCountPercent'] as num?)?.toDouble() ..productSellPricePercent = (json['productSellPricePercent'] as num?)?.toDouble(); Map _$SingleSalesToJson(SingleSales instance) => { 'productId': instance.productId, 'saleNum': instance.saleNum, 'productName': instance.productName, 'productType': instance.productType, 'productGroupName': instance.productGroupName, 'sumPrice': instance.sumPrice, 'sellPrict': instance.sellPrict, 'productSkuName': instance.productSkuName, 'productSkuList': instance.productSkuList, 'platterLsit': instance.platterLsit, 'giveNum': instance.giveNum, 'refundNum': instance.refundNum, 'productCountPercent': instance.productCountPercent, 'productSellPricePercent': instance.productSellPricePercent, };