35 lines
880 B
C#
35 lines
880 B
C#
using System.ComponentModel.DataAnnotations.Schema;
|
|
|
|
namespace EgwCoreLib.Lux.Core.Generic
|
|
{
|
|
/// <summary>
|
|
/// Record dettaglio lavorabilità di un ProdGroup x macchina
|
|
/// </summary>
|
|
public class ProdMachineDetailDto
|
|
{
|
|
/// <summary>
|
|
/// Numero di barre grezzi necessarie
|
|
/// </summary>
|
|
public int BarQty { get; set; } = 0;
|
|
|
|
/// <summary>
|
|
/// Elenco dei part tag assegnati
|
|
/// </summary>
|
|
public List<string> TagList { get; set; } = new();
|
|
|
|
/// <summary>
|
|
/// Tempo stimato per il gruppo di pezzi sul plant
|
|
/// </summary>
|
|
public decimal Time { get; set; } = 0;
|
|
|
|
/// <summary>
|
|
/// Conteggio delle parts assegnate
|
|
/// </summary>
|
|
[NotMapped]
|
|
public int NumParts
|
|
{
|
|
get => TagList.Count();
|
|
}
|
|
}
|
|
}
|