using Gestor.Model.Attributes; using Gestor.Model.Converter; using System; using System.ComponentModel; namespace Gestor.Model.Common { [TypeConverter(typeof(EnumDescriptionTypeConverter))] public enum TipoEndereco { [Description("OUTROS")] [OldValue("1")] Outros = 1, [Description("CORRESPONDÊNCIA")] [OldValue("2")] Correspondencia = 2, [Description("RESIDENCIAL")] [OldValue("3")] Residencial = 3, [Description("COMERCIAL")] [OldValue("4")] Comercial = 4, [Description("RECADO")] [OldValue("5")] Recado = 5, [Description("COBRANÇA")] [OldValue("6")] Cobranca = 6, [Description("FINANCEIRO")] [OldValue("7")] Financeiro = 7 } }