Files

43 lines
1.2 KiB
C#

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