erp-platform/api/src/Erp.Platform.Domain/Entities/Branch/Accounting/InvoiceItem.cs
2025-12-11 16:59:44 +03:00

32 lines
1 KiB
C#
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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; }
public decimal Quantity { get; set; } // Miktar
public decimal UnitPrice { get; set; } // Birim Fiyat
public decimal LineTotal { get; set; } // Miktar x Birim Fiyat
public decimal DiscountRate { get; set; } // İndirim Yüzdesi
public decimal DiscountAmount { get; set; } // Hesaplanan indirim tutarı
public decimal TaxRate { get; set; } // Vergi Yüzdesi
public decimal TaxAmount { get; set; } // Hesaplanan vergi tutarı
public decimal NetAmount { get; set; } // Vergi sonrası tutar
public string Description { get; set; }
}