using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations.Schema; using System.Data; namespace GPW.CORE.Data.DbModels { public partial class TeRaExplModel { public DateTime DataLav { get; set; } public int IdxDipendente { get; set; } public string CognomeNome { get; set; } = ""; public double h_lav { get; set; } = 0; public double h_giust { get; set; } = 0; public decimal h_com { get; set; } = 0; public string progetti { get; set; } = ""; public int okLAvCom { get; set; } = 0; public bool isOkTim { get; set; } = false; public bool isOkApp { get; set; } = false; public int isOkLav { get; set; } = 0; public int isOk { get; set; } = 0; public bool block { get; set; } = false; public int minOrd { get; set; } = 0; public int minNonLav { get; set; } = 0; public int minStra { get; set; } = 0; public int minPerm { get; set; } = 0; public int minFer { get; set; } = 0; public int minMal { get; set; } = 0; public int minFest { get; set; } = 0; public int minRegAtt { get; set; } = 0; public DateTime? entrata_1 { get; set; } public DateTime? uscita_1 { get; set; } public DateTime? entrata_2 { get; set; } public DateTime? uscita_2 { get; set; } public DateTime? entrata_3 { get; set; } public DateTime? uscita_3 { get; set; } public DateTime? entrata_4 { get; set; } public DateTime? uscita_4 { get; set; } public int minArcoPres { get; set; } = 0; public string chkFunCod { get; set; } = ""; public string chkFunRes { get; set; } = ""; public int minMpp { get; set; } = 0; public int minCassa { get; set; } = 0; public int min104 { get; set; } = 0; public decimal TempRil { get; set; } = 0; public bool TagIsActive { get; set; } = false; public string CodTag { get; set; } = ""; [NotMapped] public string UID { get => $"{IdxDipendente:000}_{DataLav:yyyyMMdd}"; } } }