using System; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; #nullable disable // // This is here so CodeMaid doesn't reorganize this document // namespace MP.Data.DbModels { public partial class DdbTurni { #region Public Properties public string ClasseTempo { get; set; } public string CodArticolo { get; set; } public string CodMacchina { get; set; } public DateTime DataRif { get; set; } public DateTime? DataTurnoFine { get; set; } public DateTime? DataTurnoInizio { get; set; } public string DescArticolo { get; set; } = ""; public string Descrizione { get; set; } [NotMapped] [DisplayFormat(DataFormatString = "{0:N2}", ApplyFormatInEditMode = true)] public long DurataMin { get { long answ = (long)(DurataStato != null ? DurataStato : 0); return answ / 60000; } } public long? DurataPeriodo { get; set; } public long? DurataStato { get; set; } public DateTime? FinePeriodo { get; set; } public DateTime FineStato { get; set; } public string IdxMacchina { get; set; } public int? IdxOdl { get; set; } public int IdxStato { get; set; } public DateTime InizioPeriodo { get; set; } public DateTime InizioStato { get; set; } public string KeyRichiesta { get; set; } public string Pallet { get; set; } public int? PzPalletProd { get; set; } public decimal? TempoCicloBase { get; set; } public int TotPzProd { get; set; } public string Turno { get; set; } #endregion Public Properties } }