using System.ComponentModel; using Gestor.Model.Attributes; using Gestor.Model.Converter; namespace Gestor.Model.Common; [TypeConverter(typeof(EnumDescriptionTypeConverter))] public enum Parentesco { [OldValue("0")] [Description("PAI")] Pai, [OldValue("1")] [Description("FILHO")] Filho, [OldValue("2")] [Description("MÃE")] Mae, [OldValue("3")] [Description("IRMÃOS")] Irmaos, [OldValue("4")] [Description("AVÓS")] Avos, [OldValue("5")] [Description("TIOS")] Tios, [OldValue("6")] [Description("SOBRINHOS")] Sobrinhos, [OldValue("7")] [Description("BISAVÓS")] Bisavos, [OldValue("8")] [Description("PRIMOS")] Primos, [OldValue("9")] [Description("SOGRA")] Sogra, [OldValue("10")] [Description("SOGRO")] Sogro, [OldValue("11")] [Description("GENRO")] Genro, [OldValue("12")] [Description("NORA")] Nora, [OldValue("13")] [Description("CUNHADO")] Cunhado, [OldValue("14")] [Description("CUNHADA")] Cunhada, [OldValue("15")] [Description("CONCUNHADO")] Concunhado, [OldValue("16")] [Description("CONCUNHADA")] Concunhada, [OldValue("17")] [Description("PADRASTO")] Padrasto, [OldValue("18")] [Description("MADRASTA")] Madrasta, [OldValue("19")] [Description("ENTEADO")] Enteado, [OldValue("20")] [Description("ENTEADA")] Enteada, [OldValue("21")] [Description("CÔNJUGE")] Conjuge, [OldValue("22")] [Description("SÓCIO")] Socio, [OldValue("23")] [Description("FUNCIONÁRIO")] Funcionário, [OldValue("24")] [Description("EX-CÔNJUGE")] Exconjuge, [OldValue("25")] [Description("AMIGO(A)")] Amigo, [OldValue("26")] [Description("NETO")] Neto, [OldValue("27")] [Description("PROPRIETÁRIO DA EMPRESA")] Proprietario, [OldValue("28")] [Description("SÍNDICO")] Sindico }