// GENERATED CODE - DO NOT MODIFY BY HAND

part of 'orderData.dart';

// **************************************************************************
// JsonSerializableGenerator
// **************************************************************************

OrderData _$OrderDataFromJson(Map<String, dynamic> json) {
  return OrderData()
    ..add_time = json['add_time'] as num
    ..seckill_id = json['seckill_id'] as num
    ..bargain_id = json['bargain_id'] as num
    ..combination_id = json['combination_id'] as num
    ..id = json['id'] as num
    ..order_id = json['order_id'] as String
    ..pay_price = json['pay_price'] as String
    ..total_num = json['total_num'] as num
    ..total_price = json['total_price'] as String
    ..pay_postage = json['pay_postage'] as String
    ..total_postage = json['total_postage'] as String
    ..paid = json['paid'] as num
    ..status = json['status'] as num
    ..refund_status = json['refund_status'] as num
    ..pay_type = json['pay_type'] as String
    ..coupon_price = json['coupon_price'] as String
    ..deduction_price = json['deduction_price'] as String
    ..pink_id = json['pink_id'] as num
    ..delivery_type = json['delivery_type']
    ..is_del = json['is_del'] as num
    ..shipping_type = json['shipping_type'] as num
    ..cartInfo = (json['cartInfo'] as List)
        ?.map((e) =>
            e == null ? null : CartInfo.fromJson(e as Map<String, dynamic>))
        ?.toList()
    ..orderStatus = json['_status'] == null
        ? null
        : OrderStatus.fromJson(json['_status'] as Map<String, dynamic>)
    ..status_pic = json['status_pic'] as String
    ..offlinePayStatus = json['offlinePayStatus'] as num;
}

Map<String, dynamic> _$OrderDataToJson(OrderData instance) => <String, dynamic>{
      'add_time': instance.add_time,
      'seckill_id': instance.seckill_id,
      'bargain_id': instance.bargain_id,
      'combination_id': instance.combination_id,
      'id': instance.id,
      'order_id': instance.order_id,
      'pay_price': instance.pay_price,
      'total_num': instance.total_num,
      'total_price': instance.total_price,
      'pay_postage': instance.pay_postage,
      'total_postage': instance.total_postage,
      'paid': instance.paid,
      'status': instance.status,
      'refund_status': instance.refund_status,
      'pay_type': instance.pay_type,
      'coupon_price': instance.coupon_price,
      'deduction_price': instance.deduction_price,
      'pink_id': instance.pink_id,
      'delivery_type': instance.delivery_type,
      'is_del': instance.is_del,
      'shipping_type': instance.shipping_type,
      'cartInfo': instance.cartInfo,
      '_status': instance.orderStatus,
      'status_pic': instance.status_pic,
      'offlinePayStatus': instance.offlinePayStatus
    };
