altas mudanças
All checks were successful
API and ETL Build / build_etl (push) Successful in 30s
API and ETL Build / build_api (push) Successful in 15s

This commit is contained in:
2025-06-10 20:16:22 -03:00
parent 684a2c0630
commit 23b1f0f14e
10 changed files with 175 additions and 83 deletions

View File

@@ -20,14 +20,14 @@ namespace OpenCand.Core.Models
public string Sexo { get; set; }
public string EstadoCivil { get; set; }
public string Localidade { get; set; }
public string Escolaridade { get; set; }
public string Ocupacao { get; set; }
public int Ultimoano { get; set; }
public List<CandidatoMapping> Eleicoes { get; set; }
public List<CandidatoExt> CandidatoExt { get; set; }
// API ONLY
public string FotoUrl { get; set; }
}
@@ -37,7 +37,6 @@ namespace OpenCand.Core.Models
public Guid IdCandidato { get; set; }
public string Cpf { get; set; }
public string Nome { get; set; }
public string Apelido { get; set; }
public string SqCandidato { get; set; }
public int Ano { get; set; }
public string Turno { get; set; }
@@ -52,6 +51,17 @@ namespace OpenCand.Core.Models
public Partido? Partido { get; set; } // Nullable to allow for candidates without a party
}
public class CandidatoExt
{
public Guid IdCandidato { get; set; }
public int Ano { get; set; }
public string Apelido { get; set; }
public string Email { get; set; }
public string EstadoCivil { get; set; }
public string Escolaridade { get; set; }
public string Ocupacao { get; set; }
}
public class RedeSocial
{
public Guid IdCandidato { get; set; }