34 lines
1.2 KiB
C#
34 lines
1.2 KiB
C#
using General_Ledger_Service.Enums;
|
|
|
|
namespace General_Ledger_Service.Models
|
|
{
|
|
public class TaxType
|
|
{
|
|
public int TaxTypeId { get; set; }
|
|
public string Code { get; set; } = string.Empty;
|
|
public string Name { get; set; } = string.Empty;
|
|
public DateTime CreatedAt { get; set; }
|
|
}
|
|
|
|
public class TaxCode
|
|
{
|
|
public long TaxCodeId { get; set; }
|
|
public int TaxTypeId { get; set; }
|
|
public string Code { get; set; } = string.Empty;
|
|
public string Name { get; set; } = string.Empty;
|
|
public decimal RatePercent { get; set; }
|
|
public TaxCalculationBasis CalculationBasis { get; set; }
|
|
public TaxAppliesTo AppliesTo { get; set; }
|
|
public long? OutputTaxAccountId { get; set; }
|
|
public long? InputTaxAccountId { get; set; }
|
|
public DateOnly EffectiveFrom { get; set; }
|
|
public DateOnly? EffectiveTo { get; set; }
|
|
public bool IsActive { get; set; }
|
|
public DateTime CreatedAt { get; set; }
|
|
|
|
public TaxType TaxType { get; set; } = null!;
|
|
public Account? OutputTaxAccount { get; set; }
|
|
public Account? InputTaxAccount { get; set; }
|
|
}
|
|
}
|