using System.ComponentModel; using Gestor.Model.Attributes; using Gestor.Model.Converter; namespace Gestor.Model.Common; [TypeConverter(typeof(EnumDescriptionTypeConverter))] public enum TipoTelefone { [Tipo("1")] [OldValue("1")] [Description("RESIDENCIAL")] Residencial = 1, [Tipo("1")] [OldValue("2")] [Description("COMERCIAL")] Comercial, [Tipo("1")] [OldValue("3")] [Description("CELULAR")] Celular, [Tipo("1")] [OldValue("4")] [Description("RADIO")] Radio, [Tipo("1")] [OldValue("5")] [Description("RECADO")] Recado, [Tipo("1")] [OldValue("6")] [Description("FAX")] Fax, [Tipo("1")] [OldValue("7")] [Description("OUTROS")] Outros, [Tipo("0")] [OldValue("8")] [Description("INTERNACIONAL")] Internacional, [Tipo("2")] [OldValue("9")] [Description("WHATSAPP")] Whatsapp, [Tipo("0")] [OldValue("10")] [Description("0800")] Gratuita, [Tipo("0")] [OldValue("11")] [Description("0300")] TarifaUnica }