using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace GPW.CORE.Data.DbModels { // // This is here so CodeMaid doesn't reorganize this document // [Table("AnagGruppi")] public partial class AnagGruppiModel { public AnagGruppiModel() { Dipendenti2GruppiNav = new HashSet(); } [Key] public string Gruppo { get; set; } = null!; public string? DescrGruppo { get; set; } public string? CodExt { get; set; } /// /// determina se sia abilitato x export dati /// public bool? ExportEnab { get; set; } /// /// Gestione stato attivo/disattivo /// [Column("isActive")] public bool? IsActive { get; set; } [NotMapped] public int NumDip { get => Dipendenti2GruppiNav.Count; } public virtual ICollection Dipendenti2GruppiNav { get; set; } } }