using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace EgtBEAMWALL.DataLayer.DatabaseModels { /// /// Tabella deiu raggruppamenti PROJ in forma di PROD /// [Table("ProdList")] public class ProdModel { #region Public Properties [Column("Prod_Description")] public string Description { get; set; } = ""; /// /// Stato locked (quando aperto da un dispositivo in rete) /// [Column("Prod_Lock")] public bool Locked { get; set; } = false; [Key, Column("ProdDbId"), DatabaseGenerated(DatabaseGeneratedOption.Identity)] public int ProdDbId { get; set; } [Column("ProdId")] public int ProdId { get; set; } #endregion Public Properties } }