// GENERATED CODE - DO NOT MODIFY BY HAND

part of 'orderDetails.dart';

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

OrderDetails _$OrderDetailsFromJson(Map<String, dynamic> json) {
  return OrderDetails()
    ..id = json['id'] as num
    ..order_id = json['order_id'] as String
    ..uid = json['uid'] as num
    ..real_name = json['real_name'] as String
    ..user_phone = json['user_phone'] as String
    ..user_address = json['user_address'] as String
    ..cart_id = json['cart_id'] as List
    ..freight_price = json['freight_price'] as String
    ..total_num = json['total_num'] as num
    ..total_price = json['total_price'] as String
    ..total_postage = json['total_postage'] as String
    ..pay_price = json['pay_price'] as String
    ..pay_postage = json['pay_postage'] as String
    ..deduction_price = json['deduction_price'] as String
    ..coupon_id = json['coupon_id'] as num
    ..coupon_price = json['coupon_price'] as String
    ..paid = json['paid'] as num
    ..pay_time = json['pay_time'] as num
    ..pay_type = json['pay_type'] as String
    ..add_time = json['add_time'] as num
    ..status = json['status'] as num
    ..refund_status = json['refund_status'] as num
    ..refund_price = json['refund_price'] as String
    ..gain_integral = json['gain_integral'] as String
    ..use_integral = json['use_integral'] as String
    ..back_integral = json['back_integral'] as num
    ..mark = json['mark'] as String
    ..is_del = json['is_del'] as num
    ..unique = json['unique'] as String
    ..mer_id = json['mer_id'] as num
    ..is_mer_check = json['is_mer_check'] as num
    ..combination_id = json['combination_id'] as num
    ..pink_id = json['pink_id'] as num
    ..cost = json['cost'] as String
    ..seckill_id = json['seckill_id'] as num
    ..bargain_id = json['bargain_id'] as num
    ..verify_code = json['verify_code'] as String
    ..store_id = json['store_id'] as num
    ..shipping_type = json['shipping_type'] as num
    ..clerk_id = json['clerk_id'] as num
    ..is_channel = json['is_channel'] as num
    ..is_remind = json['is_remind'] as num
    ..is_system_del = json['is_system_del'] as num
    ..is_rebate = json['is_rebate'] as num
    ..add_time_y = json['add_time_y'] as String
    ..add_time_h = json['add_time_h'] as String
    ..mapKey = json['mapKey'] as String
    ..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>)
    ..payTime = json['_pay_time'] as String
    ..addTime = json['_add_time'] as String
    ..status_pic = json['status_pic'] as String
    ..offlinePayStatus = json['offlinePayStatus'] as num;
}

Map<String, dynamic> _$OrderDetailsToJson(OrderDetails instance) =>
    <String, dynamic>{
      'id': instance.id,
      'order_id': instance.order_id,
      'uid': instance.uid,
      'real_name': instance.real_name,
      'user_phone': instance.user_phone,
      'user_address': instance.user_address,
      'cart_id': instance.cart_id,
      'freight_price': instance.freight_price,
      'total_num': instance.total_num,
      'total_price': instance.total_price,
      'total_postage': instance.total_postage,
      'pay_price': instance.pay_price,
      'pay_postage': instance.pay_postage,
      'deduction_price': instance.deduction_price,
      'coupon_id': instance.coupon_id,
      'coupon_price': instance.coupon_price,
      'paid': instance.paid,
      'pay_time': instance.pay_time,
      'pay_type': instance.pay_type,
      'add_time': instance.add_time,
      'status': instance.status,
      'refund_status': instance.refund_status,
      'refund_price': instance.refund_price,
      'gain_integral': instance.gain_integral,
      'use_integral': instance.use_integral,
      'back_integral': instance.back_integral,
      'mark': instance.mark,
      'is_del': instance.is_del,
      'unique': instance.unique,
      'mer_id': instance.mer_id,
      'is_mer_check': instance.is_mer_check,
      'combination_id': instance.combination_id,
      'pink_id': instance.pink_id,
      'cost': instance.cost,
      'seckill_id': instance.seckill_id,
      'bargain_id': instance.bargain_id,
      'verify_code': instance.verify_code,
      'store_id': instance.store_id,
      'shipping_type': instance.shipping_type,
      'clerk_id': instance.clerk_id,
      'is_channel': instance.is_channel,
      'is_remind': instance.is_remind,
      'is_system_del': instance.is_system_del,
      'is_rebate': instance.is_rebate,
      'add_time_y': instance.add_time_y,
      'add_time_h': instance.add_time_h,
      'mapKey': instance.mapKey,
      'cartInfo': instance.cartInfo,
      '_status': instance.orderStatus,
      '_pay_time': instance.payTime,
      '_add_time': instance.addTime,
      'status_pic': instance.status_pic,
      'offlinePayStatus': instance.offlinePayStatus
    };
