// ignore_for_file: invalid_annotation_target

import 'package:freezed_annotation/freezed_annotation.dart';

import '../error/error_model.dart';
import '../tender_approvals_data/tender_approvals_data.dart';

part 'tender_approvals_by_id_response.freezed.dart';
part 'tender_approvals_by_id_response.g.dart';

@freezed
abstract class TenderApprovalsByIdResponse with _$TenderApprovalsByIdResponse {
  const factory TenderApprovalsByIdResponse({
    required String? message,
    required bool? success,
    required ErrorModel? error,
    required TenderApprovalsData? data,
  }) = _TenderApprovalsByIdResponse;

  factory TenderApprovalsByIdResponse.fromJson(Map<String, Object?> json) =>
      _$TenderApprovalsByIdResponseFromJson(json);
}
