aggiunto datamodel anagrafica eventi

This commit is contained in:
zaccaria.majid
2023-10-03 09:44:29 +02:00
parent 90fb5c317d
commit 4053beff72
2 changed files with 24 additions and 0 deletions
+23
View File
@@ -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; } = "";
}
}
+1
View File
@@ -38,6 +38,7 @@ namespace MP.Data
public virtual DbSet<StatsAnagArticoli> DbSetStatArticoli { get; set; }
public virtual DbSet<AnagArticoli> DbSetArticoli { get; set; }
public virtual DbSet<AnagEventiModel> DbSetAnagEventi { get; set; }
public virtual DbSet<Macchine> DbSetMacchine { get; set; }
public virtual DbSet<MappaStatoExpl> DbSetMSE { get; set; }
public virtual DbSet<ConfigModel> DbSetConfig { get; set; }