Files
mapo-core/MP.Data/DatabaseModels/DiarioDiBordoModel.cs
T
2023-10-06 18:53:20 +02:00

47 lines
1.5 KiB
C#

using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
#nullable disable
// <Auto-Generated>
// This is here so CodeMaid doesn't reorganize this document
// </Auto-Generated>
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; } = "";
/// <summary>
/// Navigazione oggetto Machine
/// </summary>
[ForeignKey("IdxMacchina")]
public virtual Macchine MachineNav { get; set; } = null!;
/// <summary>
/// Navigazione oggetto Articolo
/// </summary>
[ForeignKey("CodArticolo")]
public virtual AnagArticoli ArticoloNav { get; set; } = null!;
#endregion Public Properties
}
}