37 lines
962 B
C#
37 lines
962 B
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("CodEvent")]
|
|
public class CodEventModel
|
|
{
|
|
#region Public Properties
|
|
|
|
/// <summary>
|
|
/// UID
|
|
/// </summary>
|
|
[Key, DatabaseGenerated(DatabaseGeneratedOption.Identity)]
|
|
public int CodEventId { get; set; }
|
|
|
|
/// <summary>
|
|
/// Descrizione evento
|
|
/// </summary>
|
|
[MaxLength(250)]
|
|
public string Description { get; set; } = "";
|
|
|
|
/// <summary>
|
|
/// Indica se un evento sia generato dalla amcchina (HW) vs generato da utente (SW)
|
|
/// </summary>
|
|
public bool IsHw { get; set; } = false;
|
|
|
|
#endregion Public Properties
|
|
}
|
|
}
|