// GENERATED CODE - DO NOT MODIFY BY HAND part of 'down_order.dart'; // ************************************************************************** // JsonSerializableGenerator // ************************************************************************** DownOrder _$DownOrderFromJson(Map json) => DownOrder( id: json['id'] as String?, orderCode: json['orderCode'] as String?, storeId: json['storeId'], storeName: json['storeName'], orderStatus: json['orderStatus'], returnType: json['returnType'], shipperCode: json['shipperCode'], logisticsNum: json['logisticsNum'], orderSum: json['orderSum'] as String?, accountPay: json['accountPay'], discountAmount: json['discountAmount'], postFee: json['postFee'], paySum: json['paySum'], overTime: json['overTime'], orderProductVOList: (json['orderProductVOList'] as List?) ?.map((e) => OrderProductVO.fromJson(e as Map)) .toList(), moneyReturnList: json['moneyReturnList'], goodsReturnList: json['goodsReturnList'], tablePrice: json['tablePrice'], parentCode: json['parentCode'], parentId: json['parentId'] as String?, peopleNum: json['peopleNum'], orderSource: (json['orderSource'] as num?)?.toInt(), ); Map _$DownOrderToJson(DownOrder instance) => { 'id': instance.id, 'orderCode': instance.orderCode, 'storeId': instance.storeId, 'storeName': instance.storeName, 'orderStatus': instance.orderStatus, 'returnType': instance.returnType, 'shipperCode': instance.shipperCode, 'logisticsNum': instance.logisticsNum, 'orderSum': instance.orderSum, 'accountPay': instance.accountPay, 'discountAmount': instance.discountAmount, 'postFee': instance.postFee, 'paySum': instance.paySum, 'overTime': instance.overTime, 'orderProductVOList': instance.orderProductVOList?.map((e) => e.toJson()).toList(), 'moneyReturnList': instance.moneyReturnList, 'goodsReturnList': instance.goodsReturnList, 'tablePrice': instance.tablePrice, 'parentCode': instance.parentCode, 'parentId': instance.parentId, 'peopleNum': instance.peopleNum, 'orderSource': instance.orderSource, };