Files
laatzen/LaaProductionWeb/LaaProductionWeb.Services/Models/PalletsBatchModel.cs
T

28 lines
716 B
C#

namespace LaaProductionWeb.Services.Models
{
using System;
using System.Collections.Generic;
using System.Linq;
public class PalletsBatchModel
{
public string ClientName { get; set; }
public int OrderNr { get; set; }
public int ProductionOrderNr { get; set; }
public int TotlalItemsCount { get; set; }
public string AdditionalText { get; set; }
public int ItemsCount
=> this.Positions.Sum(x => x.ItemsCount);
public IEnumerable<SerialNr> Items { get; set; }
= Array.Empty<SerialNr>();
public IEnumerable<PalletPosition> Positions { get; set; }
= Array.Empty<PalletPosition>();
}
}