// ignore_for_file: invalid_annotation_target

import 'package:freezed_annotation/freezed_annotation.dart';
import 'package:tm_app/data/services/model/meta/meta.dart';
import 'package:tm_app/data/services/model/tender_data/tender_data.dart';

part 'recommended_tenders_data.freezed.dart';
part 'recommended_tenders_data.g.dart';

@freezed
abstract class RecommendedTendersData with _$RecommendedTendersData {
  @JsonSerializable(explicitToJson: true)
  const factory 
RecommendedTendersData({
    required List<TenderData?> tenders,
    required Meta? metadata,

  }) = _RecommendedTendersData;

  factory 
RecommendedTendersData.fromJson(Map<String, dynamic> json) =>
      _$RecommendedTendersDataFromJson(json);
}
