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.
34 lines
819 B
C#
34 lines
819 B
C#
using Distribution.Models;
|
|
|
|
namespace Distribution.Features.BankAccount;
|
|
|
|
public record BankAccountResponse(
|
|
BankAccountType AccountType,
|
|
Guid AccountId,
|
|
string AccountName,
|
|
string? BankName,
|
|
string? CashAccountTypeName,
|
|
string? AccountNumber,
|
|
string CurrencyCode,
|
|
DateTime CreatedAt,
|
|
bool? IsActive,
|
|
bool? IsDefault);
|
|
|
|
public record CreateBankAccountRequest(
|
|
string AccountName,
|
|
string? BankName,
|
|
string? AccountNumber,
|
|
string? CurrencyCode);
|
|
|
|
public record CreateCashAccountRequest(
|
|
string AccountName,
|
|
string CashAccountTypeName,
|
|
string? AccountNumber,
|
|
string? CurrencyCode);
|
|
|
|
public record UpdateCashAccountRequest(string AccountName);
|
|
|
|
public record SetCashAccountStatusRequest(bool IsActive);
|
|
|
|
public record CashAccountTypeDto(string Name);
|