using System.Collections.Generic;

namespace AyaNova.Biz
{
    // public static class AyDataType
    // {
    //     //Date and time types, all stored internally as a date and time timestamp, but may display as date only or time only
    //     public const string DateTime = "datetime";
    //     public const string Date = "date";
    //     public const string Time = "time";
    //     public const string Text = "text";
    //     public const string Integer = "int";
    //     public const string Bool = "bool";
    //     public const string Decimal = "decimal";
    //     public const string Currency = "currency";
    //     public const string Tags = "tags";
    //     public const string Enum = "enum";//enums are just integers in the db so the sql code handles it like an int, but the client needs to know it's an enum
    // }

    //DataTypes used to format display properly and for custom fields definition etc
    public enum AyaDataType : int
    {
        NoType = 0,
        DateTime = 1,
        Date = 2,
        Time = 3,
        Text = 4,
        Integer = 5,
        Bool = 6,
        Decimal = 7,
        Currency = 8,
        Tags = 9,
        Enum = 10,
        EmailAddress = 11

    }
}
