// GENERATED CODE - DO NOT MODIFY BY HAND

part of 'discount_update.dart';

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

DiscountUpdateDTO _$DiscountUpdateDTOFromJson(Map<String, dynamic> json) =>
    DiscountUpdateDTO(
      note: json['note'] as String?,
      deliveryId: json['delivery_id'] as String,
      discount: (json['discount'] as num?)?.toInt(),
    );

Map<String, dynamic> _$DiscountUpdateDTOToJson(DiscountUpdateDTO instance) =>
    <String, dynamic>{
      'note': instance.note,
      'delivery_id': instance.deliveryId,
      'discount': instance.discount,
    };
