// GENERATED CODE - DO NOT MODIFY BY HAND part of 'coupon_detail.dart'; // ************************************************************************** // JsonSerializableGenerator // ************************************************************************** CouponDetail _$CouponDetailFromJson(Map json) => CouponDetail() ..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? ..mid = json['mid'] as String? ..couponId = json['couponId'] as String? ..receiveTime = json['receiveTime'] as String? ..useTime = json['useTime'] ..useTimeStart = json['useTimeStart'] as String? ..useTimeEnd = json['useTimeEnd'] as String? ..status = (json['status'] as num?)?.toInt() ..isDeleted = json['isDeleted'] as bool? ..tenantCode = json['tenantCode'] as String? ..couponCode = json['couponCode'] as String?; Map _$CouponDetailToJson(CouponDetail instance) => { 'id': instance.id, 'createTime': instance.createTime, 'createUser': instance.createUser, 'updateTime': instance.updateTime, 'updateUser': instance.updateUser, 'mid': instance.mid, 'couponId': instance.couponId, 'receiveTime': instance.receiveTime, 'useTime': instance.useTime, 'useTimeStart': instance.useTimeStart, 'useTimeEnd': instance.useTimeEnd, 'status': instance.status, 'isDeleted': instance.isDeleted, 'tenantCode': instance.tenantCode, 'couponCode': instance.couponCode, };