namespace CashLineERP.Application.Finance;

public interface IFinanceCloseJournalRepository
{
    IReadOnlyCollection<FinanceCloseJournalDetailView> GetCloseJournals();

    FinanceCloseJournalDetailView? GetCloseJournal(long financeCloseJournalId);

    FinanceCloseJournalDetailView Create(CreateFinanceCloseJournalCommand command);

    FinanceCloseJournalDetailView Submit(long financeCloseJournalId, long actorUserId);

    FinanceCloseJournalDetailView Approve(long financeCloseJournalId, long actorUserId);

    FinanceCloseJournalDetailView Post(long financeCloseJournalId, long actorUserId);
}
