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("RegistroMalattie")] public partial class RegMalattieModel { [Key, DatabaseGenerated(DatabaseGeneratedOption.Identity)] public int IdxRegMal { get; set; } public int IdxDipendente { get; set; } public DateTime DtInizio { get; set; } = DateTime.Today; public int NumGG { get; set; } = 1; public string CodCert { get; set; } = ""; public bool Conf { get; set; } = false; /// /// Navigation property to Dipendente /// [ForeignKey("IdxDipendente")] public virtual DipendentiModel DipNav { get; set; } = null!; } }