87c807c16c
- Implemented ChequeBooksPage for viewing and filtering cheque books. - Added NewReceivedChequePage for recording received cheques. - Created ReceivedChequesPage for listing and managing received cheques. - Introduced API endpoints for bank accounts, cheque books, and received cheques. - Defined types for payments including bank accounts, cheque books, and received cheques.
17 lines
612 B
C#
17 lines
612 B
C#
using Distribution.Models;
|
|
|
|
namespace Distribution.Features.ChequeBook;
|
|
|
|
public interface IChequeBookRepository
|
|
{
|
|
Task<Models.ChequeBook?> GetByNoAsync(string chequeBookNo, bool includePages);
|
|
Task<(List<Models.ChequeBook> Items, int TotalCount)> ListAsync(
|
|
Guid? bankAccountId, int? branchId, ChequeBookStatus? status, int page, int pageSize);
|
|
Task<bool> BookNoExistsAsync(string chequeBookNo);
|
|
Task AddAsync(Models.ChequeBook book);
|
|
void Update(Models.ChequeBook book);
|
|
|
|
Task<Models.ChequePage?> GetPageByNoAsync(string chequeNo);
|
|
void UpdatePage(Models.ChequePage page);
|
|
}
|