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 orario complessive /// [Table("stats_aggr")] public class StatsAggregatedModel { [Key] public int Id { get; set; } /// /// Ambiente di destinazione IOC/IO (new/old) /// public string Destination { get; set; } = ""; /// /// ID Macchina di riferimento /// public string MachineId { 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; } }