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
{
[Table("EventList")]
public partial class EventListModel
{
#region Public Properties
[MaxLength(50)]
public string IdxMacchina { get; set; } = "NA";
public DateTime? InizioStato { get; set; } = DateTime.Now;
public int IdxTipo { get; set; } = 0;
[MaxLength(50)]
public string CodArticolo { get; set; } = "";
[MaxLength(250)]
public string Value { get; set; } = "";
public int MatrOpr { get; set; } = 0;
[MaxLength(20)]
public string pallet { get; set; } = "";
///
/// Navigazione oggetto Machine
///
[ForeignKey("IdxMacchina")]
public virtual MacchineModel MachineNav { get; set; } = null!;
///
/// Navigazione oggetto Articolo
///
[ForeignKey("CodArticolo")]
public virtual AnagArticoliModel ArticoloNav { get; set; } = null!;
#endregion Public Properties
}
}