Feat Widgets Cards y Optimización de Consultas
This commit is contained in:
		| @@ -0,0 +1,22 @@ | ||||
| // src/Elecciones.Core/DTOs/ApiResponses/ResumenProvinciaDto.cs | ||||
| namespace Elecciones.Core.DTOs.ApiResponses; | ||||
|  | ||||
| public class ResultadoCandidatoDto | ||||
| { | ||||
|      public string AgrupacionId { get; set; } = string.Empty; | ||||
|     public string? NombreCandidato { get; set; } | ||||
|     public string NombreAgrupacion { get; set; } = null!; | ||||
|     public string? FotoUrl { get; set; } | ||||
|     public string? Color { get; set; } | ||||
|     public decimal Porcentaje { get; set; } | ||||
|     public long Votos { get; set; } | ||||
|     public int BancasObtenidas { get; set; } | ||||
| } | ||||
|  | ||||
| public class ResumenProvinciaDto | ||||
| { | ||||
|     public string ProvinciaId { get; set; } = null!; // Corresponde al DistritoId | ||||
|     public string ProvinciaNombre { get; set; } = null!; | ||||
|     public EstadoRecuentoDto? EstadoRecuento { get; set; } | ||||
|     public List<ResultadoCandidatoDto> Resultados { get; set; } = new(); | ||||
| } | ||||
		Reference in New Issue
	
	Block a user