33 lines
1.2 KiB
C#
33 lines
1.2 KiB
C#
namespace General_Ledger_Service.Models
|
|
{
|
|
public class AccountType
|
|
{
|
|
public short Id { get; set; }
|
|
public string Name { get; set; } = string.Empty;
|
|
public string NormalBalance { get; set; } = string.Empty;
|
|
public DateTime CreatedAt { get; set; }
|
|
}
|
|
|
|
public class Account
|
|
{
|
|
public long AccountId { get; set; }
|
|
public string AccountCode { get; set; } = string.Empty;
|
|
public string AccountName { get; set; } = string.Empty;
|
|
public long? ParentAccountId { get; set; }
|
|
public short AccountTypeId { get; set; }
|
|
public bool IsControlAccount { get; set; }
|
|
public bool IsPostable { get; set; }
|
|
public string CurrencyCode { get; set; } = string.Empty;
|
|
public string? CashFlowCategory { get; set; }
|
|
public string? IncomeStatementSection { get; set; }
|
|
public string? BalanceSheetClassification { get; set; }
|
|
public bool IsTaxDeductible { get; set; }
|
|
public bool IsActive { get; set; }
|
|
public DateTime CreatedAt { get; set; }
|
|
|
|
public Account? ParentAccount { get; set; }
|
|
public AccountType AccountType { get; set; } = null!;
|
|
public Currency Currency { get; set; } = null!;
|
|
}
|
|
}
|