erp-platform/api/src/Erp.Platform.Domain/Entities/Branch/Accounting/InvoiceItem.cs

33 lines
1 KiB
C#
Raw Normal View History

using System;
using Volo.Abp.Domain.Entities.Auditing;
using Volo.Abp.MultiTenancy;
namespace Erp.Platform.Entities;
public class InvoiceItem : FullAuditedEntity<Guid>, IMultiTenant
{
public Guid? TenantId { get; set; }
public Guid InvoiceId { get; set; }
public Invoice Invoice { get; set; }
public Guid? MaterialId { get; set; }
public Material Material { get; set; }
public string UomId { get; set; }
public Uom Uom { get; set; }
2025-12-09 20:45:46 +00:00
public decimal Quantity { get; set; } // Miktar
public decimal UnitPrice { get; set; } // Birim Fiyat
public decimal LineTotal { get; set; } // Miktar x Birim Fiyat
2025-12-09 20:45:46 +00:00
public decimal DiscountRate { get; set; } // İndirim Yüzdesi
public decimal DiscountAmount { get; set; } // Hesaplanan indirim tutarı
2025-12-09 20:45:46 +00:00
public decimal TaxRate { get; set; } // Vergi Yüzdesi
public decimal TaxAmount { get; set; } // Hesaplanan vergi tutarı
public decimal NetAmount { get; set; } // Vergi sonrası tutar
2025-12-09 20:45:46 +00:00
public string Description { get; set; }
}