From 674ca83ba9243a9e95a7568c797668dab6aee26a Mon Sep 17 00:00:00 2001 From: Lucas Faria Mendes Date: Mon, 30 Mar 2026 10:35:25 -0300 Subject: feat: upload files --- Gestor.Model/Model.Common/Combustivel.cs | 60 ++++++++++++++++++++++++++++++++ 1 file changed, 60 insertions(+) create mode 100644 Gestor.Model/Model.Common/Combustivel.cs (limited to 'Gestor.Model/Model.Common/Combustivel.cs') 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 -- cgit v1.2.3