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("RegistroRichieste")] public partial class RegRichiesteModel { [Key, DatabaseGenerated(DatabaseGeneratedOption.Identity)] public int IdxRegRich { get; set; } public int IdxDipendente { get; set; } public string CodGiust { get; set; } = ""; public DateTime DtStart { get; set; } = DateTime.Today.AddHours(9); public DateTime DtEnd { get; set; } = DateTime.Today.AddHours(17); public string Note { get; set; } = ""; public bool Conf { get; set; } = false; /// /// Navigation property to Dipendente /// [ForeignKey("IdxDipendente")] public virtual DipendentiModel? DipNav { get; set; } } }