// GENERATED CODE - DO NOT MODIFY BY HAND

part of 'discount_add.dart';

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

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

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