namespace ERPCore.Domain.Entities;

/// <summary>
/// Sales-return line referencing the original sales invoice line for traceability.
/// <see cref="Qty"/> is in base UOM.
/// </summary>
public class SalesReturnLine
{
    public int ReturnLineId { get; set; }

    public int ReturnId { get; set; }
    public SalesReturn? Return { get; set; }

    public int? SalesInvoiceLineId { get; set; }
    public SalesInvoiceLine? SalesInvoiceLine { get; set; }

    public int ItemId { get; set; }
    public Item? Item { get; set; }

    public decimal Qty { get; set; }
}
