// GENERATED CODE - DO NOT MODIFY BY HAND

part of 'repair_info_controller.dart';

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

RepairInfoModel _$RepairInfoModelFromJson(Map<String, dynamic> json) =>
    RepairInfoModel()
      ..id = json['id'] as String?
      ..create_time = json['create_time'] == null
          ? null
          : DateTime.parse(json['create_time'] as String)
      ..status = json['status'] as String?
      ..desc = json['desc'] as String?
      ..record_id = (json['record_id'] as num?)?.toInt()
      ..repairProcessList = (json['repairProcessList'] as List<dynamic>)
          .map((e) => RepairProcessModel.fromJson(e as Map<String, dynamic>))
          .toList()
      ..device_name = json['device_name'] as String?
      ..applyRepairModel = json['applyRepairModel'] == null
          ? null
          : ApplyRepairModel.fromJson(
              json['applyRepairModel'] as Map<String, dynamic>);

Map<String, dynamic> _$RepairInfoModelToJson(RepairInfoModel instance) =>
    <String, dynamic>{
      'id': instance.id,
      'create_time': instance.create_time?.toIso8601String(),
      'status': instance.status,
      'desc': instance.desc,
      'record_id': instance.record_id,
      'repairProcessList': instance.repairProcessList,
      'device_name': instance.device_name,
      'applyRepairModel': instance.applyRepairModel,
    };
