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