// GENERATED CODE - DO NOT MODIFY BY HAND

part of 'apply_repair_controller.dart';

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

ApplyRepairModel _$ApplyRepairModelFromJson(Map<String, dynamic> json) =>
    ApplyRepairModel()
      ..id = (json['id'] as num?)?.toInt()
      ..apply_name = json['apply_name'] as String?
      ..tel = json['tel'] as String?
      ..desc = json['desc'] as String?
      ..create_time = json['create_time'] == null
          ? null
          : DateTime.parse(json['create_time'] as String)
      ..device_type = (json['device_type'] as num?)?.toInt()
      ..device_category = json['device_category'] as String?
      ..device_id = json['device_id'] as String?
      ..device_name = json['device_name'] as String?
      ..issue_img = (json['issue_img'] as List<dynamic>?)
          ?.map((e) => e as String)
          .toList()
      ..imagesLImit = (json['imagesLImit'] as num?)?.toInt()
      ..img_bucket = json['img_bucket'] as String?
      ..status = json['status'] as String?
      ..select_device = json['select_device'] as String?
      ..device_list = json['device_list'] as List<dynamic>?
      ..score = (json['score'] as num?)?.toInt()
      ..score_time = json['score_time'] == null
          ? null
          : DateTime.parse(json['score_time'] as String)
      ..messageType = (json['messageType'] as num?)?.toInt()
      ..repairId = (json['repairId'] as num?)?.toInt();

Map<String, dynamic> _$ApplyRepairModelToJson(ApplyRepairModel instance) =>
    <String, dynamic>{
      'id': instance.id,
      'apply_name': instance.apply_name,
      'tel': instance.tel,
      'desc': instance.desc,
      'create_time': instance.create_time?.toIso8601String(),
      'device_type': instance.device_type,
      'device_category': instance.device_category,
      'device_id': instance.device_id,
      'device_name': instance.device_name,
      'issue_img': instance.issue_img,
      'imagesLImit': instance.imagesLImit,
      'img_bucket': instance.img_bucket,
      'status': instance.status,
      'select_device': instance.select_device,
      'device_list': instance.device_list,
      'score': instance.score,
      'score_time': instance.score_time?.toIso8601String(),
      'messageType': instance.messageType,
      'repairId': instance.repairId,
    };
