namespace CashLineERP.Application.IslamicFinance.PartnerLenders;

public interface IIslamicFinancePartnerRepository
{
    IReadOnlyCollection<IslamicFinancePartnerLenderDetailView> GetPartnerLenders(bool activeOnly = false);
    IslamicFinancePartnerLenderDetailView? GetPartnerLender(long partnerLenderId);
    IslamicFinancePartnerLenderDetailView Create(CreateIslamicFinancePartnerLenderCommand command);
    IslamicFinancePartnerLenderDetailView Submit(long partnerLenderId, long actorUserId);
    IslamicFinancePartnerLenderDetailView Approve(long partnerLenderId, long actorUserId);
    IslamicFinancePartnerLenderDetailView Activate(long partnerLenderId, long actorUserId);
}
