From 1f4e14b2e973ee7de337fd4866d9a5ceff5cb6d1 Mon Sep 17 00:00:00 2001 From: Lucas Faria Mendes Date: Mon, 30 Mar 2026 10:38:18 -0300 Subject: chore: location --- Codemerx/Gestor.Model/Model.Common/Combustivel.cs | 60 +++++++++++++++++++++++ 1 file changed, 60 insertions(+) create mode 100644 Codemerx/Gestor.Model/Model.Common/Combustivel.cs (limited to 'Codemerx/Gestor.Model/Model.Common/Combustivel.cs') diff --git a/Codemerx/Gestor.Model/Model.Common/Combustivel.cs b/Codemerx/Gestor.Model/Model.Common/Combustivel.cs new file mode 100644 index 0000000..9e6b6b2 --- /dev/null +++ b/Codemerx/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