14 lines
623 B
C#
14 lines
623 B
C#
namespace General_Ledger_Service.DTOs.Bank
|
|
{
|
|
public class CreateCashAccountRequest
|
|
{
|
|
public string AccountName { get; set; } = string.Empty;
|
|
// Matched case-insensitively against cash_account_type.name; a name that doesn't match
|
|
// an existing row causes a new one to be created on the fly (the frontend's "Other" flow).
|
|
public string CashAccountTypeName { get; set; } = string.Empty;
|
|
// Optional - if omitted, BankService.CreateCashAccountAsync auto-generates one.
|
|
public string? AccountNumber { get; set; }
|
|
public string? CurrencyCode { get; set; }
|
|
}
|
|
}
|