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