// GENERATED CODE - DO NOT MODIFY BY HAND

part of 'type_reference_model.dart';

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

TypeReferenceModel _$TypeReferenceModelFromJson(Map<String, dynamic> json) =>
    TypeReferenceModel(
      id: json['id'] as String,
      domaine: json['domaine'] as String,
      code: json['code'] as String,
      libelle: json['libelle'] as String,
      description: json['description'] as String?,
      icone: json['icone'] as String?,
      couleur: json['couleur'] as String?,
      severity: json['severity'] as String?,
      ordreAffichage: (json['ordreAffichage'] as num?)?.toInt() ?? 0,
      estDefaut: json['estDefaut'] as bool? ?? false,
      estSysteme: json['estSysteme'] as bool? ?? false,
      actif: json['actif'] as bool? ?? true,
    );

Map<String, dynamic> _$TypeReferenceModelToJson(TypeReferenceModel instance) =>
    <String, dynamic>{
      'id': instance.id,
      'domaine': instance.domaine,
      'code': instance.code,
      'libelle': instance.libelle,
      'description': instance.description,
      'icone': instance.icone,
      'couleur': instance.couleur,
      'severity': instance.severity,
      'ordreAffichage': instance.ordreAffichage,
      'estDefaut': instance.estDefaut,
      'estSysteme': instance.estSysteme,
      'actif': instance.actif,
    };
