Files
lux/EgwCoreLib.Lux.Core/Generic/OdlAssignDto.cs
T
2026-01-22 15:26:29 +01:00

70 lines
1.9 KiB
C#

namespace EgwCoreLib.Lux.Core.Generic
{
public class OdlAssignDto
{
#region Public Properties
public int ProdODLID { get; set; } = 0;
/// <summary>
/// Codice calcolato (16 char)
/// - tipo (ODL.)
/// - anno (yyyy)
/// - id annuale (00000000x8)
/// es: "ODL.20250012AF
/// </summary>
public string OdlTag { get; set; } = "";
/// <summary>
/// Environment di riferimento
/// </summary>
public EgwMultiEngineManager.Data.Constants.EXECENVIRONMENTS Envir { get; set; } = EgwMultiEngineManager.Data.Constants.EXECENVIRONMENTS.WINDOW;
/// <summary>
/// BatchID di appartenenza
/// </summary>
public int? ProdBatchID { get; set; }
/// <summary>
/// Indice della fase all'interno del Job x produrre item
/// </summary>
public int Index { get; set; } = 0;
/// <summary>
/// ID della fase realizzata
/// </summary>
public int? PhaseID { get; set; }
/// <summary>
/// ID della risorsa impiegata
/// </summary>
public int? ResourceID { get; set; }
/// <summary>
/// Codice Plant
/// </summary>
public string ProdPlantCod { get; set; } = "";
/// <summary>
/// Descrizione della fase del Job
/// </summary>
public string Description { get; set; } = "";
/// <summary>
/// Margine percentuale standard
/// </summary>
public double Qty { get; set; } = 1;
/// <summary>
/// Tempo di lavorazione Stimato
/// </summary>
public decimal EstimTime { get; set; } = 0;
/// <summary>
/// Elenco Items "appiattito"
/// </summary>
public List<ItemAssignDto> ItemList { get; set; } = new List<ItemAssignDto>();
#endregion Public Properties
}
}