using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
#nullable disable
//
// This is here so CodeMaid doesn't reorganize this document
//
namespace MP.Data.DatabaseModels
{
[Table("DiarioDiBordo")]
public partial class DiarioDiBordoModel
{
#region Public Properties
[MaxLength(50)]
public string IdxMacchina { get; set; } = "NA";
public DateTime InizioStato { get; set; } = DateTime.Now;
public DateTime? FineStato { get; set; } = DateTime.Now;
public int IdxStato { get; set; } = 0;
public double DurataMinuti { get; set; } = 0;
[MaxLength(50)]
public string Value { get; set; } = "";
[MaxLength(50)]
public string CodArticolo { get; set; } = "";
public double TempoCicloBase { get; set; } = 0;
public int PzPalletProd { get; set; } = 0;
public int MatrOpr { get; set; } = 0;
[MaxLength(20)]
public string pallet { get; set; } = "";
///
/// Navigazione oggetto Machine
///
[ForeignKey("IdxMacchina")]
public virtual Macchine MachineNav { get; set; } = null!;
///
/// Navigazione oggetto Articolo
///
[ForeignKey("CodArticolo")]
public virtual AnagArticoli ArticoloNav { get; set; } = null!;
#endregion Public Properties
}
}