Fix Nombres Id
This commit is contained in:
@@ -5,7 +5,7 @@ namespace Elecciones.Core.DTOs;
|
|||||||
|
|
||||||
public class AmbitoDto
|
public class AmbitoDto
|
||||||
{
|
{
|
||||||
[JsonPropertyName("nivelld")]
|
[JsonPropertyName("nivelId")]
|
||||||
public int NivelId { get; set; }
|
public int NivelId { get; set; }
|
||||||
|
|
||||||
[JsonPropertyName("nombre")]
|
[JsonPropertyName("nombre")]
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ public class CatalogoDto
|
|||||||
[JsonPropertyName("version")]
|
[JsonPropertyName("version")]
|
||||||
public int Version { get; set; }
|
public int Version { get; set; }
|
||||||
|
|
||||||
[JsonPropertyName("categoriald")]
|
[JsonPropertyName("categoriaId")]
|
||||||
public int CategoriaId { get; set; }
|
public int CategoriaId { get; set; }
|
||||||
|
|
||||||
[JsonPropertyName("ambitos")]
|
[JsonPropertyName("ambitos")]
|
||||||
|
|||||||
@@ -5,16 +5,16 @@ namespace Elecciones.Core.DTOs;
|
|||||||
|
|
||||||
public class CodigoAmbitoDto
|
public class CodigoAmbitoDto
|
||||||
{
|
{
|
||||||
[JsonPropertyName("distritold")]
|
[JsonPropertyName("distritoId")]
|
||||||
public string DistritoId { get; set; } = null!;
|
public string DistritoId { get; set; } = null!;
|
||||||
|
|
||||||
// Hacemos que los demás IDs acepten nulos para ser más flexibles
|
// Hacemos que los demás IDs acepten nulos para ser más flexibles
|
||||||
[JsonPropertyName("seccionProvincialld")]
|
[JsonPropertyName("seccionProvincialId")]
|
||||||
public string? SeccionProvincialId { get; set; }
|
public string? SeccionProvincialId { get; set; }
|
||||||
|
|
||||||
[JsonPropertyName("seccionld")]
|
[JsonPropertyName("seccionId")]
|
||||||
public string? SeccionId { get; set; }
|
public string? SeccionId { get; set; }
|
||||||
|
|
||||||
[JsonPropertyName("municipiold")]
|
[JsonPropertyName("municipioId")]
|
||||||
public string? MunicipioId { get; set; }
|
public string? MunicipioId { get; set; }
|
||||||
}
|
}
|
||||||
@@ -5,7 +5,7 @@ namespace Elecciones.Core.DTOs;
|
|||||||
|
|
||||||
public class NivelDto
|
public class NivelDto
|
||||||
{
|
{
|
||||||
[JsonPropertyName("nivelld")]
|
[JsonPropertyName("nivelId")]
|
||||||
public int NivelId { get; set; }
|
public int NivelId { get; set; }
|
||||||
|
|
||||||
[JsonPropertyName("nombre")]
|
[JsonPropertyName("nombre")]
|
||||||
|
|||||||
Reference in New Issue
Block a user