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.
46 lines
1.6 KiB
46 lines
1.6 KiB
4 years ago
|
// GENERATED CODE - DO NOT MODIFY BY HAND
|
||
|
|
||
|
part of 'exchange_order.dart';
|
||
|
|
||
|
// **************************************************************************
|
||
|
// JsonSerializableGenerator
|
||
|
// **************************************************************************
|
||
|
|
||
|
ExchangeOrder _$ExchangeOrderFromJson(Map<String, dynamic> json) {
|
||
|
return 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
|
||
|
..state = json['state'] as int
|
||
|
..useTyped = json['useTyped'] as int
|
||
|
..isDelete = json['isDelete'] as int
|
||
|
..creditOrderDetailList = (json['creditOrderDetailList'] as List)
|
||
|
?.map((e) => e == null
|
||
|
? null
|
||
|
: 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,
|
||
|
'state': instance.state,
|
||
|
'useTyped': instance.useTyped,
|
||
|
'isDelete': instance.isDelete,
|
||
|
'creditOrderDetailList': instance.creditOrderDetailList,
|
||
|
};
|