using System.ComponentModel; using Gestor.Model.Attributes; using Gestor.Model.Converter; namespace Gestor.Model.Common; [TypeConverter(typeof(EnumDescriptionTypeConverter))] public enum Categoria { [OldValue("1")] [Description("PICKUP")] Pickup = 1, [OldValue("2")] [Description("OUTROS")] Outros, [OldValue("3")] [Description("PASSEIO")] Passeio, [OldValue("4")] [Description("CAMINHÃO")] Caminhao, [OldValue("5")] [Description("CAMINHONETE")] Caminhonete, [OldValue("6")] [Description("ÔNIBUS")] Onibus, [OldValue("7")] [Description("UTILITÁRIO")] Utilitario, [OldValue("8")] [Description("CARGA")] Carga, [OldValue("9")] [Description("MOTOCICLETA")] Motocicleta, [OldValue("10")] [Description("TAXI")] Taxi, [OldValue("11")] [Description("UBER")] Uber, [OldValue("12")] [Description("REBOCADOR")] Rebocador, [OldValue("13")] [Description("REBOQUE/SEMI REBOQUE")] Reboque }