using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; #nullable disable // // This is here so CodeMaid doesn't reorganize this document // namespace MP.Data.DatabaseModels { [Table("Macchine")] public partial class Macchine { #region Public Properties [Key] public string IdxMacchina { get; set; } /// /// Cod macchina /// public string CodMacchina { get; set; } = ""; /// /// Nome macchina /// public string Nome { get; set; } = ""; /// /// Descrizione macchina /// public string Descrizione { get; set; } = ""; /// /// Patch del file json di configurazione di una ricetta /// public string RecipePath { get; set; } = ""; /// /// Path (assoluto!) dell'archivio ricette da impiegare /// public string RecipeArchivePath { get; set; } = ""; /// /// Indica se abbia ricetta calcolata /// [NotMapped] public bool hasRecipeCalc { get => !string.IsNullOrEmpty(RecipePath); } /// /// Indica se abbia ricetta calcolata /// [NotMapped] public bool hasRecipeArch { get => !string.IsNullOrEmpty(RecipeArchivePath); } //public string Note { get; set; } = ""; //public string url { get; set; } = ""; //public string locazione { get; set; } = ""; //public string css { get; set; } = ""; //public int RowNum { get; set; } = 0; //public int ColNum { get; set; } = 0; #endregion Public Properties } }