// GENERATED CODE - DO NOT MODIFY BY HAND

part of 'entities.dart';

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

DailyChallengeEntity _$DailyChallengeEntityFromJson(
        Map<String, dynamic> json) =>
    DailyChallengeEntity(
      id: json['id'] as String,
      rawId: json['rawId'] as String,
      status: json['status'] as int? ?? 0,
      progress: json['progress'] as int? ?? 0,
      year: json['yr'] as int? ?? 0,
      yearMonth: json['ym'] as int? ?? 0,
      yearMonthDay: json['ymd'] as int? ?? 0,
      completeAt: json['cpt'] as int? ?? 0,
      updateAt: json['upt'] as int? ?? 0,
    );

Map<String, dynamic> _$DailyChallengeEntityToJson(
        DailyChallengeEntity instance) =>
    <String, dynamic>{
      'id': instance.id,
      'rawId': instance.rawId,
      'status': instance.status,
      'yr': instance.year,
      'ym': instance.yearMonth,
      'ymd': instance.yearMonthDay,
      'progress': instance.progress,
      'cpt': instance.completeAt,
      'upt': instance.updateAt,
    };

AwardEntity _$AwardEntityFromJson(Map<String, dynamic> json) => AwardEntity(
      id: json['id'] as String,
      achieved: json['progress'] as int? ?? 0,
      year: json['yr'] as int? ?? 0,
      yearMonth: json['ym'] as int? ?? 0,
      updateAt: json['upt'] as int? ?? 0,
    );

Map<String, dynamic> _$AwardEntityToJson(AwardEntity instance) =>
    <String, dynamic>{
      'id': instance.id,
      'progress': instance.achieved,
      'yr': instance.year,
      'ym': instance.yearMonth,
      'upt': instance.updateAt,
    };
