namespace ERPCore.Domain.Entities;

/// <summary>
/// Batch/lot for a batch-tracked item (FR-GRN-04, FR-WH-03). Expiry drives FEFO
/// picking of perishables. Model: docs/10 Part C.4.
/// </summary>
public class Batch
{
    public int BatchId { get; set; }

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

    public string BatchNo { get; set; } = string.Empty;
    public DateOnly? ExpiryDate { get; set; }
}
