2025-08-16 13:05:44 -03:00
|
|
|
// Archivo: Elecciones.Database/Entities/EstadoRecuento.cs
|
2025-08-14 13:12:16 -03:00
|
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
|
|
|
using System.ComponentModel.DataAnnotations;
|
|
|
|
|
|
|
|
|
|
namespace Elecciones.Database.Entities;
|
|
|
|
|
|
|
|
|
|
public class EstadoRecuento
|
|
|
|
|
{
|
|
|
|
|
[Key]
|
|
|
|
|
public int AmbitoGeograficoId { get; set; }
|
2025-08-23 11:01:54 -03:00
|
|
|
public int CategoriaId { get; set; }
|
2025-08-14 13:12:16 -03:00
|
|
|
[ForeignKey("AmbitoGeograficoId")]
|
2025-09-17 11:31:17 -03:00
|
|
|
public AmbitoGeografico AmbitoGeografico { get; set; } = null!;
|
2025-08-14 13:12:16 -03:00
|
|
|
public DateTime FechaTotalizacion { get; set; }
|
|
|
|
|
public int MesasEsperadas { get; set; }
|
|
|
|
|
public int MesasTotalizadas { get; set; }
|
|
|
|
|
public decimal MesasTotalizadasPorcentaje { get; set; }
|
|
|
|
|
public int CantidadElectores { get; set; }
|
|
|
|
|
public int CantidadVotantes { get; set; }
|
|
|
|
|
public decimal ParticipacionPorcentaje { get; set; }
|
|
|
|
|
public long VotosNulos { get; set; }
|
|
|
|
|
public long VotosEnBlanco { get; set; }
|
|
|
|
|
public long VotosRecurridos { get; set; }
|
2025-08-16 13:05:44 -03:00
|
|
|
public decimal VotosNulosPorcentaje { get; set; }
|
|
|
|
|
public decimal VotosEnBlancoPorcentaje { get; set; }
|
|
|
|
|
public decimal VotosRecurridosPorcentaje { get; set; }
|
2025-09-17 11:31:17 -03:00
|
|
|
public int EleccionId { get; set; }
|
2025-08-14 13:12:16 -03:00
|
|
|
}
|