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 Stati /// [Table("Status")] public class StatusModel { #region Public Properties /// /// UID /// [Key] public string CodStatus { get; set; } = ""; /// /// Descrizione Stato /// [MaxLength(250)] public string Description { get; set; } = ""; /// /// Livello di priorità (vince il maggiore) /// public int Prior { get; set; } = 1; /// /// Classe css associata (default) /// [MaxLength(50)] public string CssClass { get; set; } = ""; /// /// Classe css associata (override): se non vuota usa questa /// [MaxLength(50)] public string CssClassOvr { get; set; } = ""; /// /// Gruppo di classificazione (default) /// [MaxLength(50)] public string Group { get; set; } = ""; /// /// Gruppo di classificazione (override): se non vuoto usa questo /// [MaxLength(50)] public string GroupOvr { get; set; } = ""; /// /// Indica se mostrare dettaglio item associato /// public bool ShowProdItem { get; set; } = true; #endregion Public Properties } }