Aggiunta nuovi modelli dati x errori e statusCode + migration

This commit is contained in:
Samuele Locatelli
2026-05-11 09:13:01 +02:00
parent 0b48f1ecef
commit 0de18419a4
6 changed files with 375 additions and 0 deletions
@@ -0,0 +1,17 @@
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace MP.Data.DbModels.Utils
{
[Table("stats_status_codes")]
public class StatsStatusCodeModel
{
[Key] public int Id { get; set; }
public string Destination { get; set; } = "";
public string Type { get; set; } = "";
public DateTime Hour { get; set; }
public int StatusCode { get; set; }
public long Count { get; set; }
}
}