Files
2022-02-11 18:40:34 +01:00

42 lines
1.1 KiB
C#

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