using System; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; // // This is here so CodeMaid doesn't reorganize this document // namespace MP.Data.DbModels.Utils { /// /// Classe statistiche impiego (orarie) di dettaglio (per envir/tipo) /// [Table("stats_detail")] public class StatsDetailModel { [Key] public int Id { get; set; } /// /// Ambiente di destinazione IOC/IO (new/old) /// public string Destination { get; set; } = ""; /// /// Codice tipo (metodo chiamato) /// public string Type { get; set; } = ""; /// /// DataOra riferimento /// public DateTime Hour { get; set; } /// /// Num richieste complete/concluse (con ritorno) /// public long RequestCount { get; set; } = 0; /// /// Durata media esecuzione /// public double AvgDuration { get; set; } = 0; /// /// Durata minima esecuzione /// public double MinDuration { get; set; } = 0; /// /// Durata massima esecuzione /// public double MaxDuration { get; set; } = 0; /// /// numero richieste senza risposta (errori) /// public long NoReply { get; set; } = 0; } }