// import 'package:hive/hive.dart';

// part 'InspectionManualResponse.g.dart';

// class InspectionManualResponseOld {
//   List address;

//   InspectionManualResponseOld({required this.address});

//   factory InspectionManualResponseOld.fromJson(Map<String, dynamic> json) {
//     return InspectionManualResponseOld(
//       address: json['address'] == null
//           ? []
//           : (json['address'] as List).map((e) => Address.fromJson(e)).toList(),
//     );
//   }

//   Map<String, dynamic> toJson() {
//     final Map<String, dynamic> data = new Map<String, dynamic>();
//     data['address'] = this.address.map((v) => v.toJson()).toList();
//     return data;
//   }
// }

// @HiveType(typeId: 1)
// class Address {
//   @HiveField(0)
//   String name;
//   @HiveField(1)
//   String additionalInfoOz;
//   @HiveField(2)
//   String additionalInfoUz;
//   @HiveField(3)
//   String additionalInfoRu;
//   @HiveField(4)
//   String regionUz;
//   @HiveField(5)
//   String regionOz;
//   @HiveField(6)
//   String regionRu;
//   @HiveField(7)
//   String districtUz;
//   @HiveField(8)
//   String districtOz;
//   @HiveField(9)
//   String districtRu;
//   @HiveField(10)
//   String address;
//   @HiveField(11)
//   String phone;
//   @HiveField(12)
//   String phone1;
//   @HiveField(13)
//   String geolocatoin;
//   @HiveField(14)
//   String workingDays;
//   @HiveField(15)
//   String workingHours;
//   @HiveField(16)
//   String serviceType;
//   @HiveField(17)
//   String dinner;
//   @HiveField(18)
//   String comment;
//   @HiveField(19)
//   String type;
//   @HiveField(20)
//   String disctrictUz;
//   @HiveField(21)
//   String disctrictOz;
//   @HiveField(22)
//   String disctrictRu;
//   @HiveField(23)
//   String serviceProvinceUz;
//   @HiveField(24)
//   String serviceProvinceOz;
//   @HiveField(25)
//   String serviceProvinceRu;
//   @HiveField(26)
//   String addressUz;
//   @HiveField(27)
//   String addressOz;
//   @HiveField(28)
//   String addressRu;

//   Address({
//     required this.name,
//     required this.additionalInfoOz,
//     required this.additionalInfoUz,
//     required this.additionalInfoRu,
//     required this.regionUz,
//     required this.regionOz,
//     required this.regionRu,
//     required this.districtUz,
//     required this.districtOz,
//     required this.districtRu,
//     required this.address,
//     required this.phone,
//     required this.phone1,
//     required this.geolocatoin,
//     required this.workingDays,
//     required this.workingHours,
//     required this.serviceType,
//     required this.dinner,
//     required this.comment,
//     required this.type,
//     required this.disctrictUz,
//     required this.disctrictOz,
//     required this.disctrictRu,
//     required this.serviceProvinceUz,
//     required this.serviceProvinceOz,
//     required this.serviceProvinceRu,
//     required this.addressUz,
//     required this.addressOz,
//     required this.addressRu,
//   });

//   factory Address.fromJson(Map<String, dynamic> json) {
//     return Address(
//       name: json['name'],
//       additionalInfoOz: json['additional_info_oz'],
//       additionalInfoUz: json['additional_info_uz'],
//       additionalInfoRu: json['additional_info_ru'],
//       regionUz: json['region_uz'],
//       regionOz: json['region_oz'],
//       regionRu: json['region_ru'],
//       districtUz: json['district _uz'],
//       districtOz: json['district _oz'],
//       districtRu: json['district _ru'],
//       address: json['address'],
//       phone: json['phone'],
//       phone1: json['phone1'],
//       geolocatoin: json['geolocatoin'],
//       workingDays: json['working_days'],
//       workingHours: json['working_hours'],
//       serviceType: json['service_type'],
//       dinner: json['dinner'],
//       comment: json['comment'],
//       type: json['type'],
//       disctrictUz: json['disctrict_uz'],
//       disctrictOz: json['disctrict_oz'],
//       disctrictRu: json['disctrict_ru'],
//       serviceProvinceUz: json['service_province_uz'],
//       serviceProvinceOz: json['service_province_oz'],
//       serviceProvinceRu: json['service_province_ru'],
//       addressUz: json['address_uz'],
//       addressOz: json['address_oz'],
//       addressRu: json['address_ru'],
//     );
//   }

//   Map<String, dynamic> toJson() {
//     final Map<String, dynamic> data = new Map<String, dynamic>();
//     data['name'] = this.name;
//     data['additional_info_oz'] = this.additionalInfoOz;
//     data['additional_info_uz'] = this.additionalInfoUz;
//     data['additional_info_ru'] = this.additionalInfoRu;
//     data['region_uz'] = this.regionUz;
//     data['region_oz'] = this.regionOz;
//     data['region_ru'] = this.regionRu;
//     data['district _uz'] = this.districtUz;
//     data['district _oz'] = this.districtOz;
//     data['district _ru'] = this.districtRu;
//     data['address'] = this.address;
//     data['phone'] = this.phone;
//     data['phone1'] = this.phone1;
//     data['geolocatoin'] = this.geolocatoin;
//     data['working_days'] = this.workingDays;
//     data['working_hours'] = this.workingHours;
//     data['service_type'] = this.serviceType;
//     data['dinner'] = this.dinner;
//     data['comment'] = this.comment;
//     data['type'] = this.type;
//     data['disctrict_uz'] = this.disctrictUz;
//     data['disctrict_oz'] = this.disctrictOz;
//     data['disctrict_ru'] = this.disctrictRu;
//     data['service_province_uz'] = this.serviceProvinceUz;
//     data['service_province_oz'] = this.serviceProvinceOz;
//     data['service_province_ru'] = this.serviceProvinceRu;
//     data['address_uz'] = this.addressUz;
//     data['address_oz'] = this.addressOz;
//     data['address_ru'] = this.addressRu;
//     return data;
//   }
// }
