diff --git a/MP.Data/DatabaseModels/AnagEventiModel.cs b/MP.Data/DatabaseModels/AnagEventiModel.cs new file mode 100644 index 00000000..25bcac89 --- /dev/null +++ b/MP.Data/DatabaseModels/AnagEventiModel.cs @@ -0,0 +1,23 @@ +using System; +using System.Collections.Generic; +using System.ComponentModel.DataAnnotations; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace MP.Data.DatabaseModels +{ + public class AnagEventiModel + { + [Key] + public int IdxTipo { get; set; } = 0; + public string Nome { get; set; } = ""; + public string TabAzione { get; set; } = ""; + public string Azione { get; set; } = ""; + public string KeyEvento { get; set; } = ""; + public bool EventoTablet { get; set; } = true; + public string NoteEvento { get; set; } = ""; + public string CssClass { get; set; } = ""; + public string Icon { get; set; } = ""; + } +} diff --git a/MP.Data/MoonProContext.cs b/MP.Data/MoonProContext.cs index 6dd285ab..893ebeb4 100644 --- a/MP.Data/MoonProContext.cs +++ b/MP.Data/MoonProContext.cs @@ -38,6 +38,7 @@ namespace MP.Data public virtual DbSet DbSetStatArticoli { get; set; } public virtual DbSet DbSetArticoli { get; set; } + public virtual DbSet DbSetAnagEventi { get; set; } public virtual DbSet DbSetMacchine { get; set; } public virtual DbSet DbSetMSE { get; set; } public virtual DbSet DbSetConfig { get; set; }