using System.Text.Json.Serialization;

namespace PARR.Domain.Enums
{
    /// <summary>
    /// Периоды для графиков
    /// </summary>
    [JsonConverter(typeof(JsonStringEnumConverter))]
    public enum ChartPeriod
    {
        /// <summary>
        /// Последние 2 часа
        /// </summary>
        TwoHours = 1,

        /// <summary>
        /// Последние 24 часа
        /// </summary>
        TwentyFourHours = 2,

        /// <summary>
        /// Последняя неделя
        /// </summary>
        SevenDays = 3
    }
}
