22 lines
831 B
C#
22 lines
831 B
C#
|
|
// 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();
|
||
|
|
}
|