// GENERATED CODE - DO NOT MODIFY BY HAND

part of 'verify_register_model.dart';

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

VerifyRegisteredPackageModel _$VerifyRegisteredPackageModelFromJson(
  Map<String, dynamic> json,
) => VerifyRegisteredPackageModel(
  registed: json['registed'] as bool?,
  createTime: json['create_time'] as String?,
  expireTime: json['expire_time'] as String?,
  description: json['description'] as String?,
);

Map<String, dynamic> _$VerifyRegisteredPackageModelToJson(
  VerifyRegisteredPackageModel instance,
) => <String, dynamic>{
  'registed': instance.registed,
  'create_time': instance.createTime,
  'expire_time': instance.expireTime,
  'description': instance.description,
};

VerifyRegisterCampaignAlertModel _$VerifyRegisterCampaignAlertModelFromJson(
  Map<String, dynamic> json,
) => VerifyRegisterCampaignAlertModel(
  alert: json['alert'] as bool?,
  description: json['description'] as String?,
);

Map<String, dynamic> _$VerifyRegisterCampaignAlertModelToJson(
  VerifyRegisterCampaignAlertModel instance,
) => <String, dynamic>{
  'alert': instance.alert,
  'description': instance.description,
};

VerifyRegisterCampaignModel _$VerifyRegisterCampaignModelFromJson(
  Map<String, dynamic> json,
) => VerifyRegisterCampaignModel(
  valid: json['valid'] as bool?,
  fullName: json['full_name'] as String?,
  phoneNumber: json['phone_number'] as String?,
  licensePlate: json['license_plate'] as String?,
  registeredPackage:
      json['registed_package'] == null
          ? null
          : VerifyRegisteredPackageModel.fromJson(
            json['registed_package'] as Map<String, dynamic>,
          ),
  alert:
      json['alert'] == null
          ? null
          : VerifyRegisterCampaignAlertModel.fromJson(
            json['alert'] as Map<String, dynamic>,
          ),
);

Map<String, dynamic> _$VerifyRegisterCampaignModelToJson(
  VerifyRegisterCampaignModel instance,
) => <String, dynamic>{
  'valid': instance.valid,
  'full_name': instance.fullName,
  'phone_number': instance.phoneNumber,
  'license_plate': instance.licensePlate,
  'registed_package': instance.registeredPackage?.toJson(),
  'alert': instance.alert?.toJson(),
};
