diff options
Diffstat (limited to 'Codemerx/Gestor.Model/Model.Common/Categoria.cs')
| -rw-r--r-- | Codemerx/Gestor.Model/Model.Common/Categoria.cs | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/Codemerx/Gestor.Model/Model.Common/Categoria.cs b/Codemerx/Gestor.Model/Model.Common/Categoria.cs new file mode 100644 index 0000000..6ae62dc --- /dev/null +++ b/Codemerx/Gestor.Model/Model.Common/Categoria.cs @@ -0,0 +1,51 @@ +using Gestor.Model.Attributes;
+using Gestor.Model.Converter;
+using System;
+using System.ComponentModel;
+
+namespace Gestor.Model.Common
+{
+ [TypeConverter(typeof(EnumDescriptionTypeConverter))]
+ public enum Categoria
+ {
+ [Description("PICKUP")]
+ [OldValue("1")]
+ Pickup = 1,
+ [Description("OUTROS")]
+ [OldValue("2")]
+ Outros = 2,
+ [Description("PASSEIO")]
+ [OldValue("3")]
+ Passeio = 3,
+ [Description("CAMINHÃO")]
+ [OldValue("4")]
+ Caminhao = 4,
+ [Description("CAMINHONETE")]
+ [OldValue("5")]
+ Caminhonete = 5,
+ [Description("ÔNIBUS")]
+ [OldValue("6")]
+ Onibus = 6,
+ [Description("UTILITÁRIO")]
+ [OldValue("7")]
+ Utilitario = 7,
+ [Description("CARGA")]
+ [OldValue("8")]
+ Carga = 8,
+ [Description("MOTOCICLETA")]
+ [OldValue("9")]
+ Motocicleta = 9,
+ [Description("TAXI")]
+ [OldValue("10")]
+ Taxi = 10,
+ [Description("UBER")]
+ [OldValue("11")]
+ Uber = 11,
+ [Description("REBOCADOR")]
+ [OldValue("12")]
+ Rebocador = 12,
+ [Description("REBOQUE/SEMI REBOQUE")]
+ [OldValue("13")]
+ Reboque = 13
+ }
+}
\ No newline at end of file |