summaryrefslogtreecommitdiff
path: root/Gestor.Model/Model.Common/Combustivel.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Gestor.Model/Model.Common/Combustivel.cs')
-rw-r--r--Gestor.Model/Model.Common/Combustivel.cs60
1 files changed, 60 insertions, 0 deletions
diff --git a/Gestor.Model/Model.Common/Combustivel.cs b/Gestor.Model/Model.Common/Combustivel.cs
new file mode 100644
index 0000000..9e6b6b2
--- /dev/null
+++ b/Gestor.Model/Model.Common/Combustivel.cs
@@ -0,0 +1,60 @@
+using Gestor.Model.Attributes;
+using Gestor.Model.Converter;
+using System;
+using System.ComponentModel;
+
+namespace Gestor.Model.Common
+{
+ [TypeConverter(typeof(EnumDescriptionTypeConverter))]
+ public enum Combustivel
+ {
+ [Category("1")]
+ [Description("ÁLCOOL")]
+ [OldValue("1")]
+ Alcool = 1,
+ [Category("1")]
+ [Description("GASOLINA")]
+ [OldValue("2")]
+ Gasolina = 2,
+ [Category("1")]
+ [Description("DIESEL")]
+ [OldValue("3")]
+ Diesel = 3,
+ [Category("0")]
+ [Description("FLEX (GASOLINA/ÁLCOOL)")]
+ [OldValue("4")]
+ Flex = 4,
+ [Category("2")]
+ [Description("GNV")]
+ [OldValue("5")]
+ Gnv = 5,
+ [Category("4")]
+ [Description("OUTROS")]
+ [OldValue("6")]
+ Outros = 6,
+ [Category("2")]
+ [Description("GASOLINA/GNV")]
+ [OldValue("7")]
+ GasolinaGnv = 7,
+ [Category("2")]
+ [Description("GASOLINA/ÁLCOOL/GNV")]
+ [OldValue("8")]
+ GasolinaAlcoolGnv = 8,
+ [Category("3")]
+ [Description("GASOLINA/ELÉTRICO")]
+ [OldValue("9")]
+ GasolinaEletrico = 9,
+ [Category("3")]
+ [Description("HÍBRIDO")]
+ [OldValue("10")]
+ Hibrido = 10,
+ [Category("3")]
+ [Description("ELÉTRICO")]
+ [OldValue("11")]
+ Eletrico = 11,
+ [Category("3")]
+ [Description("GASOLINA/ÁLCOOL/ELÉTRICO")]
+ [OldValue("12")]
+ GasolinaAlcoolEletrico = 12
+ }
+} \ No newline at end of file