altas mudanças
This commit is contained in:
@@ -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; }
|
||||
|
Reference in New Issue
Block a user