// GENERATED CODE - DO NOT MODIFY BY HAND

part of 'new.model.dart';

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

New _$NewFromJson(Map<String, dynamic> json) {
  return New()
    ..id = json['id'] as int
    ..company_id = json['company_id'] as int
    ..box_id = json['box_id'] as int
    ..title = json['title'] as String
    ..description = json['description'] as String
    ..created_at = json['created_at'] == null
        ? null
        : DateTime.parse(json['created_at'] as String)
    ..updated_at = json['updated_at'] == null
        ? null
        : DateTime.parse(json['updated_at'] as String)
    ..box = json['box'] == null
        ? null
        : Box.fromJson(json['box'] as Map<String, dynamic>);
}

Map<String, dynamic> _$NewToJson(New instance) => <String, dynamic>{
      'id': instance.id,
      'company_id': instance.company_id,
      'box_id': instance.box_id,
      'title': instance.title,
      'description': instance.description,
      'created_at': instance.created_at?.toIso8601String(),
      'updated_at': instance.updated_at?.toIso8601String(),
      'box': instance.box,
    };
