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.
 
 
 
 
 
 

58 lines
2.3 KiB

// GENERATED CODE - DO NOT MODIFY BY HAND
part of 'exchange_order.dart';
// **************************************************************************
// JsonSerializableGenerator
// **************************************************************************
ExchangeOrder _$ExchangeOrderFromJson(Map<String, dynamic> json) =>
ExchangeOrder()
..id = json['id'] as String?
..createTime = json['createTime'] as String?
..createUser = json['createUser'] as String?
..updateTime = json['updateTime'] as String?
..updateUser = json['updateUser'] as String?
..storeId = json['storeId'] as String?
..mid = json['mid'] as String?
..orderCode = json['orderCode'] as String?
..amount = json['amount'] as String?
..money = json['money'] as String?
..payStatus = (json['payStatus'] as num?)?.toInt()
..payType = (json['payType'] as num?)?.toInt()
..sendStatus = (json['sendStatus'] as num?)?.toInt()
..address = json['address'] as String?
..storeName = json['storeName'] as String?
..recAddress = json['recAddress'] as String?
..state = (json['state'] as num?)?.toInt()
..useTyped = (json['useTyped'] as num?)?.toInt()
..isDelete = (json['isDelete'] as num?)?.toInt()
..creditOrderDetailList = (json['creditOrderDetailList']
as List<dynamic>?)
?.map((e) => ExchangeOrderGoods.fromJson(e as Map<String, dynamic>))
.toList();
Map<String, dynamic> _$ExchangeOrderToJson(ExchangeOrder instance) =>
<String, dynamic>{
'id': instance.id,
'createTime': instance.createTime,
'createUser': instance.createUser,
'updateTime': instance.updateTime,
'updateUser': instance.updateUser,
'storeId': instance.storeId,
'mid': instance.mid,
'orderCode': instance.orderCode,
'amount': instance.amount,
'money': instance.money,
'payStatus': instance.payStatus,
'payType': instance.payType,
'sendStatus': instance.sendStatus,
'address': instance.address,
'storeName': instance.storeName,
'recAddress': instance.recAddress,
'state': instance.state,
'useTyped': instance.useTyped,
'isDelete': instance.isDelete,
'creditOrderDetailList':
instance.creditOrderDetailList?.map((e) => e.toJson()).toList(),
};