47 lines
1.3 KiB
C#
47 lines
1.3 KiB
C#
using System;
|
|
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
|
|
{
|
|
public partial class StatsODL
|
|
{
|
|
#region Public Properties
|
|
|
|
public string CodArticolo { get; set; } = "";
|
|
public string CodArticoloParent { get; set; }
|
|
public DateTime? DataFine { get; set; }
|
|
public DateTime? DataInizio { get; set; }
|
|
public string DescArticolo { get; set; } = "";
|
|
public DateTime? DueDate { get; set; }
|
|
public string IdxMacchina { get; set; }
|
|
public int IdxOdl { get; set; }
|
|
public string KeyRichiesta { get; set; }
|
|
public string KeyRichiestaParent { get; set; }
|
|
public int NumPezzi { get; set; }
|
|
public int NumPezziEv { get; set; }
|
|
public int NumPezziRil { get; set; }
|
|
public int NumPezziSca { get; set; }
|
|
public int? PzPallet { get; set; }
|
|
public decimal Tcassegnato { get; set; }
|
|
|
|
[NotMapped]
|
|
public int TotCicli
|
|
{
|
|
get => NumPezziEv + NumPezziSca;
|
|
}
|
|
|
|
[NotMapped]
|
|
public int NumPezziScaNet
|
|
{
|
|
get => NumPezziSca - NumPezziRil;
|
|
}
|
|
|
|
|
|
#endregion Public Properties
|
|
}
|
|
} |