Files
mapo-core/MP.Data/DbModels/DiarioDiBordoModel.cs
Samuele E. Locatelli 2d83e27d89 Modifica model macchine
2025-06-28 09:20:48 +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.DbModels
{
[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 MacchineModel MachineNav { get; set; } = null!;
/// <summary>
/// Navigazione oggetto Articolo
/// </summary>
[ForeignKey("CodArticolo")]
public virtual AnagArticoliModel ArticoloNav { get; set; } = null!;
#endregion Public Properties
}
}