using System.ComponentModel; using Gestor.Model.Attributes; using Gestor.Model.Converter; namespace Gestor.Model.Common; [TypeConverter(typeof(EnumDescriptionTypeConverter))] public enum Mes { [OldValue("1")] [Description("JANEIRO")] Janeiro = 1, [OldValue("2")] [Description("FEVEREIRO")] Fevereiro, [OldValue("3")] [Description("MARÇO")] Marco, [OldValue("4")] [Description("ABRIL")] Abril, [OldValue("5")] [Description("MAIO")] Maio, [OldValue("6")] [Description("JUNHO")] Junho, [OldValue("7")] [Description("JULHO")] Julho, [OldValue("8")] [Description("AGOSTO")] Agosto, [OldValue("9")] [Description("SETEMBRO")] Setembro, [OldValue("10")] [Description("OUTUBRO")] Outubro, [OldValue("11")] [Description("NOVEMBRO")] Novembro, [OldValue("12")] [Description("DEZEMBRO")] Dezembro }