Files
lux/EgwCoreLib.Lux.Data/DbModel/Stats/StatsAggregated.cs
T
2025-12-16 14:19:31 +01:00

36 lines
1.1 KiB
C#

using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
// <Auto-Generated>
// This is here so CodeMaid doesn't reorganize this document
// </Auto-Generated>
namespace EgwCoreLib.Lux.Data.DbModel.Stats
{
/// <summary>
/// Classe statistiche impiego orarie raggruppare
/// </summary>
[Table("stats_aggr")]
public class StatsAggregated
{
[Key]
public int Id { get; set; }
/// <summary>
/// Tipologia gruppo (envir, tipo)
/// </summary>
public string GroupType { get; set; } = "ALL";
/// <summary>
/// Valore di raggruppamento (di tipo GroupType)
/// </summary>
public string GroupValue { get; set; } = "";
public DateTime Hour { get; set; }
public long RequestCount { get; set; } = 0;
public double AvgDuration { get; set; } = 0;
public double MaxDuration { get; set; } = 0;
}
}