using CashLineERP.Application.Documents;

namespace CashLineERP.Application.IslamicFinance.Murabaha;

public interface IIslamicFinanceMurabahaContractRepository
{
    IReadOnlyCollection<DocumentAttachmentDetailView> GetContracts(long murabahaCaseId);
    DocumentAttachmentDetailView? GetContract(long murabahaCaseId, long documentLinkId);
    DocumentAttachmentDetailView GenerateContract(long murabahaCaseId, long actorUserId, GenerateIslamicFinanceMurabahaContractCommand command);
}
