You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

61 lines
2.3 KiB

// GENERATED CODE - DO NOT MODIFY BY HAND
part of 'down_order.dart';
// **************************************************************************
// JsonSerializableGenerator
// **************************************************************************
DownOrder _$DownOrderFromJson(Map<String, dynamic> 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<dynamic>?)
?.map((e) => OrderProductVO.fromJson(e as Map<String, dynamic>))
.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<String, dynamic> _$DownOrderToJson(DownOrder instance) => <String, dynamic>{
'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,
};