using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
//
// This is here so CodeMaid doesn't reorganize this document
//
namespace MP.MONO.Data.DbModels
{
///
/// Tabella Codifica Eventi
///
[Table("Event")]
public class EventModel
{
#region Public Properties
///
/// UID, da gestire
///
[Key]
public string CodEvent { get; set; } = "";
///
/// Descrizione evento
///
[MaxLength(250)]
public string Description { get; set; } = "";
///
/// Indica se un evento sia "user driven" (soft) oppure generato dalla macchina (HW)
///
public bool IsUser { get; set; } = false;
///
/// Indica se un evento sia attivo (quindi selezionabile da ute te se NON HW)
///
public bool Active { get; set; } = true;
#endregion Public Properties
}
}