using Newtonsoft.Json;
using Newtonsoft.Json.Converters;

namespace EgwCApp.Core
{
    /// <summary>
    /// Tipologia file da importare
    /// </summary>
    [JsonConverter(typeof(StringEnumConverter))]
    public enum ImportType
    {
        ND = 0,
        CSV,
        Excel
    }

    [JsonConverter(typeof(StringEnumConverter))]
    public enum rawTransfType
    {
        ND,
        IcoelBatch,
        IcoelVarInfo,
        RegGiacenze,
        TaglioUstd
    }

    [JsonConverter(typeof(StringEnumConverter))]
    public enum OutDataType
    {
        ParamTaglioUstd,
        RegGiacenze
    }

    /// <summary>
    /// Modalità ritorno risultati
    /// </summary>
    [JsonConverter(typeof(StringEnumConverter))]
    public enum ReturnMode
    {
        ND = 0,
        Console,
        File,
        Redis
    }
}