namespace ERPCore.Domain.Enums;

/// <summary>
/// Whether an item is sold under warranty (FR-MD-01). Stored as a string, same
/// convention as <see cref="StockNature"/> and <see cref="TrackingMode"/>.
/// </summary>
public enum Warranty
{
    NonWarranty,
    Warranty
}

/// <summary>Allowed warranty coverage lengths, in months — set once on the item (FR-MD-01).</summary>
public static class WarrantyPeriods
{
    public static readonly int[] AllowedMonths = { 3, 6, 12, 18 };
}
