namespace CashLineERP.Application.Procurement;

public interface IRfqEvaluationRepository
{
    IReadOnlyCollection<RfqEvaluationDetailView> GetEvaluations(long? rfqId = null);

    RfqEvaluationDetailView? GetEvaluation(long evaluationId);

    RfqEvaluationDetailView Create(CreateRfqEvaluationCommand command);

    RfqEvaluationDetailView FinalizeRecommendation(long evaluationId, long actorUserId);

    PurchaseOrderDetailView AwardPurchaseOrder(long evaluationId, long actorUserId, DateOnly purchaseOrderDate, long defaultWarehouseId);
}
