namespace OpenCand.Core.Models { public class OpenCandStats { public long TotalCandidatos { get; set; } public long TotalBemCandidatos { get; set; } public long TotalValorBemCandidatos { get; set; } public long TotalRedesSociais { get; set; } public long TotalEleicoes { get; set; } } public class DataAvailabilityStats { public List Candidatos { get; set; } = new List(); public List BemCandidatos { get; set; } = new List(); public List DespesaCandidatos { get; set; } = new List(); public List ReceitaCandidatos { get; set; } = new List(); public List RedeSocialCandidatos { get; set; } = new List(); public List FotosCandidatos { get; set; } = new List(); } public class DatabaseTechStats { public List Tables { get; set; } = new List(); public List MaterializedViews { get; set; } = new List(); public IndexStats Indexes { get; set; } = new IndexStats(); public long TotalSize { get; set; } public long TotalEntries { get; set; } } public class TableStats { public string Name { get; set; } = string.Empty; public long TotalSize { get; set; } public long Entries { get; set; } } public class IndexStats { public int Amount { get; set; } public long Size { get; set; } } }