// GENERATED CODE - DO NOT MODIFY BY HAND

part of 'tender_approvals_data.dart';

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

_TenderApprovalsData _$TenderApprovalsDataFromJson(Map<String, dynamic> json) =>
    _TenderApprovalsData(
      id: json['id'] as String?,
      status: json['status'] as String,
      tenderId: json['tender_id'] as String?,
      companyId: json['company_id'] as String?,
      submissionMode: json['submission_mode'] as String?,
      createdAt: (json['created_at'] as num?)?.toInt(),
      tender:
          json['tender'] == null
              ? null
              : TenderData.fromJson(json['tender'] as Map<String, dynamic>),
    );

Map<String, dynamic> _$TenderApprovalsDataToJson(
  _TenderApprovalsData instance,
) => <String, dynamic>{
  'id': instance.id,
  'status': instance.status,
  'tender_id': instance.tenderId,
  'company_id': instance.companyId,
  'submission_mode': instance.submissionMode,
  'created_at': instance.createdAt,
  'tender': instance.tender,
};
