namespace ERPCore.Domain.Enums;

/// <summary>
/// What a stage input's quantity is expressed in (FR-MFG-04). Stored as a string.
/// <para>
/// Deliberately explicit rather than inferred from whether the item happens to have a
/// content size: templates outlive item edits, so an inferred unit would let adding a
/// content size to an existing item silently reinterpret every saved formula — "300"
/// meaning 300 packs would become 300 ml.
/// </para>
/// </summary>
public enum StageQtyUnit
{
    /// <summary>A count of the item's base UOM — bottles, packets, pieces.</summary>
    Pack,

    /// <summary>
    /// An amount of the item's content in its base content unit (ml or g), resolved to
    /// packs by <c>IItemMeasure</c> at stage start. Requires the item to have a content size.
    /// </summary>
    Content
}
