namespace ERPCore.Domain.Entities;

/// <summary>
/// Purchase-return line (FR-PROC-08) referencing the original GRN line for
/// traceability. <see cref="Qty"/> is in base UOM. Model: docs/10 Part C.2.
/// </summary>
public class PurchaseReturnLine
{
    public int ReturnLineId { get; set; }

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

    public int? GrnLineId { get; set; }
    public GrnLine? GrnLine { get; set; }

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

    public decimal Qty { get; set; }
}
