Distribution_GL Initialization
This commit is contained in:
@@ -0,0 +1,36 @@
|
||||
namespace General_Ledger_Service.Models
|
||||
{
|
||||
public class Currency
|
||||
{
|
||||
public string CurrencyCode { get; set; } = string.Empty;
|
||||
public string CurrencyName { get; set; } = string.Empty;
|
||||
public string? Symbol { get; set; }
|
||||
public short DecimalPlaces { get; set; }
|
||||
public bool IsBaseCurrency { get; set; }
|
||||
public bool IsActive { get; set; }
|
||||
public DateTime CreatedAt { get; set; }
|
||||
}
|
||||
|
||||
public class CurrencyRoundingRule
|
||||
{
|
||||
public string CurrencyCode { get; set; } = string.Empty;
|
||||
public string RoundingMethod { get; set; } = string.Empty;
|
||||
public long? RoundingAccountId { get; set; }
|
||||
public DateTime CreatedAt { get; set; }
|
||||
|
||||
public Currency Currency { get; set; } = null!;
|
||||
public Account? RoundingAccount { get; set; }
|
||||
}
|
||||
|
||||
public class ExchangeRate
|
||||
{
|
||||
public long RateId { get; set; }
|
||||
public string CurrencyCode { get; set; } = string.Empty;
|
||||
public DateOnly RateDate { get; set; }
|
||||
public decimal RateToBase { get; set; }
|
||||
public string RateSource { get; set; } = string.Empty;
|
||||
public DateTime CreatedAt { get; set; }
|
||||
|
||||
public Currency Currency { get; set; } = null!;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user